Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/clang.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-294129-28490/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iilqbpt9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iilqbpt9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1de30ed77b60463190b1735af35edab0', '-D', '/var/lib/mock/dist-ocs23-base-build-294129-28490/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iilqbpt9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/clang.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (11 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/clang-17.0.6-8.ocs23.src.rpm RPM build warnings: %patchN is deprecated (11 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/clang.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-294129-28490/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iilqbpt9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iilqbpt9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b27bb640680b4649b31683d438062021', '-D', '/var/lib/mock/dist-ocs23-base-build-294129-28490/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iilqbpt9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/clang.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (11 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.aWYNL1 + 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 . Patch #3000 (0001-clang-tools-extra-Make-test-dependency-on-LLVMHello-.patch): + echo '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 #3 (0003-Backport-LoongArch-fix-and-add-some-new-support.patch): + echo 'Patch #3 (0003-Backport-LoongArch-fix-and-add-some-new-support.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file lib/Driver/ToolChains/Clang.cpp Hunk #1 succeeded at 5663 (offset -110 lines). patching file test/Driver/mcmodel.c patching file include/clang/Basic/DiagnosticDriverKinds.td Hunk #1 succeeded at 738 (offset -19 lines). patching file include/clang/Driver/Options.td Hunk #1 succeeded at 4200 (offset -36 lines). patching file lib/Basic/Targets/LoongArch.cpp patching file lib/Driver/ToolChains/Arch/LoongArch.cpp patching file test/Driver/loongarch-msimd.c patching file test/Preprocessor/init-loongarch.c patching file test/Driver/loongarch-msimd.c patching file lib/Driver/ToolChains/Arch/LoongArch.cpp patching file lib/Driver/ToolChains/Arch/LoongArch.cpp patching file test/Driver/loongarch-default-features.c patching file test/Driver/loongarch-mlasx.c patching file test/Driver/loongarch-msimd.c patching file test/Driver/loongarch-msingle-float.c patching file test/Driver/loongarch-msoft-float.c patching file test/Preprocessor/init-loongarch.c patching file include/clang/Basic/BuiltinsLoongArchBase.def patching file include/clang/Basic/BuiltinsLoongArchLASX.def patching file include/clang/Basic/BuiltinsLoongArchLSX.def patching file lib/Headers/larchintrin.h patching file lib/Headers/lasxintrin.h patching file lib/Headers/lsxintrin.h patching file test/CodeGen/LoongArch/builtin-dbl-approximate.c patching file test/CodeGen/LoongArch/builtin-flt-approximate.c patching file test/CodeGen/LoongArch/intrinsic-la64-error.c patching file test/CodeGen/LoongArch/lasx/builtin-approximate-alias.c patching file test/CodeGen/LoongArch/lasx/builtin-approximate.c patching file test/CodeGen/LoongArch/lsx/builtin-approximate-alias.c patching file test/CodeGen/LoongArch/lsx/builtin-approximate.c 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-march.c patching file test/Preprocessor/init-loongarch.c patching file test/Driver/loongarch-march.c patching file test/Driver/loongarch-mtune.c patching file test/Preprocessor/init-loongarch.c patching file test/Preprocessor/init-loongarch.c Patch #3001 (0010-PATCH-clang-Produce-DWARF4-by-default.patch): + echo 'Patch #3001 (0010-PATCH-clang-Produce-DWARF4-by-default.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file lib/Driver/ToolChain.cpp patching file test/CodeGen/dwarf-version.c patching file test/Driver/as-options.s patching file test/Driver/cl-options.c Hunk #1 succeeded at 575 (offset 6 lines). patching file test/Driver/clang-g-opts.c patching file test/Driver/ve-toolchain.c patching file test/Driver/ve-toolchain.cpp Patch #3002 (0003-PATCH-clang-Don-t-install-static-libraries.patch): + echo 'Patch #3002 (0003-PATCH-clang-Don-t-install-static-libraries.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file cmake/modules/AddClang.cmake Hunk #1 succeeded at 114 (offset 1 line). Patch #3003 (cfg.patch): + echo 'Patch #3003 (cfg.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file include/clang/Analysis/CFG.h patching file lib/Analysis/CFG.cpp Hunk #2 succeeded at 1325 (offset -25 lines). Hunk #3 succeeded at 1841 (offset -25 lines). Hunk #4 succeeded at 1859 (offset -25 lines). Hunk #5 succeeded at 1871 (offset -25 lines). Hunk #6 succeeded at 1905 (offset -25 lines). Hunk #7 succeeded at 2078 (offset -25 lines). Hunk #8 succeeded at 2136 (offset -25 lines). Hunk #9 succeeded at 5275 (offset -24 lines). Hunk #10 succeeded at 5819 (offset -24 lines). patching file lib/Analysis/PathDiagnostic.cpp Hunk #1 succeeded at 565 (offset -2 lines). patching file lib/StaticAnalyzer/Core/ExprEngine.cpp patching file test/Analysis/scopes-cfg-output.cpp Patch #3004 (tsa.patch): + echo 'Patch #3004 (tsa.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file include/clang/Analysis/Analyses/ThreadSafetyCommon.h patching file lib/Analysis/ThreadSafety.cpp Hunk #2 succeeded at 2415 (offset -3 lines). patching file lib/Analysis/ThreadSafetyCommon.cpp patching file test/Sema/warn-thread-safety-analysis.c Patch #3005 (0009-disable-recommonmark.patch): + echo 'Patch #3005 (0009-disable-recommonmark.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file docs/conf.py 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.fSoU27 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd clang-17.0.6.src + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B aarch64-OpenCloudOS-linux-gnu -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -G Ninja -DLLVM_PARALLEL_LINK_JOBS=1 -DLLVM_LINK_LLVM_DYLIB:BOOL=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPYTHON_EXECUTABLE=/usr/bin/python3 -DCMAKE_SKIP_RPATH:BOOL=ON -DCLANG_INCLUDE_TESTS:BOOL=ON -DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR=../clang-tools-extra-17.0.6.src -DLLVM_EXTERNAL_LIT=/usr/bin/lit -DLLVM_MAIN_SRC_DIR=/usr/share/llvm/src -DLLVM_LIBDIR_SUFFIX=64 -DLLVM_TABLEGEN_EXE:FILEPATH=/usr/bin/llvm-tblgen -DLLVM_COMMON_CMAKE_UTILS=/usr/share/llvm/cmake -DCLANG_ENABLE_ARCMT:BOOL=ON -DCLANG_ENABLE_STATIC_ANALYZER:BOOL=ON -DCLANG_INCLUDE_DOCS:BOOL=ON -DCLANG_PLUGIN_SUPPORT:BOOL=ON -DENABLE_LINKER_BUILD_ID:BOOL=ON -DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_RTTI=ON -DPPC_LINUX_DEFAULT_IEEELONGDOUBLE=ON -DCLANG_LINK_CLANG_DYLIB=ON -DLLVM_ENABLE_NEW_PASS_MANAGER=ON -DLLVM_ENABLE_SPHINX=ON -DSPHINX_WARNINGS_AS_ERRORS=OFF -DLLVM_BUILD_DOCS=ON -DCLANG_BUILD_EXAMPLES:BOOL=OFF -DBUILD_SHARED_LIBS=OFF '-DCLANG_REPOSITORY_STRING=OpenCloudOS 17.0.6-8.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.8s) -- 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/aarch64-OpenCloudOS-linux-gnu + /usr/bin/cmake --build aarch64-OpenCloudOS-linux-gnu -j32 --verbose [1/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_builtin_vars.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_builtin_vars.h [2/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_cmath.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_cmath.h [3/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_device_functions.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_device_functions.h [4/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_intrinsics.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_intrinsics.h [5/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_complex_builtins.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_complex_builtins.h [6/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_libdevice_declares.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_libdevice_declares.h [7/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_math.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_math.h [8/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_math_forward_declares.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_math_forward_declares.h [9/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_runtime_wrapper.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_runtime_wrapper.h [10/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_texture_intrinsics.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_texture_intrinsics.h [11/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_hip_cmath.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_hip_cmath.h [12/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_hip_math.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_hip_math.h [13/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_hip_runtime_wrapper.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_hip_runtime_wrapper.h [14/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_hip_stdlib.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_hip_stdlib.h [15/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__wmmintrin_aes.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__wmmintrin_aes.h [16/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__wmmintrin_pclmul.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__wmmintrin_pclmul.h [17/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/adxintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/adxintrin.h [18/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_hip_libdevice_declares.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_hip_libdevice_declares.h [19/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ammintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ammintrin.h [20/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/amxcomplexintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/amxcomplexintrin.h [21/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/amxfp16intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/amxfp16intrin.h [22/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/amxintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/amxintrin.h [23/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/altivec.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/altivec.h [24/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx2intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx2intrin.h [25/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512bf16intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512bf16intrin.h [26/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512bitalgintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512bitalgintrin.h [27/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512bwintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512bwintrin.h [28/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512cdintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512cdintrin.h [29/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512dqintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512dqintrin.h [30/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512fintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512fintrin.h [31/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512erintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512erintrin.h [32/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512ifmaintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512ifmaintrin.h [33/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512ifmavlintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512ifmavlintrin.h [34/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512fp16intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512fp16intrin.h [35/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vbmivlintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vbmivlintrin.h [36/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512pfintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512pfintrin.h [37/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vbmiintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vbmiintrin.h [38/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vbmi2intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vbmi2intrin.h [39/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlbf16intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlbf16intrin.h [40/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlcdintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlcdintrin.h [41/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlbitalgintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlbitalgintrin.h [42/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlbwintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlbwintrin.h [43/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vldqintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vldqintrin.h [44/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlfp16intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlfp16intrin.h [45/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlintrin.h [46/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /usr/bin/llvm-tblgen -gen-opt-parser-defs -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Driver/Options.td --write-if-changed -o include/clang/Driver/Options.inc -d include/clang/Driver/Options.inc.d [47/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlvbmi2intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlvbmi2intrin.h [48/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlvnniintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlvnniintrin.h [49/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlvp2intersectintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlvp2intersectintrin.h [50/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vp2intersectintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vp2intersectintrin.h [51/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vnniintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vnniintrin.h [52/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vpopcntdqintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vpopcntdqintrin.h [53/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vpopcntdqvlintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vpopcntdqvlintrin.h [54/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avxifmaintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxifmaintrin.h [55/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avxintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxintrin.h [56/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avxneconvertintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxneconvertintrin.h [57/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avxvnniint8intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxvnniint8intrin.h [58/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/bmi2intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/bmi2intrin.h [59/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avxvnniint16intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxvnniint16intrin.h [60/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avxvnniintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxvnniintrin.h [61/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cet.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cet.h [62/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cldemoteintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cldemoteintrin.h [63/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/clflushoptintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/clflushoptintrin.h [64/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/bmiintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/bmiintrin.h [65/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/builtins.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/builtins.h [66/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cetintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cetintrin.h [67/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/clwbintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/clwbintrin.h [68/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/clzerointrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/clzerointrin.h [69/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cpuid.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cpuid.h [70/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cmpccxaddintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cmpccxaddintrin.h [71/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/crc32intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/crc32intrin.h [72/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cuda_wrappers/algorithm /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/algorithm [73/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cuda_wrappers/bits/basic_string.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/bits/basic_string.h [74/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cuda_wrappers/bits/basic_string.tcc /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/bits/basic_string.tcc [75/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cuda_wrappers/bits/shared_ptr_base.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/bits/shared_ptr_base.h [76/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cuda_wrappers/cmath /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/cmath [77/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cuda_wrappers/complex /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/complex [78/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cuda_wrappers/new /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/new [79/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/emmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/emmintrin.h [80/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/enqcmdintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/enqcmdintrin.h [81/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/f16cintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/f16cintrin.h [82/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/fma4intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/fma4intrin.h [83/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/fmaintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/fmaintrin.h [84/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/fxsrintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/fxsrintrin.h [85/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/gfniintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/gfniintrin.h [86/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/hexagon_protos.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hexagon_protos.h [87/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/hexagon_types.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hexagon_types.h [88/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/hlsl.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hlsl.h [89/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/hexagon_circ_brev_intrinsics.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hexagon_circ_brev_intrinsics.h [90/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/hresetintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hresetintrin.h [91/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/htmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/htmintrin.h [92/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/htmxlintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/htmxlintrin.h [93/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/hvx_hexagon_protos.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hvx_hexagon_protos.h [94/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ia32intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ia32intrin.h [95/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/immintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/immintrin.h [96/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/intrin.h [97/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/invpcidintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/invpcidintrin.h [98/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/larchintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/larchintrin.h [99/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/keylockerintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/keylockerintrin.h [100/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/lasxintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/lasxintrin.h [101/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/llvm_libc_wrappers/stdio.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/llvm_libc_wrappers/stdio.h [102/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/lsxintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/lsxintrin.h [103/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/lwpintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/lwpintrin.h [104/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/lzcntintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/lzcntintrin.h [105/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/mm3dnow.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/mm3dnow.h [106/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/mm_malloc.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/mm_malloc.h [107/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/movdirintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/movdirintrin.h [108/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/mmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/mmintrin.h [109/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/msa.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/msa.h [110/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/mwaitxintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/mwaitxintrin.h [111/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/nmmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/nmmintrin.h [112/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/opencl-c.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/opencl-c.h [113/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/openmp_wrappers/math.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/math.h [114/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/pconfigintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/pconfigintrin.h [115/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/pkuintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/pkuintrin.h [116/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/pmmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/pmmintrin.h [117/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/popcntintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/popcntintrin.h [118/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/bmi2intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/bmi2intrin.h [119/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/bmiintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/bmiintrin.h [120/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/emmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/emmintrin.h [121/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/mm_malloc.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/mm_malloc.h [122/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/immintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/immintrin.h [123/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/mmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/mmintrin.h [124/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/smmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/smmintrin.h [125/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/pmmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/pmmintrin.h [126/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/x86gprintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/x86gprintrin.h [127/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/x86intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/x86intrin.h [128/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/xmmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/xmmintrin.h [129/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/prfchwintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/prfchwintrin.h [130/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/prfchiintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/prfchiintrin.h [131/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ptwriteintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ptwriteintrin.h [132/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/tmmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/tmmintrin.h [133/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/raointintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/raointintrin.h [134/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/rdpruintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/rdpruintrin.h [135/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/rdseedintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/rdseedintrin.h [136/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/rtmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/rtmintrin.h [137/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/s390intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/s390intrin.h [138/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/serializeintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/serializeintrin.h [139/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/sgxintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/sgxintrin.h [140/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/sha512intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/sha512intrin.h [141/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/shaintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/shaintrin.h [142/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/sm3intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/sm3intrin.h [143/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/sm4intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/sm4intrin.h [144/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/smmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/smmintrin.h [145/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/tbmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/tbmintrin.h [146/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/tmmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/tmmintrin.h [147/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/tsxldtrkintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/tsxldtrkintrin.h [148/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/uintrintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/uintrintrin.h [149/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/vaesintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/vaesintrin.h [150/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/vecintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/vecintrin.h [151/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/velintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/velintrin.h [152/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/velintrin_approx.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/velintrin_approx.h [153/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/velintrin_gen.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/velintrin_gen.h [154/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/vpclmulqdqintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/vpclmulqdqintrin.h [155/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/waitpkgintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/waitpkgintrin.h [156/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/wasm_simd128.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/wasm_simd128.h [157/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/wbnoinvdintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/wbnoinvdintrin.h [158/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/wmmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/wmmintrin.h [159/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/x86gprintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/x86gprintrin.h [160/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/x86intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/x86intrin.h [161/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/xmmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xmmintrin.h [162/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/xopintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xopintrin.h [163/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/xsavecintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xsavecintrin.h [164/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/xsaveintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xsaveintrin.h [165/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/xsaveoptintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xsaveoptintrin.h [166/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/xsavesintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xsavesintrin.h [167/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/xtestintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xtestintrin.h [168/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/SampleAnalyzer && /usr/bin/python3.11 -c "import sys; lines = [' ' + l.rstrip() for l in sys.stdin] + [' local: *;']; print('LLVM_17 {'); print(' global:') if len(lines) > 1 else None; print(';\\n'.join(lines) + '\\n};')" < /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/SampleAnalyzer/SampleAnalyzerPlugin.exports > SampleAnalyzerPlugin.exports [169/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/CheckerDependencyHandling && /usr/bin/python3.11 -c "import sys; lines = [' ' + l.rstrip() for l in sys.stdin] + [' local: *;']; print('LLVM_17 {'); print(' global:') if len(lines) > 1 else None; print(';\\n'.join(lines) + '\\n};')" < /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/CheckerDependencyHandling/CheckerDependencyHandlingAnalyzerPlugin.exports > CheckerDependencyHandlingAnalyzerPlugin.exports [170/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/ [171/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/libexec/c++-analyzer /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec/ [172/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/man/man1 && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/man/scan-build.1 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/man/man1/ [173/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/CheckerOptionHandling && /usr/bin/python3.11 -c "import sys; lines = [' ' + l.rstrip() for l in sys.stdin] + [' local: *;']; print('LLVM_17 {'); print(' global:') if len(lines) > 1 else None; print(';\\n'.join(lines) + '\\n};')" < /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/CheckerOptionHandling/CheckerOptionHandlingAnalyzerPlugin.exports > CheckerOptionHandlingAnalyzerPlugin.exports [174/2015] cd /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive && /usr/bin/python3.11 /builddir/build/BUILD/clang-17.0.6.src/utils/bundle_resources.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive/HTMLLogger.inc HTMLLogger.html HTMLLogger.css HTMLLogger.js [175/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/libexec/ccc-analyzer /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec/ [176/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-build && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/share/scan-build/sorttable.js /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-build/ [177/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-build && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/share/scan-build/scanview.css /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-build/ [178/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/bin/scan-build /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/scan-build-py [179/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/bin/intercept-build /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/ [180/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/bin/analyze-build /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/ [181/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/arguments.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [182/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libear && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libear/__init__.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libear/ [183/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/clang.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [184/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/report.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [185/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libear && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libear/config.h.in /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libear/ [186/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/__init__.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [187/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libear && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libear/ear.c /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libear/ [188/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/intercept.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [189/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/analyze.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [190/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/compilation.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [191/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/libexec/analyze-c++ /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec/ [192/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/libexec/intercept-c++ /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec/ [193/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/libexec/analyze-cc /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec/ [194/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/libexec/intercept-cc /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec/ [195/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-view && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-view/bin/scan-view /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/ [196/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/resources && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/resources/selectable.js /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/resources [197/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-view && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-view && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-view/share/bugcatcher.ico /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-view/ [198/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/resources && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/resources/scanview.css /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/resources [199/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-view && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-view && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-view/share/Reporter.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-view/ [200/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/shell.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [201/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/resources && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/resources/sorttable.js /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/resources [202/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-view && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-view && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-view/share/ScanView.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-view/ [203/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-view && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-view && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-view/share/startfile.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-view/ [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/aarch64-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/aarch64-OpenCloudOS-linux-gnu/docs && /usr/bin/cmake -E copy_directory /builddir/build/BUILD/clang-17.0.6.src/docs /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/docs/../CodeOwners.rst /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs [206/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDataCollectorsEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDataCollectorsEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDataCollectorsEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangDataCollectorsEmitter.cpp [207/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc/ConfusableTable -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/ConfusableTable -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/ConfusableTable/CMakeFiles/clang-tidy-confusable-chars-gen.dir/BuildConfusableTable.cpp.o -MF tools/extra/clang-tidy/misc/ConfusableTable/CMakeFiles/clang-tidy-confusable-chars-gen.dir/BuildConfusableTable.cpp.o.d -o tools/extra/clang-tidy/misc/ConfusableTable/CMakeFiles/clang-tidy-confusable-chars-gen.dir/BuildConfusableTable.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/ConfusableTable/BuildConfusableTable.cpp [208/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ASTTableGen.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ASTTableGen.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ASTTableGen.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ASTTableGen.cpp [209/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangTypeNodesEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangTypeNodesEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangTypeNodesEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangTypeNodesEmitter.cpp [210/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp [211/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLTagsEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLTagsEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLTagsEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangCommentHTMLTagsEmitter.cpp [212/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentCommandInfoEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentCommandInfoEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentCommandInfoEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangCommentCommandInfoEmitter.cpp [213/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSACheckersEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSACheckersEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSACheckersEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangSACheckersEmitter.cpp [214/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTNodesEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTNodesEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTNodesEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangASTNodesEmitter.cpp [215/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/TableGen.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/TableGen.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/TableGen.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/TableGen.cpp [216/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpcodesEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpcodesEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpcodesEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangOpcodesEmitter.cpp [217/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-tidy/misc/ConfusableTable/CMakeFiles/clang-tidy-confusable-chars-gen.dir/BuildConfusableTable.cpp.o -o bin/clang-tidy-confusable-chars-gen /usr/lib64/libLLVM-17.so && : [218/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tidy-confusable-chars-gen /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/ConfusableTable/confusables.txt /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc/Confusables.inc [219/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSyntaxEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSyntaxEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSyntaxEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangSyntaxEmitter.cpp [220/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Support -I/builddir/build/BUILD/clang-17.0.6.src/lib/Support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o -MF lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o.d -o lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Support/RISCVVIntrinsicUtils.cpp [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-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTPropertiesEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTPropertiesEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTPropertiesEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangASTPropertiesEmitter.cpp [223/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOptionDocEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOptionDocEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOptionDocEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangOptionDocEmitter.cpp [224/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/RISCVVEmitter.cpp [225/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/SveEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/SveEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/SveEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/SveEmitter.cpp [226/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpenCLBuiltinEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpenCLBuiltinEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpenCLBuiltinEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp [227/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDiagnosticsEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDiagnosticsEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDiagnosticsEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangDiagnosticsEmitter.cpp [228/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/NeonEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/NeonEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/NeonEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/NeonEmitter.cpp [229/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/MveEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/MveEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/MveEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/MveEmitter.cpp [230/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangAttrEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangAttrEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangAttrEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangAttrEmitter.cpp [231/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ASTTableGen.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTNodesEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTPropertiesEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangAttrEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentCommandInfoEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLTagsEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDataCollectorsEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDiagnosticsEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpcodesEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpenCLBuiltinEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOptionDocEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSACheckersEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSyntaxEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangTypeNodesEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/MveEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/NeonEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/SveEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/TableGen.cpp.o -o bin/clang-tblgen /usr/lib64/libLLVMSupport.a /usr/lib64/libLLVMTableGen.a /usr/lib64/libLLVMSupport.a -lrt -ldl -lm /usr/lib64/libz.so /usr/lib64/libtinfo.so /usr/lib64/libLLVMDemangle.a && : [232/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-stmt-nodes -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/StmtNodes.td --write-if-changed -o include/clang/AST/StmtNodes.inc -d include/clang/AST/StmtNodes.inc.d [233/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-decl-nodes -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/DeclNodes.td --write-if-changed -o include/clang/AST/DeclNodes.inc -d include/clang/AST/DeclNodes.inc.d [234/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-type-nodes -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/TypeNodes.td --write-if-changed -o include/clang/AST/TypeNodes.inc -d include/clang/AST/TypeNodes.inc.d [235/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-comment-nodes -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/CommentNodes.td --write-if-changed -o include/clang/AST/CommentNodes.inc -d include/clang/AST/CommentNodes.inc.d [236/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-comment-html-tags -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/CommentHTMLTags.td --write-if-changed -o include/clang/AST/CommentHTMLTags.inc -d include/clang/AST/CommentHTMLTags.inc.d [237/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-comment-html-tags-properties -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/CommentHTMLTags.td --write-if-changed -o include/clang/AST/CommentHTMLTagsProperties.inc -d include/clang/AST/CommentHTMLTagsProperties.inc.d [238/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-basic-reader -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/PropertiesBase.td --write-if-changed -o include/clang/AST/AbstractBasicReader.inc -d include/clang/AST/AbstractBasicReader.inc.d [239/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-basic-writer -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/PropertiesBase.td --write-if-changed -o include/clang/AST/AbstractBasicWriter.inc -d include/clang/AST/AbstractBasicWriter.inc.d [240/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-comment-html-named-character-references -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/CommentHTMLNamedCharacterReferences.td --write-if-changed -o include/clang/AST/CommentHTMLNamedCharacterReferences.inc -d include/clang/AST/CommentHTMLNamedCharacterReferences.inc.d [241/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-comment-command-info -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/CommentCommands.td --write-if-changed -o include/clang/AST/CommentCommandInfo.inc -d include/clang/AST/CommentCommandInfo.inc.d [242/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-comment-command-list -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/CommentCommands.td --write-if-changed -o include/clang/AST/CommentCommandList.inc -d include/clang/AST/CommentCommandList.inc.d [243/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-data-collectors -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/StmtDataCollectors.td --write-if-changed -o include/clang/AST/StmtDataCollectors.inc -d include/clang/AST/StmtDataCollectors.inc.d [244/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-type-reader -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/TypeProperties.td --write-if-changed -o include/clang/AST/AbstractTypeReader.inc -d include/clang/AST/AbstractTypeReader.inc.d [245/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-type-writer -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/TypeProperties.td --write-if-changed -o include/clang/AST/AbstractTypeWriter.inc -d include/clang/AST/AbstractTypeWriter.inc.d [246/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-neon-sema -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_fp16.td --write-if-changed -o include/clang/Basic/arm_fp16.inc -d include/clang/Basic/arm_fp16.inc.d [247/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-text-node-dump -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/Attr.td --write-if-changed -o include/clang/AST/AttrTextNodeDump.inc -d include/clang/AST/AttrTextNodeDump.inc.d [248/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-node-traverse -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/Attr.td --write-if-changed -o include/clang/AST/AttrNodeTraverse.inc -d include/clang/AST/AttrNodeTraverse.inc.d [249/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-ast-visitor -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/Attr.td --write-if-changed -o include/clang/AST/AttrVisitor.inc -d include/clang/AST/AttrVisitor.inc.d [250/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-classes -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/Attr.td --write-if-changed -o include/clang/AST/Attrs.inc -d include/clang/AST/Attrs.inc.d [251/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-subject-match-rule-list -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Attr.td --write-if-changed -o include/clang/Basic/AttrSubMatchRulesList.inc -d include/clang/Basic/AttrSubMatchRulesList.inc.d [252/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-impl -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/Attr.td --write-if-changed -o include/clang/AST/AttrImpl.inc -d include/clang/AST/AttrImpl.inc.d [253/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-list -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Attr.td --write-if-changed -o include/clang/Basic/AttrList.inc -d include/clang/Basic/AttrList.inc.d [254/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-token-kinds -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Attr.td --write-if-changed -o include/clang/Basic/AttrTokenKinds.inc -d include/clang/Basic/AttrTokenKinds.inc.d [255/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sme-builtins -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sme.td --write-if-changed -o include/clang/Basic/arm_sme_builtins.inc -d include/clang/Basic/arm_sme_builtins.inc.d [256/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sme-builtin-codegen -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sme.td --write-if-changed -o include/clang/Basic/arm_sme_builtin_cg.inc -d include/clang/Basic/arm_sme_builtin_cg.inc.d [257/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-has-attribute-impl -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Attr.td --write-if-changed -o include/clang/Basic/AttrHasAttributeImpl.inc -d include/clang/Basic/AttrHasAttributeImpl.inc.d [258/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sve-typeflags -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sve.td --write-if-changed -o include/clang/Basic/arm_sve_typeflags.inc -d include/clang/Basic/arm_sve_typeflags.inc.d [259/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sme-sema-rangechecks -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sme.td --write-if-changed -o include/clang/Basic/arm_sme_sema_rangechecks.inc -d include/clang/Basic/arm_sme_sema_rangechecks.inc.d [260/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-cde-builtin-def -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_cde.td --write-if-changed -o include/clang/Basic/arm_cde_builtins.inc -d include/clang/Basic/arm_cde_builtins.inc.d [261/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-cde-builtin-codegen -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_cde.td --write-if-changed -o include/clang/Basic/arm_cde_builtin_cg.inc -d include/clang/Basic/arm_cde_builtin_cg.inc.d [262/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-cde-builtin-sema -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_cde.td --write-if-changed -o include/clang/Basic/arm_cde_builtin_sema.inc -d include/clang/Basic/arm_cde_builtin_sema.inc.d [263/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-neon-sema -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_neon.td --write-if-changed -o include/clang/Basic/arm_neon.inc -d include/clang/Basic/arm_neon.inc.d [264/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-cde-builtin-aliases -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_cde.td --write-if-changed -o include/clang/Basic/arm_cde_builtin_aliases.inc -d include/clang/Basic/arm_cde_builtin_aliases.inc.d [265/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-riscv-sifive-vector-builtins -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/riscv_sifive_vector.td --write-if-changed -o include/clang/Basic/riscv_sifive_vector_builtins.inc -d include/clang/Basic/riscv_sifive_vector_builtins.inc.d [266/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-riscv-sifive-vector-builtin-codegen -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/riscv_sifive_vector.td --write-if-changed -o include/clang/Basic/riscv_sifive_vector_builtin_cg.inc -d include/clang/Basic/riscv_sifive_vector_builtin_cg.inc.d [267/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-riscv-sifive-vector-builtin-sema -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/riscv_sifive_vector.td --write-if-changed -o include/clang/Basic/riscv_sifive_vector_builtin_sema.inc -d include/clang/Basic/riscv_sifive_vector_builtin_sema.inc.d [268/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-mve-builtin-def -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_mve.td --write-if-changed -o include/clang/Basic/arm_mve_builtins.inc -d include/clang/Basic/arm_mve_builtins.inc.d [269/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-mve-builtin-sema -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_mve.td --write-if-changed -o include/clang/Basic/arm_mve_builtin_sema.inc -d include/clang/Basic/arm_mve_builtin_sema.inc.d [270/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-mve-builtin-aliases -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_mve.td --write-if-changed -o include/clang/Basic/arm_mve_builtin_aliases.inc -d include/clang/Basic/arm_mve_builtin_aliases.inc.d [271/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-parser-string-switches -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Parse/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Parse/../Basic/Attr.td --write-if-changed -o include/clang/Parse/AttrParserStringSwitches.inc -d include/clang/Parse/AttrParserStringSwitches.inc.d [272/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-subject-match-rules-parser-string-switches -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Parse/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Parse/../Basic/Attr.td --write-if-changed -o include/clang/Parse/AttrSubMatchRulesParserStringSwitches.inc -d include/clang/Parse/AttrSubMatchRulesParserStringSwitches.inc.d [273/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-template-instantiate -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../Basic/Attr.td --write-if-changed -o include/clang/Sema/AttrTemplateInstantiate.inc -d include/clang/Sema/AttrTemplateInstantiate.inc.d [274/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-parsed-attr-list -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../Basic/Attr.td --write-if-changed -o include/clang/Sema/AttrParsedAttrList.inc -d include/clang/Sema/AttrParsedAttrList.inc.d [275/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-index-name -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticIndexName.inc -d include/clang/Basic/DiagnosticIndexName.inc.d [276/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-parsed-attr-kinds -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../Basic/Attr.td --write-if-changed -o include/clang/Sema/AttrParsedAttrKinds.inc -d include/clang/Sema/AttrParsedAttrKinds.inc.d [277/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-spelling-index -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../Basic/Attr.td --write-if-changed -o include/clang/Sema/AttrSpellingListIndex.inc -d include/clang/Sema/AttrSpellingListIndex.inc.d [278/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-syntax-node-list -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Tooling/Syntax/Nodes.td --write-if-changed -o include/clang/Tooling/Syntax/Nodes.inc -d include/clang/Tooling/Syntax/Nodes.inc.d [279/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-syntax-node-classes -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Tooling/Syntax/Nodes.td --write-if-changed -o include/clang/Tooling/Syntax/NodeClasses.inc -d include/clang/Tooling/Syntax/NodeClasses.inc.d [280/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-pch-read -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Serialization/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Serialization/../Basic/Attr.td --write-if-changed -o include/clang/Serialization/AttrPCHRead.inc -d include/clang/Serialization/AttrPCHRead.inc.d [281/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-pch-write -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Serialization/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Serialization/../Basic/Attr.td --write-if-changed -o include/clang/Serialization/AttrPCHWrite.inc -d include/clang/Serialization/AttrPCHWrite.inc.d [282/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-sa-checkers -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Checkers/Checkers.td --write-if-changed -o include/clang/StaticAnalyzer/Checkers/Checkers.inc -d include/clang/StaticAnalyzer/Checkers/Checkers.inc.d [283/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/arm64intr.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm64intr.h [284/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/arm_acle.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_acle.h [285/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/arm_cmse.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_cmse.h [286/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-bf16 -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/Headers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_bf16.td --write-if-changed -o lib/Headers/arm_bf16.h -d lib/Headers/arm_bf16.h.d [287/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-fp16 -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/Headers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_fp16.td --write-if-changed -o lib/Headers/arm_fp16.h -d lib/Headers/arm_fp16.h.d [288/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Comment -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticCommentKinds.inc -d include/clang/Basic/DiagnosticCommentKinds.inc.d [289/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-mve-builtin-codegen -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_mve.td --write-if-changed -o include/clang/Basic/arm_mve_builtin_cg.inc -d include/clang/Basic/arm_mve_builtin_cg.inc.d [290/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-cde-header -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/Headers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_cde.td --write-if-changed -o lib/Headers/arm_cde.h -d lib/Headers/arm_cde.h.d [291/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/arm_neon_sve_bridge.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_neon_sve_bridge.h [292/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/armintr.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/armintr.h [293/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Frontend -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticFrontendKinds.inc -d include/clang/Basic/DiagnosticFrontendKinds.inc.d [294/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=CrossTU -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticCrossTUKinds.inc -d include/clang/Basic/DiagnosticCrossTUKinds.inc.d [295/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/riscv_ntlh.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/riscv_ntlh.h [296/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Lex -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticLexKinds.inc -d include/clang/Basic/DiagnosticLexKinds.inc.d [297/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Analysis -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticAnalysisKinds.inc -d include/clang/Basic/DiagnosticAnalysisKinds.inc.d [298/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Driver -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticDriverKinds.inc -d include/clang/Basic/DiagnosticDriverKinds.inc.d [299/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Parse -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticParseKinds.inc -d include/clang/Basic/DiagnosticParseKinds.inc.d [300/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diag-groups -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticGroups.inc -d include/clang/Basic/DiagnosticGroups.inc.d [301/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=AST -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticASTKinds.inc -d include/clang/Basic/DiagnosticASTKinds.inc.d [302/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Serialization -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticSerializationKinds.inc -d include/clang/Basic/DiagnosticSerializationKinds.inc.d [303/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Common -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticCommonKinds.inc -d include/clang/Basic/DiagnosticCommonKinds.inc.d [304/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Refactoring -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticRefactoringKinds.inc -d include/clang/Basic/DiagnosticRefactoringKinds.inc.d [305/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-parsed-attr-impl -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../Basic/Attr.td --write-if-changed -o include/clang/Sema/AttrParsedAttrImpl.inc -d include/clang/Sema/AttrParsedAttrImpl.inc.d [306/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sme-header -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/Headers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sme.td --write-if-changed -o lib/Headers/arm_sme_draft_spec_subject_to_change.h -d lib/Headers/arm_sme_draft_spec_subject_to_change.h.d [307/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Sema -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticSemaKinds.inc -d include/clang/Basic/DiagnosticSemaKinds.inc.d [308/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-riscv-vector-header -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/Headers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/riscv_vector.td --write-if-changed -o lib/Headers/riscv_vector.h -d lib/Headers/riscv_vector.h.d [309/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-mve-header -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/Headers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_mve.td --write-if-changed -o lib/Headers/arm_mve.h -d lib/Headers/arm_mve.h.d [310/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sve-header -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/Headers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sve.td --write-if-changed -o lib/Headers/arm_sve.h -d lib/Headers/arm_sve.h.d [311/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sve-builtin-codegen -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sve.td --write-if-changed -o include/clang/Basic/arm_sve_builtin_cg.inc -d include/clang/Basic/arm_sve_builtin_cg.inc.d [312/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sve-builtins -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sve.td --write-if-changed -o include/clang/Basic/arm_sve_builtins.inc -d include/clang/Basic/arm_sve_builtins.inc.d [313/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sve-sema-rangechecks -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sve.td --write-if-changed -o include/clang/Basic/arm_sve_sema_rangechecks.inc -d include/clang/Basic/arm_sve_sema_rangechecks.inc.d [314/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-riscv-vector-builtins -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/riscv_vector.td --write-if-changed -o include/clang/Basic/riscv_vector_builtins.inc -d include/clang/Basic/riscv_vector_builtins.inc.d [315/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-riscv-vector-builtin-sema -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/riscv_vector.td --write-if-changed -o include/clang/Basic/riscv_vector_builtin_sema.inc -d include/clang/Basic/riscv_vector_builtin_sema.inc.d [316/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-riscv-vector-builtin-codegen -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/riscv_vector.td --write-if-changed -o include/clang/Basic/riscv_vector_builtin_cg.inc -d include/clang/Basic/riscv_vector_builtin_cg.inc.d [317/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-neon -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/Headers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_neon.td --write-if-changed -o lib/Headers/arm_neon.h -d lib/Headers/arm_neon.h.d [318/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic && /usr/bin/cmake -DNAMES="LLVM;CLANG" -DLLVM_SOURCE_DIR= -DCLANG_SOURCE_DIR= -DCLANG_VC_REPOSITORY= -DCLANG_VC_REVISION= -DHEADER_FILE=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic/VCSVersion.inc -DLLVM_VC_REPOSITORY= -DLLVM_VC_REVISION= -P /usr/lib64/cmake/llvm/GenerateVersionFromVCS.cmake [319/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__stddef_max_align_t.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__stddef_max_align_t.h [320/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_bf16.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_bf16.h [321/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_cde.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_cde.h [322/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_fp16.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_fp16.h [323/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_mve.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_mve.h [324/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_neon.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_neon.h [325/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_sme_draft_spec_subject_to_change.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_sme_draft_spec_subject_to_change.h [326/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/float.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/float.h [327/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_sve.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_sve.h [328/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/hlsl/hlsl_basic_types.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hlsl/hlsl_basic_types.h [329/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/inttypes.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/inttypes.h [330/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/hlsl/hlsl_intrinsics.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hlsl/hlsl_intrinsics.h [331/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/iso646.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/iso646.h [332/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/limits.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/limits.h [333/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/llvm_libc_wrappers/ctype.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/llvm_libc_wrappers/ctype.h [334/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/llvm_libc_wrappers/stdlib.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/llvm_libc_wrappers/stdlib.h [335/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/llvm_libc_wrappers/inttypes.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/llvm_libc_wrappers/inttypes.h [336/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/llvm_libc_wrappers/string.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/llvm_libc_wrappers/string.h [337/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/module.modulemap /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/module.modulemap [338/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/opencl-c-base.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/opencl-c-base.h [339/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/openmp_wrappers/__clang_openmp_device_functions.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/__clang_openmp_device_functions.h [340/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/openmp_wrappers/cmath /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/cmath [341/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/openmp_wrappers/complex /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/complex [342/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/openmp_wrappers/complex.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/complex.h [343/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/openmp_wrappers/complex_cmath.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/complex_cmath.h [344/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/openmp_wrappers/new /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/new [345/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers/riscv_vector.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/riscv_vector.h [346/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/sifive_vector.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/sifive_vector.h [347/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/stdalign.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdalign.h [348/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/stdarg.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdarg.h [349/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/stdatomic.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdatomic.h [350/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/stdbool.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdbool.h [351/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/stddef.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stddef.h [352/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/stdint.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdint.h [353/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/stdnoreturn.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdnoreturn.h [354/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/tgmath.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/tgmath.h [355/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/unwind.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/unwind.h [356/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/vadefs.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/vadefs.h [357/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/varargs.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/varargs.h [358/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/APINotes -I/builddir/build/BUILD/clang-17.0.6.src/lib/APINotes -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesTypes.cpp.o -MF lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesTypes.cpp.o.d -o lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesTypes.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/APINotes/APINotesTypes.cpp [359/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/CLWarnings.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/CLWarnings.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/CLWarnings.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/CLWarnings.cpp [360/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderMap.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderMap.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderMap.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/HeaderMap.cpp [361/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/CharInfo.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/CharInfo.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/CharInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/CharInfo.cpp [362/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/ScratchBuffer.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/ScratchBuffer.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/ScratchBuffer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/ScratchBuffer.cpp [363/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Cuda.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Cuda.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Cuda.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Cuda.cpp [364/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Builtins.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Builtins.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Builtins.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Builtins.cpp [365/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PPCallbacks.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PPCallbacks.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PPCallbacks.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PPCallbacks.cpp [366/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PPConditionalDirectiveRecord.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PPConditionalDirectiveRecord.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PPConditionalDirectiveRecord.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PPConditionalDirectiveRecord.cpp [367/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/ExpressionTraits.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/ExpressionTraits.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/ExpressionTraits.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/ExpressionTraits.cpp [368/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/DependencyDirectivesScanner.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/DependencyDirectivesScanner.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/DependencyDirectivesScanner.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/DependencyDirectivesScanner.cpp [369/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticOptions.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticOptions.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticOptions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/DiagnosticOptions.cpp [370/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/APINotes -I/builddir/build/BUILD/clang-17.0.6.src/lib/APINotes -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesYAMLCompiler.cpp.o -MF lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesYAMLCompiler.cpp.o.d -o lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesYAMLCompiler.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/APINotes/APINotesYAMLCompiler.cpp [371/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessorLexer.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessorLexer.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessorLexer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PreprocessorLexer.cpp [372/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/CodeGenOptions.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/CodeGenOptions.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/CodeGenOptions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/CodeGenOptions.cpp [373/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/MacroInfo.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/MacroInfo.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/MacroInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/MacroInfo.cpp [374/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/FileEntry.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/FileEntry.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/FileEntry.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileEntry.cpp [375/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/MacroArgs.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/MacroArgs.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/MacroArgs.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/MacroArgs.cpp [376/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessingRecord.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessingRecord.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessingRecord.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PreprocessingRecord.cpp [377/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/TokenConcatenation.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/TokenConcatenation.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/TokenConcatenation.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/TokenConcatenation.cpp [378/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/DarwinSDKInfo.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/DarwinSDKInfo.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/DarwinSDKInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/DarwinSDKInfo.cpp [379/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/OperatorPrecedence.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/OperatorPrecedence.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/OperatorPrecedence.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/OperatorPrecedence.cpp [380/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PPCaching.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PPCaching.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PPCaching.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PPCaching.cpp [381/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/MakeSupport.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/MakeSupport.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/MakeSupport.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/MakeSupport.cpp [382/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/TokenLexer.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/TokenLexer.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/TokenLexer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/TokenLexer.cpp [383/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/ObjCRuntime.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/ObjCRuntime.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/ObjCRuntime.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/ObjCRuntime.cpp [384/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/LangStandards.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/LangStandards.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/LangStandards.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/LangStandards.cpp [385/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/FileSystemStatCache.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/FileSystemStatCache.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/FileSystemStatCache.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileSystemStatCache.cpp [386/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/ParsedAttrInfo.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/ParsedAttrInfo.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/ParsedAttrInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/ParsedAttrInfo.cpp [387/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/LangOptions.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/LangOptions.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/LangOptions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/LangOptions.cpp [388/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Stack.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Stack.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Stack.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Stack.cpp [389/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/SanitizerSpecialCaseList.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/SanitizerSpecialCaseList.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/SanitizerSpecialCaseList.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/SanitizerSpecialCaseList.cpp [390/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/FileManager.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/FileManager.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/FileManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp [391/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/InitHeaderSearch.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/InitHeaderSearch.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/InitHeaderSearch.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/InitHeaderSearch.cpp [392/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/NoSanitizeList.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/NoSanitizeList.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/NoSanitizeList.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/NoSanitizeList.cpp [393/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenCLOptions.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenCLOptions.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenCLOptions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/OpenCLOptions.cpp [394/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenMPKinds.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenMPKinds.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenMPKinds.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/OpenMPKinds.cpp [395/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/ProfileList.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/ProfileList.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/ProfileList.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/ProfileList.cpp [396/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Diagnostic.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Diagnostic.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Diagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Diagnostic.cpp [397/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PPExpressions.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PPExpressions.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PPExpressions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PPExpressions.cpp [398/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Sanitizers.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Sanitizers.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Sanitizers.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Sanitizers.cpp [399/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PPLexerChange.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PPLexerChange.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PPLexerChange.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PPLexerChange.cpp [400/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetID.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetID.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetID.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/TargetID.cpp [401/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/Lexer.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/Lexer.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/Lexer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/Lexer.cpp [402/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/IdentifierTable.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/IdentifierTable.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/IdentifierTable.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/IdentifierTable.cpp [403/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceLocation.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceLocation.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceLocation.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/SourceLocation.cpp [404/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PPMacroExpansion.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PPMacroExpansion.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PPMacroExpansion.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PPMacroExpansion.cpp [405/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARC.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARC.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/ARC.cpp [406/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/BPF.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/BPF.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/BPF.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/BPF.cpp [407/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Module.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Module.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Module.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Module.cpp [408/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/DirectX.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/DirectX.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/DirectX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/DirectX.cpp [409/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderSearch.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderSearch.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderSearch.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/HeaderSearch.cpp [410/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/CSKY.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/CSKY.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/CSKY.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/CSKY.cpp [411/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/Preprocessor.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/Preprocessor.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/Preprocessor.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/Preprocessor.cpp [412/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetInfo.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetInfo.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/TargetInfo.cpp [413/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Lanai.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Lanai.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Lanai.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/Lanai.cpp [414/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/Pragma.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/Pragma.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/Pragma.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/Pragma.cpp [415/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Le64.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Le64.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Le64.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/Le64.cpp [416/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PPDirectives.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PPDirectives.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PPDirectives.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PPDirectives.cpp [417/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/LiteralSupport.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/LiteralSupport.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/LiteralSupport.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/LiteralSupport.cpp [418/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Hexagon.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Hexagon.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Hexagon.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/Hexagon.cpp [419/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AMDGPU.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AMDGPU.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AMDGPU.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/AMDGPU.cpp [420/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/TokenKinds.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/TokenKinds.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/TokenKinds.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/TokenKinds.cpp [421/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/TypeTraits.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/TypeTraits.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/TypeTraits.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/TypeTraits.cpp [422/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Sarif.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Sarif.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Sarif.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Sarif.cpp [423/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/MSP430.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/MSP430.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/MSP430.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/MSP430.cpp [424/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/OSTargets.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/OSTargets.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/OSTargets.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/OSTargets.cpp [425/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Version.cpp [426/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseAST.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseAST.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseAST.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp [427/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/NVPTX.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/NVPTX.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/NVPTX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/NVPTX.cpp [428/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/LoongArch.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/LoongArch.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/LoongArch.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/LoongArch.cpp [429/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/M68k.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/M68k.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/M68k.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/M68k.cpp [430/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PNaCl.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PNaCl.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PNaCl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/PNaCl.cpp [431/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceManager.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceManager.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/SourceManager.cpp [432/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARM.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARM.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARM.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/ARM.cpp [433/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SPIR.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SPIR.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SPIR.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/SPIR.cpp [434/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/ModuleMap.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/ModuleMap.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/ModuleMap.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/ModuleMap.cpp [435/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Warnings.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Warnings.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Warnings.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Warnings.cpp [436/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayInstr.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayInstr.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayInstr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/XRayInstr.cpp [437/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-opcodes -I /builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Opcodes.td --write-if-changed -o lib/AST/Opcodes.inc -d lib/AST/Opcodes.inc.d [438/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-doc-table -I /builddir/build/BUILD/clang-17.0.6.src/lib/AST/../../include/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/lib/AST/../../include/clang/Basic/Attr.td --write-if-changed -o lib/AST/AttrDocTable.inc -d lib/AST/AttrDocTable.inc.d [439/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Sparc.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Sparc.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Sparc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/Sparc.cpp [440/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AVR.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AVR.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AVR.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/AVR.cpp [441/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/TCE.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/TCE.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/TCE.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/TCE.cpp [442/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SystemZ.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SystemZ.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SystemZ.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/SystemZ.cpp [443/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/XCore.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/XCore.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/XCore.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/XCore.cpp [444/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Mips.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Mips.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Mips.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/Mips.cpp [445/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayLists.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayLists.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayLists.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/XRayLists.cpp [446/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AArch64.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AArch64.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AArch64.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/AArch64.cpp [447/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/WebAssembly.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/WebAssembly.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/WebAssembly.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/WebAssembly.cpp [448/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/VE.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/VE.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/VE.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/VE.cpp [449/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTConsumer.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTConsumer.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTConsumer.cpp [450/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PPC.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PPC.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PPC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/PPC.cpp [451/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/RISCV.cpp [452/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseCXXInlineMethods.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseCXXInlineMethods.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseCXXInlineMethods.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseCXXInlineMethods.cpp [453/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/CommentCommandTraits.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/CommentCommandTraits.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/CommentCommandTraits.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/CommentCommandTraits.cpp [454/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTConcept.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTConcept.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTConcept.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTConcept.cpp [455/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/X86.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/X86.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/X86.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/X86.cpp [456/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExpr.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExpr.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExpr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseExpr.cpp [457/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/CommentBriefParser.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/CommentBriefParser.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/CommentBriefParser.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/CommentBriefParser.cpp [458/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/AttrDocTable.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/AttrDocTable.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/AttrDocTable.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/AttrDocTable.cpp [459/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticIDs.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticIDs.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticIDs.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/DiagnosticIDs.cpp [460/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/CommentLexer.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/CommentLexer.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/CommentLexer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/CommentLexer.cpp [461/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/APValue.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/APValue.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/APValue.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/APValue.cpp [462/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Comment.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Comment.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Comment.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Comment.cpp [463/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDeclCXX.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDeclCXX.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDeclCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseDeclCXX.cpp [464/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/CommentParser.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/CommentParser.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/CommentParser.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/CommentParser.cpp [465/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ComparisonCategories.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ComparisonCategories.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ComparisonCategories.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ComparisonCategories.cpp [466/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTDiagnostic.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTDiagnostic.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTDiagnostic.cpp [467/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTTypeTraits.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTTypeTraits.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTTypeTraits.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTTypeTraits.cpp [468/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDecl.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDecl.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDecl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseDecl.cpp [469/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DataCollection.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DataCollection.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DataCollection.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DataCollection.cpp [470/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTStructuralEquivalence.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTStructuralEquivalence.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTStructuralEquivalence.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTStructuralEquivalence.cpp [471/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseHLSL.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseHLSL.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseHLSL.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseHLSL.cpp [472/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ComputeDependence.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ComputeDependence.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ComputeDependence.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ComputeDependence.cpp [473/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseInit.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseInit.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseInit.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseInit.cpp [474/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclGroup.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclGroup.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclGroup.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclGroup.cpp [475/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTentative.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTentative.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTentative.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseTentative.cpp [476/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Attributes.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Attributes.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Attributes.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Attributes.cpp [477/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclarationName.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclarationName.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclarationName.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclarationName.cpp [478/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/CXXInheritance.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/CXXInheritance.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/CXXInheritance.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/CXXInheritance.cpp [479/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclFriend.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclFriend.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclFriend.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclFriend.cpp [480/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclOpenMP.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclOpenMP.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclOpenMP.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclOpenMP.cpp [481/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets.cpp [482/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTemplate.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTemplate.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTemplate.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseTemplate.cpp [483/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/CommentSema.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/CommentSema.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/CommentSema.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/CommentSema.cpp [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-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/Parser.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/Parser.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/Parser.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/Parser.cpp [487/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExprCXX.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExprCXX.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExprCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseExprCXX.cpp [488/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmt.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmt.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmt.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseStmt.cpp [489/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ExprConcepts.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ExprConcepts.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ExprConcepts.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ExprConcepts.cpp [490/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ExprObjC.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ExprObjC.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ExprObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ExprObjC.cpp [491/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseObjc.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseObjc.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseObjc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseObjc.cpp [492/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ExprClassification.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ExprClassification.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ExprClassification.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ExprClassification.cpp [493/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTSource.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTSource.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTSource.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ExternalASTSource.cpp [494/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 && : [495/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/FormatString.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/FormatString.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/FormatString.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/FormatString.cpp [496/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclObjC.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclObjC.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclObjC.cpp [497/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParsePragma.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParsePragma.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParsePragma.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParsePragma.cpp [498/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Frame.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Frame.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Frame.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Frame.cpp [499/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmtAsm.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmtAsm.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmtAsm.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseStmtAsm.cpp [500/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclBase.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclBase.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclBase.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclBase.cpp [501/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Floating.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Floating.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Floating.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.cpp [502/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclCXX.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclCXX.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclCXX.cpp [503/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclTemplate.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclTemplate.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclTemplate.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclTemplate.cpp [504/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/InheritViz.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/InheritViz.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/InheritViz.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/InheritViz.cpp [505/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeGenError.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeGenError.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeGenError.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeGenError.cpp [506/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseOpenMP.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseOpenMP.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseOpenMP.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseOpenMP.cpp [507/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTDumper.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTDumper.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTDumper.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTDumper.cpp [508/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Descriptor.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Descriptor.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Descriptor.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Descriptor.cpp [509/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ExprCXX.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ExprCXX.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ExprCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ExprCXX.cpp [510/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclPrinter.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclPrinter.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclPrinter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclPrinter.cpp [511/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBlock.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBlock.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBlock.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpBlock.cpp [512/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpStack.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpStack.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpStack.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpStack.cpp [513/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporterLookupTable.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporterLookupTable.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporterLookupTable.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTImporterLookupTable.cpp [514/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Function.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Function.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Function.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Function.cpp [515/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Source.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Source.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Source.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Source.cpp [516/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Pointer.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Pointer.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Pointer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Pointer.cpp [517/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTMerger.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTMerger.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTMerger.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ExternalASTMerger.cpp [518/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpState.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpState.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpState.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpState.cpp [519/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Record.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Record.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Record.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Record.cpp [520/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBuiltin.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBuiltin.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBuiltin.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpBuiltin.cpp [521/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Decl.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Decl.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Decl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Decl.cpp [522/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/PrimType.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/PrimType.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/PrimType.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/PrimType.cpp [523/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpFrame.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpFrame.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpFrame.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpFrame.cpp [524/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeEmitter.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeEmitter.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeEmitter.cpp [525/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeStmtGen.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeStmtGen.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeStmtGen.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeStmtGen.cpp [526/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/State.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/State.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/State.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/State.cpp [527/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Context.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Context.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Context.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Context.cpp [528/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Disasm.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Disasm.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Disasm.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Disasm.cpp [529/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/NSAPI.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/NSAPI.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/NSAPI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/NSAPI.cpp [530/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/NestedNameSpecifier.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/NestedNameSpecifier.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/NestedNameSpecifier.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/NestedNameSpecifier.cpp [531/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Program.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Program.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Program.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.cpp [532/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ParentMap.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ParentMap.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ParentMap.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ParentMap.cpp [533/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/PrintfFormatString.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/PrintfFormatString.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/PrintfFormatString.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/PrintfFormatString.cpp [534/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/OSLog.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/OSLog.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/OSLog.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/OSLog.cpp [535/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/SelectorLocationsKind.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/SelectorLocationsKind.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/SelectorLocationsKind.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/SelectorLocationsKind.cpp [536/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumCXXABI.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumCXXABI.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumCXXABI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ItaniumCXXABI.cpp [537/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ScanfFormatString.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ScanfFormatString.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ScanfFormatString.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ScanfFormatString.cpp [538/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftCXXABI.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftCXXABI.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftCXXABI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/MicrosoftCXXABI.cpp [539/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Mangle.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Mangle.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Mangle.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Mangle.cpp [540/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Randstruct.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Randstruct.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Randstruct.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Randstruct.cpp [541/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayout.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayout.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayout.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/RecordLayout.cpp [542/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/QualTypeNames.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/QualTypeNames.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/QualTypeNames.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/QualTypeNames.cpp [543/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/StmtIterator.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/StmtIterator.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/StmtIterator.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/StmtIterator.cpp [544/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeExprGen.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeExprGen.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeExprGen.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp [545/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/StmtCXX.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/StmtCXX.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/StmtCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/StmtCXX.cpp [546/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/RawCommentList.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/RawCommentList.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/RawCommentList.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/RawCommentList.cpp [547/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/StmtViz.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/StmtViz.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/StmtViz.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/StmtViz.cpp [548/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/StmtObjC.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/StmtObjC.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/StmtObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/StmtObjC.cpp [549/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ODRHash.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ODRHash.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ODRHash.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ODRHash.cpp [550/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ODRDiagsEmitter.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ODRDiagsEmitter.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ODRDiagsEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ODRDiagsEmitter.cpp [551/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Expr.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Expr.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Expr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Expr.cpp [552/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/OpenMPClause.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/OpenMPClause.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/OpenMPClause.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/OpenMPClause.cpp [553/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/TemplateName.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/TemplateName.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/TemplateName.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/TemplateName.cpp [554/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-opencl-builtins -I /builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/OpenCLBuiltins.td --write-if-changed -o lib/Sema/OpenCLBuiltins.inc -d lib/Sema/OpenCLBuiltins.inc.d [555/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporter.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporter.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTImporter.cpp [556/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/TemplateBase.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/TemplateBase.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/TemplateBase.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/TemplateBase.cpp [557/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/VTTBuilder.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/VTTBuilder.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/VTTBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/VTTBuilder.cpp [558/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ParentMapContext.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ParentMapContext.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ParentMapContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ParentMapContext.cpp [559/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayoutBuilder.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayoutBuilder.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayoutBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/RecordLayoutBuilder.cpp [560/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/AttrImpl.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/AttrImpl.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/AttrImpl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/AttrImpl.cpp [561/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/StmtOpenMP.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/StmtOpenMP.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/StmtOpenMP.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/StmtOpenMP.cpp [562/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftMangle.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftMangle.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftMangle.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/MicrosoftMangle.cpp [563/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/TypeLoc.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/TypeLoc.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/TypeLoc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/TypeLoc.cpp [564/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/StmtProfile.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/StmtProfile.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/StmtProfile.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/StmtProfile.cpp [565/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Stmt.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Stmt.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Stmt.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Stmt.cpp [566/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/JSONNodeDumper.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/JSONNodeDumper.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/JSONNodeDumper.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/JSONNodeDumper.cpp [567/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/Scope.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/Scope.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/Scope.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/Scope.cpp [568/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumMangle.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumMangle.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumMangle.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ItaniumMangle.cpp [569/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Interp.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Interp.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Interp.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.cpp In file included from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.cpp:9: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'clang::interp::InitGlobal<(clang::interp::PrimType)8, clang::interp::Boolean>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool [clone .isra.0]': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ In file included from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpFrame.h:17, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:20: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'clang::interp::InitGlobalTemp<(clang::interp::PrimType)8, clang::interp::Boolean>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int, clang::LifetimeExtendedTemporaryDecl const*)bool [clone .isra.0]': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In file included from /usr/include/c++/12/memory:75, from /usr/include/llvm/Support/Casting.h:20, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/LLVM.h:21, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/ComparisonCategories.h:17, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Integral.h:16, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Boolean.h:14, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:16: In member function 'std::unique_ptr >::~unique_ptr()', inlined from 'llvm::detail::DoubleAPFloat::~DoubleAPFloat()' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'llvm::detail::DoubleAPFloat::operator=(llvm::detail::DoubleAPFloat&&)' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'llvm::detail::DoubleAPFloat::operator=(llvm::detail::DoubleAPFloat&&)' at /usr/include/llvm/ADT/APFloat.h:1417:16, inlined from 'llvm::APFloat::Storage::operator=(llvm::APFloat::Storage&&)' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'llvm::APFloat::Storage::operator=(llvm::APFloat::Storage&&)' at /usr/include/llvm/ADT/APFloat.h:841:14, inlined from 'llvm::APFloat::operator=(llvm::APFloat&&)' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'clang::interp::Floating::operator=(clang::interp::Floating&&)' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'clang::interp::InitGlobal<(clang::interp::PrimType)9, clang::interp::Floating>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool [clone .isra.0]' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'clang::interp::InitGlobal<(clang::interp::PrimType)9, clang::interp::Floating>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool [clone .isra.0]': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | ^ [570/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/StmtPrinter.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/StmtPrinter.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/StmtPrinter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/StmtPrinter.cpp [571/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/TypePrinter.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/TypePrinter.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/TypePrinter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/TypePrinter.cpp [572/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Type.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Type.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Type.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Type.cpp [573/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/EvalEmitter.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/EvalEmitter.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/EvalEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/EvalEmitter.cpp In file included from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/EvalEmitter.cpp:11: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'clang::interp::InitGlobalTemp<(clang::interp::PrimType)8, clang::interp::Boolean>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int, clang::LifetimeExtendedTemporaryDecl const*)bool [clone .isra.0]': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ In file included from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpFrame.h:17, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpState.h:18, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/EvalEmitter.h:19, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/EvalEmitter.cpp:9: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)8, clang::interp::Boolean>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalBool(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'clang::interp::EvalEmitter::emitInitGlobalBool(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:6: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobalBool(unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)11, clang::interp::FunctionPointer>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalFnPtr(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'clang::interp::EvalEmitter::emitInitGlobalFnPtr(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)8, clang::interp::Boolean>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalBool(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'clang::interp::EvalEmitter::emitInitGlobalBool(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)7, clang::interp::Integral<64u, false> >(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalUint64(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'clang::interp::EvalEmitter::emitInitGlobalUint64(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)6, clang::interp::Integral<64u, true> >(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalSint64(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'clang::interp::EvalEmitter::emitInitGlobalSint64(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)5, clang::interp::Integral<32u, false> >(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalUint32(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'clang::interp::EvalEmitter::emitInitGlobalUint32(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)4, clang::interp::Integral<32u, true> >(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalSint32(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'clang::interp::EvalEmitter::emitInitGlobalSint32(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)3, clang::interp::Integral<16u, false> >(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalUint16(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'clang::interp::EvalEmitter::emitInitGlobalUint16(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)2, clang::interp::Integral<16u, true> >(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalSint16(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'clang::interp::EvalEmitter::emitInitGlobalSint16(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)1, clang::interp::Integral<8u, false> >(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalUint8(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'clang::interp::EvalEmitter::emitInitGlobalUint8(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)0, clang::interp::Integral<8u, true> >(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalSint8(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'clang::interp::EvalEmitter::emitInitGlobalSint8(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ [574/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/IdentifierResolver.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/IdentifierResolver.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/IdentifierResolver.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/IdentifierResolver.cpp [575/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConsumer.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConsumer.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaConsumer.cpp [576/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/ScopeInfo.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/ScopeInfo.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/ScopeInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/ScopeInfo.cpp [577/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/DelayedDiagnostic.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/DelayedDiagnostic.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/DelayedDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DelayedDiagnostic.cpp [578/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTContext.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTContext.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTContext.cpp [579/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/TextNodeDumper.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/TextNodeDumper.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/TextNodeDumper.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/TextNodeDumper.cpp [580/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Marshallers.cpp.o -MF lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Marshallers.cpp.o.d -o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Marshallers.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic/Marshallers.cpp [581/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/VariantValue.cpp.o -MF lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/VariantValue.cpp.o.d -o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/VariantValue.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic/VariantValue.cpp [582/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/HLSLExternalSemaSource.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/HLSLExternalSemaSource.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/HLSLExternalSemaSource.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/HLSLExternalSemaSource.cpp [583/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/MultiplexExternalSemaSource.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/MultiplexExternalSemaSource.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/MultiplexExternalSemaSource.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/MultiplexExternalSemaSource.cpp [584/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CrossTU -I/builddir/build/BUILD/clang-17.0.6.src/lib/CrossTU -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CrossTU/CMakeFiles/obj.clangCrossTU.dir/CrossTranslationUnit.cpp.o -MF lib/CrossTU/CMakeFiles/obj.clangCrossTU.dir/CrossTranslationUnit.cpp.o.d -o lib/CrossTU/CMakeFiles/obj.clangCrossTU.dir/CrossTranslationUnit.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CrossTU/CrossTranslationUnit.cpp [585/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ASTMatchers -I/builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/GtestMatchers.cpp.o -MF lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/GtestMatchers.cpp.o.d -o lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/GtestMatchers.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/GtestMatchers.cpp [586/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/DeclSpec.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/DeclSpec.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/DeclSpec.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp [587/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Diagnostics.cpp.o -MF lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Diagnostics.cpp.o.d -o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Diagnostics.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic/Diagnostics.cpp [588/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/VTableBuilder.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/VTableBuilder.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/VTableBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/VTableBuilder.cpp [589/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/CodeCompleteConsumer.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/CodeCompleteConsumer.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/CodeCompleteConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/CodeCompleteConsumer.cpp [590/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/JumpDiagnostics.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/JumpDiagnostics.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/JumpDiagnostics.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/JumpDiagnostics.cpp [591/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Parser.cpp.o -MF lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Parser.cpp.o.d -o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Parser.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic/Parser.cpp [592/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAccess.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAccess.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAccess.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaAccess.cpp [593/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ASTMatchers -I/builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchersInternal.cpp.o -MF lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchersInternal.cpp.o.d -o lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchersInternal.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/ASTMatchersInternal.cpp [594/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCXXScopeSpec.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCXXScopeSpec.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCXXScopeSpec.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaCXXScopeSpec.cpp [595/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ExprConstant.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ExprConstant.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ExprConstant.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ExprConstant.cpp [596/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAttr.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAttr.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAttr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaAttr.cpp [597/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCast.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCast.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCast.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaCast.cpp [598/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaHLSL.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaHLSL.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaHLSL.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaHLSL.cpp [599/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCUDA.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCUDA.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCUDA.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaCUDA.cpp [600/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCoroutine.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCoroutine.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCoroutine.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaCoroutine.cpp [601/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/ParsedAttr.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/ParsedAttr.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/ParsedAttr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/ParsedAttr.cpp [602/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaFixItUtils.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaFixItUtils.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaFixItUtils.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaFixItUtils.cpp [603/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExceptionSpec.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExceptionSpec.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExceptionSpec.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaExceptionSpec.cpp [604/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprMember.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprMember.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprMember.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaExprMember.cpp [605/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/Sema.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/Sema.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/Sema.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/Sema.cpp [606/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaModule.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaModule.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaModule.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaModule.cpp [607/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLambda.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLambda.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLambda.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaLambda.cpp [608/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ASTMatchers -I/builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchFinder.cpp.o -MF lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchFinder.cpp.o.d -o lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchFinder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/ASTMatchFinder.cpp [609/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprObjC.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprObjC.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaExprObjC.cpp [610/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaObjCProperty.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaObjCProperty.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaObjCProperty.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaObjCProperty.cpp [611/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaRISCVVectorLookup.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaRISCVVectorLookup.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaRISCVVectorLookup.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaRISCVVectorLookup.cpp [612/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/AnalysisBasedWarnings.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/AnalysisBasedWarnings.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/AnalysisBasedWarnings.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/AnalysisBasedWarnings.cpp [613/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaPseudoObject.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaPseudoObject.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaPseudoObject.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaPseudoObject.cpp [614/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaSYCL.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaSYCL.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaSYCL.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaSYCL.cpp [615/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaInit.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaInit.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaInit.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaInit.cpp [616/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/TypeLocBuilder.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/TypeLocBuilder.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/TypeLocBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/TypeLocBuilder.cpp [617/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAsm.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAsm.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAsm.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaStmtAsm.cpp [618/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAttr.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAttr.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAttr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaStmtAttr.cpp [619/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAvailability.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAvailability.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAvailability.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaAvailability.cpp [620/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclObjC.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclObjC.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaDeclObjC.cpp [621/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 && : [622/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConcept.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConcept.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConcept.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaConcept.cpp [623/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLookup.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLookup.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLookup.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaLookup.cpp [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-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfo.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfo.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/ABIInfo.cpp [626/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCodeComplete.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCodeComplete.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCodeComplete.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaCodeComplete.cpp [627/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOverload.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOverload.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOverload.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOverload.cpp [628/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfoImpl.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfoImpl.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfoImpl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/ABIInfoImpl.cpp [629/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaChecking.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaChecking.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaChecking.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaChecking.cpp [630/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateVariadic.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateVariadic.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateVariadic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaTemplateVariadic.cpp [631/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDARuntime.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDARuntime.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDARuntime.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGCUDARuntime.cpp [632/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXX.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXX.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGCXX.cpp [633/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGAtomic.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGAtomic.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGAtomic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGAtomic.cpp [634/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDANV.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDANV.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDANV.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGCUDANV.cpp [635/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXXABI.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXXABI.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXXABI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGCXXABI.cpp [636/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaType.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaType.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaType.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaType.cpp [637/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBlocks.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBlocks.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBlocks.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGBlocks.cpp [638/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/BackendUtil.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/BackendUtil.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/BackendUtil.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/BackendUtil.cpp [639/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmt.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmt.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmt.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaStmt.cpp [640/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclAttr.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclAttr.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclAttr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaDeclAttr.cpp [641/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGLoopInfo.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGLoopInfo.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGLoopInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGLoopInfo.cpp [642/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCleanup.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCleanup.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCleanup.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGCleanup.cpp [643/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCoroutine.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCoroutine.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCoroutine.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGCoroutine.cpp [644/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGClass.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGClass.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGClass.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGClass.cpp [645/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDecl.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDecl.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDecl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaDecl.cpp [646/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDeclCXX.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDeclCXX.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDeclCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGDeclCXX.cpp [647/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiate.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiate.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiate.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaTemplateInstantiate.cpp [648/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGHLSLRuntime.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGHLSLRuntime.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGHLSLRuntime.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGHLSLRuntime.cpp [649/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGException.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGException.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGException.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGException.cpp [650/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclCXX.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclCXX.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaDeclCXX.cpp [651/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprAgg.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprAgg.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprAgg.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGExprAgg.cpp [652/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiateDecl.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiateDecl.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiateDecl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaTemplateInstantiateDecl.cpp [653/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprComplex.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprComplex.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprComplex.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGExprComplex.cpp [654/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGGPUBuiltin.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGGPUBuiltin.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGGPUBuiltin.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGGPUBuiltin.cpp [655/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateDeduction.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateDeduction.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateDeduction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaTemplateDeduction.cpp [656/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprConstant.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprConstant.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprConstant.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGExprConstant.cpp [657/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCall.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCall.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCall.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGCall.cpp [658/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprCXX.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprCXX.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGExprCXX.cpp [659/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprCXX.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprCXX.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaExprCXX.cpp [660/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDecl.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDecl.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDecl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGDecl.cpp [661/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGNonTrivialStruct.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGNonTrivialStruct.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGNonTrivialStruct.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGNonTrivialStruct.cpp [662/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExpr.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExpr.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExpr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGExpr.cpp [663/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenCLRuntime.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenCLRuntime.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenCLRuntime.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGOpenCLRuntime.cpp [664/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjC.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjC.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGObjC.cpp [665/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCRuntime.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCRuntime.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCRuntime.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGObjCRuntime.cpp [666/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprScalar.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprScalar.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprScalar.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGExprScalar.cpp [667/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTBAA.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTBAA.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTBAA.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CodeGenTBAA.cpp [668/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGRecordLayoutBuilder.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGRecordLayoutBuilder.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGRecordLayoutBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGRecordLayoutBuilder.cpp [669/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ConstantInitBuilder.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ConstantInitBuilder.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ConstantInitBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/ConstantInitBuilder.cpp [670/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTT.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTT.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTT.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGVTT.cpp [671/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenABITypes.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenABITypes.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenABITypes.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CodeGenABITypes.cpp [672/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCGNU.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCGNU.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCGNU.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGObjCGNU.cpp [673/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTables.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTables.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTables.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGVTables.cpp [674/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MacroPPCallbacks.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MacroPPCallbacks.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MacroPPCallbacks.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/MacroPPCallbacks.cpp [675/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCMac.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCMac.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCMac.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGObjCMac.cpp [676/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTypes.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTypes.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTypes.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CodeGenTypes.cpp [677/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/PatternInit.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/PatternInit.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/PatternInit.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/PatternInit.cpp [678/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ModuleBuilder.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ModuleBuilder.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ModuleBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/ModuleBuilder.cpp [679/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmt.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmt.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmt.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGStmt.cpp [680/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntimeGPU.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntimeGPU.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntimeGPU.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGOpenMPRuntimeGPU.cpp [681/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDebugInfo.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDebugInfo.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDebugInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGDebugInfo.cpp [682/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SwiftCallingConv.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SwiftCallingConv.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SwiftCallingConv.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/SwiftCallingConv.cpp [683/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SanitizerMetadata.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SanitizerMetadata.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SanitizerMetadata.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/SanitizerMetadata.cpp [684/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenFunction.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenFunction.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenFunction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CodeGenFunction.cpp [685/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOpenMP.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOpenMP.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOpenMP.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp In file included from /usr/include/llvm/ADT/APSInt.h:18, from /usr/include/llvm/ADT/APFixedPoint.h:19, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/APValue.h:17, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/Decl.h:16, from /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/CoroutineStmtBuilder.h:16, from /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/TreeTransform.h:16, from /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:14: In member function 'llvm::APInt::~APInt()', inlined from 'llvm::APInt::~APInt()' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from 'llvm::APSInt::~APSInt()' at /usr/include/llvm/ADT/APSInt.h:23:21, inlined from 'checkOMPArraySectionConstantForReduction(clang::ASTContext&, clang::OMPArraySectionExpr const*, bool&, llvm::SmallVectorImpl&)' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19108:45, inlined from 'actOnOMPReductionKindClause(clang::Sema&, (anonymous namespace)::DSAStackTy*, llvm::omp::Clause, llvm::ArrayRef, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, clang::CXXScopeSpec&, clang::DeclarationNameInfo const&, llvm::ArrayRef, (anonymous namespace)::ReductionData&) [clone .constprop.0]' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:68: /usr/include/llvm/ADT/APInt.h:170:18: warning: 'operator delete[](void*)' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | ^~~~ In member function 'llvm::APInt::~APInt()', inlined from 'llvm::APInt::~APInt()' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from 'llvm::APSInt::~APSInt()' at /usr/include/llvm/ADT/APSInt.h:23:21, inlined from 'checkOMPArraySectionConstantForReduction(clang::ASTContext&, clang::OMPArraySectionExpr const*, bool&, llvm::SmallVectorImpl&)' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19127:45, inlined from 'actOnOMPReductionKindClause(clang::Sema&, (anonymous namespace)::DSAStackTy*, llvm::omp::Clause, llvm::ArrayRef, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, clang::CXXScopeSpec&, clang::DeclarationNameInfo const&, llvm::ArrayRef, (anonymous namespace)::ReductionData&) [clone .constprop.0]' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:68: /usr/include/llvm/ADT/APInt.h:170:18: warning: 'operator delete[](void*)' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | ^~~~ [686/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/TargetInfo.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/TargetInfo.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/TargetInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/TargetInfo.cpp [687/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplate.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplate.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplate.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaTemplate.cpp [688/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenAction.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenAction.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenAction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CodeGenAction.cpp [689/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MicrosoftCXXABI.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MicrosoftCXXABI.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MicrosoftCXXABI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/MicrosoftCXXABI.cpp [690/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARC.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARC.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/ARC.cpp [691/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AArch64.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AArch64.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AArch64.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/AArch64.cpp [692/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CoverageMappingGen.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CoverageMappingGen.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CoverageMappingGen.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CoverageMappingGen.cpp [693/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AMDGPU.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AMDGPU.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AMDGPU.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/AMDGPU.cpp [694/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AVR.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AVR.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AVR.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/AVR.cpp [695/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ItaniumCXXABI.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ItaniumCXXABI.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ItaniumCXXABI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/ItaniumCXXABI.cpp [696/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/BPF.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/BPF.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/BPF.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/BPF.cpp [697/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/CSKY.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/CSKY.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/CSKY.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/CSKY.cpp [698/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/VarBypassDetector.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/VarBypassDetector.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/VarBypassDetector.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/VarBypassDetector.cpp [699/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARM.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARM.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARM.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/ARM.cpp [700/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenPGO.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenPGO.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenPGO.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CodeGenPGO.cpp [701/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Lanai.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Lanai.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Lanai.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/Lanai.cpp [702/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/M68k.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/M68k.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/M68k.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/M68k.cpp [703/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmtOpenMP.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmtOpenMP.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmtOpenMP.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGStmtOpenMP.cpp [704/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Hexagon.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Hexagon.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Hexagon.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/Hexagon.cpp [705/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/LoongArch.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/LoongArch.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/LoongArch.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/LoongArch.cpp [706/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CodeInjector.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CodeInjector.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CodeInjector.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CodeInjector.cpp [707/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/MSP430.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/MSP430.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/MSP430.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/MSP430.cpp [708/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PNaCl.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PNaCl.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PNaCl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/PNaCl.cpp [709/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/NVPTX.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/NVPTX.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/NVPTX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/NVPTX.cpp [710/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CocoaConventions.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CocoaConventions.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CocoaConventions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CocoaConventions.cpp [711/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/BodyFarm.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/BodyFarm.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/BodyFarm.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/BodyFarm.cpp [712/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Mips.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Mips.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Mips.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/Mips.cpp [713/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGReachabilityAnalysis.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGReachabilityAnalysis.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGReachabilityAnalysis.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CFGReachabilityAnalysis.cpp [714/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntime.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntime.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntime.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGOpenMPRuntime.cpp [715/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PPC.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PPC.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PPC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/PPC.cpp [716/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGStmtMap.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGStmtMap.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGStmtMap.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CFGStmtMap.cpp [717/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/AnalysisDeclContext.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/AnalysisDeclContext.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/AnalysisDeclContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/AnalysisDeclContext.cpp [718/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ConstructionContext.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ConstructionContext.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ConstructionContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ConstructionContext.cpp [719/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/RISCV.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/RISCV.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/RISCV.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/RISCV.cpp [720/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SPIR.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SPIR.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SPIR.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/SPIR.cpp [721/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ObjCNoReturn.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ObjCNoReturn.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ObjCNoReturn.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ObjCNoReturn.cpp [722/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Sparc.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Sparc.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Sparc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/Sparc.cpp [723/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/MacroExpansionContext.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/MacroExpansionContext.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/MacroExpansionContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/MacroExpansionContext.cpp [724/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Dominators.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Dominators.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Dominators.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/Dominators.cpp [725/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IssueHash.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IssueHash.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IssueHash.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/IssueHash.cpp [726/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/TCE.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/TCE.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/TCE.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/TCE.cpp [727/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyLogical.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyLogical.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyLogical.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ThreadSafetyLogical.cpp [728/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IntervalPartition.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IntervalPartition.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IntervalPartition.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/IntervalPartition.cpp [729/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Formula.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Formula.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Formula.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Formula.cpp [730/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SystemZ.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SystemZ.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SystemZ.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/SystemZ.cpp [731/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyTIL.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyTIL.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyTIL.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ThreadSafetyTIL.cpp [732/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CloneDetection.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CloneDetection.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CloneDetection.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CloneDetection.cpp [733/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ObjectFilePCHContainerOperations.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ObjectFilePCHContainerOperations.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ObjectFilePCHContainerOperations.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/ObjectFilePCHContainerOperations.cpp [734/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PostOrderCFGView.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PostOrderCFGView.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PostOrderCFGView.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/PostOrderCFGView.cpp [735/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Consumed.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Consumed.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Consumed.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/Consumed.cpp [736/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CallGraph.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CallGraph.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CallGraph.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CallGraph.cpp [737/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Arena.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Arena.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Arena.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Arena.cpp [738/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/VE.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/VE.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/VE.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/VE.cpp [739/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/XCore.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/XCore.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/XCore.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/XCore.cpp [740/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ProgramPoint.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ProgramPoint.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ProgramPoint.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ProgramPoint.cpp [741/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Value.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Value.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Value.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Value.cpp [742/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/WatchedLiteralsSolver.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/WatchedLiteralsSolver.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/WatchedLiteralsSolver.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/WatchedLiteralsSolver.cpp [743/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DebugSupport.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DebugSupport.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DebugSupport.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/DebugSupport.cpp [744/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/WebAssembly.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/WebAssembly.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/WebAssembly.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/WebAssembly.cpp [745/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/LiveVariables.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/LiveVariables.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/LiveVariables.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/LiveVariables.cpp [746/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/X86.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/X86.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/X86.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/X86.cpp [747/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/ControlFlowContext.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/ControlFlowContext.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/ControlFlowContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/ControlFlowContext.cpp [748/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/APIIgnoresList.cpp.o -MF lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/APIIgnoresList.cpp.o.d -o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/APIIgnoresList.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI/APIIgnoresList.cpp [749/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFG.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFG.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFG.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CFG.cpp [750/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Edit -I/builddir/build/BUILD/clang-17.0.6.src/lib/Edit -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Edit/CMakeFiles/obj.clangEdit.dir/Commit.cpp.o -MF lib/Edit/CMakeFiles/obj.clangEdit.dir/Commit.cpp.o.d -o lib/Edit/CMakeFiles/obj.clangEdit.dir/Commit.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Edit/Commit.cpp [751/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PathDiagnostic.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PathDiagnostic.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PathDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/PathDiagnostic.cpp [752/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ReachableCode.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ReachableCode.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ReachableCode.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ReachableCode.cpp [753/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Edit -I/builddir/build/BUILD/clang-17.0.6.src/lib/Edit -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Edit/CMakeFiles/obj.clangEdit.dir/EditedSource.cpp.o -MF lib/Edit/CMakeFiles/obj.clangEdit.dir/EditedSource.cpp.o.d -o lib/Edit/CMakeFiles/obj.clangEdit.dir/EditedSource.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Edit/EditedSource.cpp [754/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/DeltaTree.cpp.o -MF lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/DeltaTree.cpp.o.d -o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/DeltaTree.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite/DeltaTree.cpp [755/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyCommon.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyCommon.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyCommon.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ThreadSafetyCommon.cpp [756/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Logger.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Logger.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Logger.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Logger.cpp [757/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/RewriteRope.cpp.o -MF lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/RewriteRope.cpp.o.d -o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/RewriteRope.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite/RewriteRope.cpp [758/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UninitializedValues.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UninitializedValues.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UninitializedValues.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/UninitializedValues.cpp [759/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/RecordOps.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/RecordOps.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/RecordOps.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/RecordOps.cpp [760/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive/Models -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Models -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/ChromiumCheckModel.cpp.o -MF lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/ChromiumCheckModel.cpp.o.d -o lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/ChromiumCheckModel.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Models/ChromiumCheckModel.cpp [761/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/AvailabilityInfo.cpp.o -MF lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/AvailabilityInfo.cpp.o.d -o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/AvailabilityInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI/AvailabilityInfo.cpp [762/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowAnalysisContext.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowAnalysisContext.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowAnalysisContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp [763/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenModule.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenModule.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenModule.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CodeGenModule.cpp [764/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/TokenRewriter.cpp.o -MF lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/TokenRewriter.cpp.o.d -o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/TokenRewriter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite/TokenRewriter.cpp [765/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o -MF lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o.d -o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic/Registry.cpp [766/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CalledOnceCheck.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CalledOnceCheck.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CalledOnceCheck.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CalledOnceCheck.cpp [767/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowEnvironment.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowEnvironment.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowEnvironment.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp: In member function 'void clang::dataflow::Environment::setValueStrict(const clang::Expr&, clang::dataflow::Value&)': /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp:702:15: warning: unused variable 'ExistingVal' [-Wunused-variable] 702 | if (auto *ExistingVal = cast_or_null(getValueStrict(E))) | ^~~~~~~~~~~ /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp:704:26: warning: unused variable 'ExistingLoc' [-Wunused-variable] 704 | if (StorageLocation *ExistingLoc = getStorageLocation(E, SkipPast::None)) | ^~~~~~~~~~~ [768/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Edit -I/builddir/build/BUILD/clang-17.0.6.src/lib/Edit -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Edit/CMakeFiles/obj.clangEdit.dir/RewriteObjCFoundationAPI.cpp.o -MF lib/Edit/CMakeFiles/obj.clangEdit.dir/RewriteObjCFoundationAPI.cpp.o.d -o lib/Edit/CMakeFiles/obj.clangEdit.dir/RewriteObjCFoundationAPI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Edit/RewriteObjCFoundationAPI.cpp [769/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/HTMLRewrite.cpp.o -MF lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/HTMLRewrite.cpp.o.d -o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/HTMLRewrite.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite/HTMLRewrite.cpp [770/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/PlistReporter.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/PlistReporter.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/PlistReporter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/PlistReporter.cpp [771/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/Rewriter.cpp.o -MF lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/Rewriter.cpp.o.d -o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/Rewriter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite/Rewriter.cpp [772/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/TypedefUnderlyingTypeResolver.cpp.o -MF lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/TypedefUnderlyingTypeResolver.cpp.o.d -o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/TypedefUnderlyingTypeResolver.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI/TypedefUnderlyingTypeResolver.cpp [773/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/FileRemapper.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/FileRemapper.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/FileRemapper.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/FileRemapper.cpp [774/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Transfer.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Transfer.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Transfer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Transfer.cpp [775/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/HTMLLogger.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/HTMLLogger.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/HTMLLogger.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/HTMLLogger.cpp [776/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExpr.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExpr.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExpr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaExpr.cpp [777/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafety.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafety.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafety.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ThreadSafety.cpp [778/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Action.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Action.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Action.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Action.cpp [779/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/API.cpp.o -MF lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/API.cpp.o.d -o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/API.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI/API.cpp [780/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 && : [781/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 && : [782/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Distro.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Distro.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Distro.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Distro.cpp [783/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 && : [784/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/DeclarationFragments.cpp.o -MF lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/DeclarationFragments.cpp.o.d -o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/DeclarationFragments.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI/DeclarationFragments.cpp [785/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/DriverOptions.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/DriverOptions.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/DriverOptions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/DriverOptions.cpp [786/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Compilation.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Compilation.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Compilation.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Compilation.cpp [787/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/Serialization/SymbolGraphSerializer.cpp.o -MF lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/Serialization/SymbolGraphSerializer.cpp.o.d -o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/Serialization/SymbolGraphSerializer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp [788/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Phases.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Phases.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Phases.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Phases.cpp [789/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/OptionUtils.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/OptionUtils.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/OptionUtils.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/OptionUtils.cpp [790/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Multilib.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Multilib.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Multilib.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Multilib.cpp [791/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/MultilibBuilder.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/MultilibBuilder.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/MultilibBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/MultilibBuilder.cpp [792/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Tool.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Tool.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Tool.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Tool.cpp [793/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMTActions.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMTActions.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMTActions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/ARCMTActions.cpp [794/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransformActions.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransformActions.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransformActions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransformActions.cpp [795/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Job.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Job.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Job.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Job.cpp [796/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/RetainSummaryManager.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/RetainSummaryManager.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/RetainSummaryManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/RetainSummaryManager.cpp [797/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/TypeErasedDataflowAnalysis.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/TypeErasedDataflowAnalysis.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/TypeErasedDataflowAnalysis.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp [798/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/OffloadBundler.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/OffloadBundler.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/OffloadBundler.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/OffloadBundler.cpp [799/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/M68k.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/M68k.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/M68k.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/M68k.cpp [800/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/AArch64.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/AArch64.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/AArch64.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/AArch64.cpp [801/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/LoongArch.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/LoongArch.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/LoongArch.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/LoongArch.cpp [802/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/CSKY.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/CSKY.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/CSKY.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/CSKY.cpp [803/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/PPC.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/PPC.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/PPC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/PPC.cpp [804/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ExprMutationAnalyzer.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ExprMutationAnalyzer.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ExprMutationAnalyzer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ExprMutationAnalyzer.cpp [805/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/VE.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/VE.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/VE.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/VE.cpp [806/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Mips.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Mips.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Mips.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/Mips.cpp [807/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/SanitizerArgs.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/SanitizerArgs.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/SanitizerArgs.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/SanitizerArgs.cpp [808/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/SystemZ.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/SystemZ.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/SystemZ.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/SystemZ.cpp [809/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/ARM.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/ARM.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/ARM.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/ARM.cpp [810/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/RISCV.cpp [811/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Sparc.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Sparc.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Sparc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/Sparc.cpp [812/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChain.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChain.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChain.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChain.cpp [813/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/X86.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/X86.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/X86.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/X86.cpp [814/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAPIUses.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAPIUses.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAPIUses.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransAPIUses.cpp [815/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransARCAssign.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransARCAssign.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransARCAssign.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransARCAssign.cpp [816/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Ananas.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Ananas.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Ananas.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Ananas.cpp [817/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AIX.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AIX.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AIX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/AIX.cpp [818/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPUOpenMP.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPUOpenMP.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPUOpenMP.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/AMDGPUOpenMP.cpp [819/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Contiki.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Contiki.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Contiki.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Contiki.cpp [820/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMT.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMT.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMT.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/ARCMT.cpp [821/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CloudABI.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CloudABI.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CloudABI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/CloudABI.cpp [822/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AVR.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AVR.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AVR.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/AVR.cpp [823/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCCalls.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCCalls.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCCalls.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransGCCalls.cpp [824/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCAttrs.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCAttrs.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCAttrs.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransGCAttrs.cpp [825/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransEmptyStatementsAndDealloc.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransEmptyStatementsAndDealloc.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransEmptyStatementsAndDealloc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp [826/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CrossWindows.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CrossWindows.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CrossWindows.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/CrossWindows.cpp [827/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransZeroOutPropsInDealloc.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransZeroOutPropsInDealloc.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransZeroOutPropsInDealloc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransZeroOutPropsInDealloc.cpp [828/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CSKYToolChain.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CSKYToolChain.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CSKYToolChain.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/CSKYToolChain.cpp [829/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPU.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPU.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPU.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/AMDGPU.cpp [830/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/BareMetal.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/BareMetal.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/BareMetal.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/BareMetal.cpp [831/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProperties.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProperties.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProperties.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransProperties.cpp [832/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/DragonFly.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/DragonFly.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/DragonFly.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/DragonFly.cpp [833/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Haiku.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Haiku.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Haiku.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Haiku.cpp [834/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Flang.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Flang.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Flang.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Flang.cpp [835/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive/Models -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Models -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/UncheckedOptionalAccessModel.cpp.o -MF lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/UncheckedOptionalAccessModel.cpp.o.d -o lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/UncheckedOptionalAccessModel.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp [836/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/FreeBSD.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/FreeBSD.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/FreeBSD.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/FreeBSD.cpp [837/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/HIPUtility.cpp [838/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Cuda.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Cuda.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Cuda.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Cuda.cpp [839/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Fuchsia.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Fuchsia.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Fuchsia.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Fuchsia.cpp [840/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnusedInitDelegate.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnusedInitDelegate.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnusedInitDelegate.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransUnusedInitDelegate.cpp [841/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HLSL.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HLSL.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HLSL.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/HLSL.cpp [842/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPSPV.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPSPV.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPSPV.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/HIPSPV.cpp [843/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPAMD.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPAMD.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPAMD.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/HIPAMD.cpp [844/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hurd.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hurd.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hurd.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Hurd.cpp [845/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CommonArgs.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CommonArgs.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CommonArgs.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/CommonArgs.cpp [846/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransRetainReleaseDealloc.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransRetainReleaseDealloc.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransRetainReleaseDealloc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransRetainReleaseDealloc.cpp [847/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MipsLinux.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MipsLinux.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MipsLinux.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/MipsLinux.cpp [848/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Driver.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Driver.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Driver.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Driver.cpp [849/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Myriad.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Myriad.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Myriad.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Myriad.cpp [850/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProtectedScope.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProtectedScope.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProtectedScope.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransProtectedScope.cpp [851/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Minix.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Minix.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Minix.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Minix.cpp [852/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnbridgedCasts.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnbridgedCasts.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnbridgedCasts.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransUnbridgedCasts.cpp [853/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSP430.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSP430.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSP430.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/MSP430.cpp [854/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/TCE.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/TCE.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/TCE.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/TCE.cpp [855/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hexagon.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hexagon.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hexagon.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Hexagon.cpp [856/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSVC.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSVC.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSVC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/MSVC.cpp [857/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MinGW.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MinGW.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MinGW.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/MinGW.cpp [858/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/SPIRV.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/SPIRV.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/SPIRV.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/SPIRV.cpp [859/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NetBSD.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NetBSD.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NetBSD.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/NetBSD.cpp [860/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Solaris.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Solaris.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Solaris.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Solaris.cpp [861/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCFreeBSD.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCFreeBSD.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCFreeBSD.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/PPCFreeBSD.cpp [862/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NaCl.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NaCl.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NaCl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/NaCl.cpp [863/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OpenBSD.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OpenBSD.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OpenBSD.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/OpenBSD.cpp [864/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCLinux.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCLinux.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCLinux.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/PPCLinux.cpp [865/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/XCore.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/XCore.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/XCore.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/XCore.cpp [866/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/VEToolchain.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/VEToolchain.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/VEToolchain.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/VEToolchain.cpp [867/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/InterfaceStubs.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/InterfaceStubs.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/InterfaceStubs.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/InterfaceStubs.cpp [868/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/RISCVToolchain.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/RISCVToolchain.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/RISCVToolchain.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/RISCVToolchain.cpp [869/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFileExtension.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFileExtension.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFileExtension.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ModuleFileExtension.cpp [870/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Types.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Types.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Types.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Types.cpp [871/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PS4CPU.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PS4CPU.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PS4CPU.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/PS4CPU.cpp [872/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/InMemoryModuleCache.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/InMemoryModuleCache.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/InMemoryModuleCache.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/InMemoryModuleCache.cpp [873/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Linux.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Linux.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Linux.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Linux.cpp [874/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/ZOS.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/ZOS.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/ZOS.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/ZOS.cpp [875/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedDiagnosticConsumer.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedDiagnosticConsumer.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedDiagnosticConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/ChainedDiagnosticConsumer.cpp [876/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Gnu.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Gnu.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Gnu.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Gnu.cpp [877/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/WebAssembly.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/WebAssembly.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/WebAssembly.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/WebAssembly.cpp [878/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/PCHContainerOperations.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/PCHContainerOperations.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/PCHContainerOperations.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/PCHContainerOperations.cpp [879/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OHOS.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OHOS.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OHOS.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/OHOS.cpp [880/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Darwin.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Darwin.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Darwin.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Darwin.cpp [881/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFile.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFile.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFile.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ModuleFile.cpp [882/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransBlockObjCVariable.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransBlockObjCVariable.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransBlockObjCVariable.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransBlockObjCVariable.cpp [883/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTCommon.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTCommon.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTCommon.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ASTCommon.cpp [884/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/XRayArgs.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/XRayArgs.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/XRayArgs.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/XRayArgs.cpp [885/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendOptions.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendOptions.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendOptions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendOptions.cpp [886/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DiagnosticRenderer.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DiagnosticRenderer.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DiagnosticRenderer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/DiagnosticRenderer.cpp [887/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Clang.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Clang.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Clang.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Clang.cpp [888/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyGraph.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyGraph.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyGraph.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/DependencyGraph.cpp [889/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UnsafeBufferUsage.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UnsafeBufferUsage.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UnsafeBufferUsage.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/UnsafeBufferUsage.cpp [890/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LayoutOverrideSource.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LayoutOverrideSource.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LayoutOverrideSource.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/LayoutOverrideSource.cpp [891/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleManager.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleManager.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ModuleManager.cpp [892/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAutoreleasePool.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAutoreleasePool.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAutoreleasePool.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransAutoreleasePool.cpp [893/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/ExtractAPIConsumer.cpp.o -MF lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/ExtractAPIConsumer.cpp.o.d -o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/ExtractAPIConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI/ExtractAPIConsumer.cpp [894/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LogDiagnosticPrinter.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LogDiagnosticPrinter.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LogDiagnosticPrinter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/LogDiagnosticPrinter.cpp [895/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/HeaderIncludeGen.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/HeaderIncludeGen.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/HeaderIncludeGen.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/HeaderIncludeGen.cpp [896/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/MultiplexConsumer.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/MultiplexConsumer.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/MultiplexConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/MultiplexConsumer.cpp [897/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GlobalModuleIndex.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GlobalModuleIndex.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GlobalModuleIndex.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/GlobalModuleIndex.cpp [898/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticBuffer.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticBuffer.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticBuffer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/TextDiagnosticBuffer.cpp [899/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 && : [900/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GeneratePCH.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GeneratePCH.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GeneratePCH.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/GeneratePCH.cpp [901/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnosticPrinter.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnosticPrinter.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnosticPrinter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/SARIFDiagnosticPrinter.cpp [902/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticReader.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticReader.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticReader.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/SerializedDiagnosticReader.cpp [903/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnostic.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnostic.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/SARIFDiagnostic.cpp [904/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrintPreprocessedOutput.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrintPreprocessedOutput.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrintPreprocessedOutput.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/PrintPreprocessedOutput.cpp [905/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTMerge.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTMerge.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTMerge.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/ASTMerge.cpp [906/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnostic.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnostic.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/TextDiagnostic.cpp [907/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CreateInvocationFromCommandLine.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CreateInvocationFromCommandLine.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CreateInvocationFromCommandLine.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CreateInvocationFromCommandLine.cpp [908/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticPrinter.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticPrinter.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticPrinter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/TextDiagnosticPrinter.cpp [909/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticPrinter.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticPrinter.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticPrinter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/SerializedDiagnosticPrinter.cpp [910/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FixItRewriter.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FixItRewriter.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FixItRewriter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/FixItRewriter.cpp [911/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/Transforms.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/Transforms.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/Transforms.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/Transforms.cpp [912/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterStmt.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterStmt.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterStmt.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ASTWriterStmt.cpp [913/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ObjCMT.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ObjCMT.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ObjCMT.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/ObjCMT.cpp [914/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyFile.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyFile.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyFile.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/DependencyFile.cpp [915/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteMacros.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteMacros.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteMacros.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/RewriteMacros.cpp [916/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/InclusionRewriter.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/InclusionRewriter.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/InclusionRewriter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/InclusionRewriter.cpp [917/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteTest.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteTest.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteTest.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/RewriteTest.cpp [918/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterDecl.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterDecl.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterDecl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ASTWriterDecl.cpp [919/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Diagnostic.cpp.o -MF lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Diagnostic.cpp.o.d -o lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Diagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Core/Diagnostic.cpp [920/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 && : [921/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Inclusions -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Inclusions -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/IncludeStyle.cpp.o -MF lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/IncludeStyle.cpp.o.d -o lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/IncludeStyle.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Inclusions/IncludeStyle.cpp [922/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Inclusions -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Inclusions -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderAnalysis.cpp.o -MF lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderAnalysis.cpp.o.d -o lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderAnalysis.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Inclusions/HeaderAnalysis.cpp [923/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/HTMLPrint.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/HTMLPrint.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/HTMLPrint.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/HTMLPrint.cpp [924/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/VerifyDiagnosticConsumer.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/VerifyDiagnosticConsumer.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/VerifyDiagnosticConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/VerifyDiagnosticConsumer.cpp [925/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedIncludesSource.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedIncludesSource.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedIncludesSource.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/ChainedIncludesSource.cpp [926/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InitPreprocessor.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InitPreprocessor.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InitPreprocessor.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/InitPreprocessor.cpp [927/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderStmt.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderStmt.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderStmt.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ASTReaderStmt.cpp [928/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ModuleDependencyCollector.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ModuleDependencyCollector.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ModuleDependencyCollector.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/ModuleDependencyCollector.cpp [929/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Inclusions -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Inclusions -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderIncludes.cpp.o -MF lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderIncludes.cpp.o.d -o lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderIncludes.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Inclusions/HeaderIncludes.cpp [930/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/SymbolOccurrences.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/SymbolOccurrences.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/SymbolOccurrences.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Rename/SymbolOccurrences.cpp [931/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Replacement.cpp.o -MF lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Replacement.cpp.o.d -o lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Replacement.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Core/Replacement.cpp [932/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TestModuleFileExtension.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TestModuleFileExtension.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TestModuleFileExtension.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/TestModuleFileExtension.cpp [933/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/SourceExtraction.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/SourceExtraction.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/SourceExtraction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Extract/SourceExtraction.cpp [934/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendAction.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendAction.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendAction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp [935/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelectionRequirements.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelectionRequirements.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelectionRequirements.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/ASTSelectionRequirements.cpp [936/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendActions.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendActions.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendActions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendActions.cpp [937/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrecompiledPreamble.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrecompiledPreamble.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrecompiledPreamble.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/PrecompiledPreamble.cpp [938/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Lookup.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Lookup.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Lookup.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Lookup.cpp [939/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Nodes.cpp.o -MF lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Nodes.cpp.o.d -o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Nodes.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax/Nodes.cpp [940/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTConsumers.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTConsumers.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTConsumers.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/ASTConsumers.cpp [941/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/ComputeReplacements.cpp.o -MF lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/ComputeReplacements.cpp.o.d -o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/ComputeReplacements.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax/ComputeReplacements.cpp [942/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInstance.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInstance.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInstance.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp [943/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/Extract.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/Extract.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/Extract.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Extract/Extract.cpp [944/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tree.cpp.o -MF lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tree.cpp.o.d -o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tree.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax/Tree.cpp [945/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTUnit.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTUnit.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTUnit.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/ASTUnit.cpp [946/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Mutations.cpp.o -MF lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Mutations.cpp.o.d -o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Mutations.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax/Mutations.cpp [947/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/TokenBufferTokenManager.cpp.o -MF lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/TokenBufferTokenManager.cpp.o.d -o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/TokenBufferTokenManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax/TokenBufferTokenManager.cpp [948/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningService.cpp.o -MF lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningService.cpp.o.d -o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningService.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning/DependencyScanningService.cpp [949/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/FrontendTool -I/builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/FrontendTool/CMakeFiles/obj.clangFrontendTool.dir/ExecuteCompilerInvocation.cpp.o -MF lib/FrontendTool/CMakeFiles/obj.clangFrontendTool.dir/ExecuteCompilerInvocation.cpp.o.d -o lib/FrontendTool/CMakeFiles/obj.clangFrontendTool.dir/ExecuteCompilerInvocation.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp [950/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/AtomicChange.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/AtomicChange.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/AtomicChange.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/AtomicChange.cpp [951/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Synthesis.cpp.o -MF lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Synthesis.cpp.o.d -o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Synthesis.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax/Synthesis.cpp [952/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FrontendActions.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FrontendActions.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FrontendActions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/FrontendActions.cpp [953/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningFilesystem.cpp.o -MF lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningFilesystem.cpp.o.d -o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningFilesystem.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp [954/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/RefactoringActions.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/RefactoringActions.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/RefactoringActions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/RefactoringActions.cpp [955/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/DirectoryWatcher -I/builddir/build/BUILD/clang-17.0.6.src/lib/DirectoryWatcher -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/DirectoryScanner.cpp.o -MF lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/DirectoryScanner.cpp.o.d -o lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/DirectoryScanner.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/DirectoryWatcher/DirectoryScanner.cpp [956/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteObjC.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteObjC.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/RewriteObjC.cpp [957/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/DirectoryWatcher -I/builddir/build/BUILD/clang-17.0.6.src/lib/DirectoryWatcher -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/linux/DirectoryWatcher-linux.cpp.o -MF lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/linux/DirectoryWatcher-linux.cpp.o.d -o lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/linux/DirectoryWatcher-linux.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp [958/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tokens.cpp.o -MF lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tokens.cpp.o.d -o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tokens.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax/Tokens.cpp [959/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/RenamingAction.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/RenamingAction.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/RenamingAction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Rename/RenamingAction.cpp [960/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderDecl.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderDecl.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderDecl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ASTReaderDecl.cpp [961/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteModernObjC.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteModernObjC.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteModernObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/RewriteModernObjC.cpp [962/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCode.cpp.o -MF lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCode.cpp.o.d -o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCode.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer/SourceCode.cpp [963/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InterfaceStubFunctionsConsumer.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InterfaceStubFunctionsConsumer.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InterfaceStubFunctionsConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/InterfaceStubFunctionsConsumer.cpp [964/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelection.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelection.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelection.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/ASTSelection.cpp [965/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/FileIndexRecord.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/FileIndexRecord.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/FileIndexRecord.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/FileIndexRecord.cpp [966/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/APSIntType.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/APSIntType.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/APSIntType.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/APSIntType.cpp [967/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/CommentToXML.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/CommentToXML.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/CommentToXML.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/CommentToXML.cpp [968/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/IndexSerialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/IndexSerialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/IndexSerialization/CMakeFiles/obj.clangIndexSerialization.dir/SerializablePathCollection.cpp.o -MF lib/IndexSerialization/CMakeFiles/obj.clangIndexSerialization.dir/SerializablePathCollection.cpp.o.d -o lib/IndexSerialization/CMakeFiles/obj.clangIndexSerialization.dir/SerializablePathCollection.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/IndexSerialization/SerializablePathCollection.cpp [969/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/IndexSymbol.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/IndexSymbol.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexSymbol.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/IndexSymbol.cpp [970/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/DumpTool -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DumpTool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/DumpTool/CMakeFiles/clang-ast-dump.dir/ASTSrcLocProcessor.cpp.o -MF lib/Tooling/DumpTool/CMakeFiles/clang-ast-dump.dir/ASTSrcLocProcessor.cpp.o.d -o lib/Tooling/DumpTool/CMakeFiles/clang-ast-dump.dir/ASTSrcLocProcessor.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DumpTool/ASTSrcLocProcessor.cpp [971/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BlockCounter.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BlockCounter.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BlockCounter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BlockCounter.cpp [972/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFindingAction.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFindingAction.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFindingAction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Rename/USRFindingAction.cpp [973/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriter.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriter.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ASTWriter.cpp [974/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningTool.cpp.o -MF lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningTool.cpp.o.d -o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningTool.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning/DependencyScanningTool.cpp [975/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingContext.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingContext.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/IndexingContext.cpp [976/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/ASTDiff -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/ASTDiff/CMakeFiles/obj.clangToolingASTDiff.dir/ASTDiff.cpp.o -MF lib/Tooling/ASTDiff/CMakeFiles/obj.clangToolingASTDiff.dir/ASTDiff.cpp.o.d -o lib/Tooling/ASTDiff/CMakeFiles/obj.clangToolingASTDiff.dir/ASTDiff.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp [977/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/IndexDecl.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/IndexDecl.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexDecl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/IndexDecl.cpp [978/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFinder.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFinder.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFinder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Rename/USRFinder.cpp [979/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RangeSelector.cpp.o -MF lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RangeSelector.cpp.o.d -o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RangeSelector.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer/RangeSelector.cpp [980/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CommonBugCategories.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CommonBugCategories.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CommonBugCategories.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CommonBugCategories.cpp [981/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/DumpTool -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DumpTool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/DumpTool/CMakeFiles/clang-ast-dump.dir/ClangSrcLocDump.cpp.o -MF lib/Tooling/DumpTool/CMakeFiles/clang-ast-dump.dir/ClangSrcLocDump.cpp.o.d -o lib/Tooling/DumpTool/CMakeFiles/clang-ast-dump.dir/ClangSrcLocDump.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DumpTool/ClangSrcLocDump.cpp [982/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Parsing.cpp.o -MF lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Parsing.cpp.o.d -o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Parsing.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer/Parsing.cpp [983/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/BuildTree.cpp.o -MF lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/BuildTree.cpp.o.d -o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/BuildTree.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax/BuildTree.cpp [984/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCodeBuilders.cpp.o -MF lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCodeBuilders.cpp.o.d -o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCodeBuilders.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer/SourceCodeBuilders.cpp [985/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalyzerOptions.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalyzerOptions.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalyzerOptions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp [986/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Transformer.cpp.o -MF lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Transformer.cpp.o.d -o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Transformer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer/Transformer.cpp [987/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BasicValueFactory.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BasicValueFactory.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BasicValueFactory.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BasicValueFactory.cpp [988/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Stencil.cpp.o -MF lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Stencil.cpp.o.d -o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Stencil.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer/Stencil.cpp [989/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/ModuleDepCollector.cpp.o -MF lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/ModuleDepCollector.cpp.o.d -o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/ModuleDepCollector.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp [990/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RewriteRule.cpp.o -MF lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RewriteRule.cpp.o.d -o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RewriteRule.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer/RewriteRule.cpp [991/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningWorker.cpp.o -MF lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningWorker.cpp.o.d -o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningWorker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp [992/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRLocFinder.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRLocFinder.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRLocFinder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp [993/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/USRGeneration.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/USRGeneration.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/USRGeneration.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/USRGeneration.cpp [994/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingAction.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingAction.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingAction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/IndexingAction.cpp [995/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInvocation.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInvocation.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInvocation.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInvocation.cpp [996/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalysisManager.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalysisManager.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalysisManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/AnalysisManager.cpp [997/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Checker.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Checker.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Checker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Checker.cpp [998/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/FunctionSummary.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/FunctionSummary.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/FunctionSummary.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/FunctionSummary.cpp [999/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerHelpers.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerHelpers.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerHelpers.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerHelpers.cpp [1000/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ConstraintManager.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ConstraintManager.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ConstraintManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp [1001/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerRegistryData.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerRegistryData.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerRegistryData.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerRegistryData.cpp [1002/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 && : [1003/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 && : [1004/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/IndexBody.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/IndexBody.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexBody.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/IndexBody.cpp [1005/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/IndexTypeSourceInfo.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/IndexTypeSourceInfo.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexTypeSourceInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/IndexTypeSourceInfo.cpp [1006/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReader.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReader.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReader.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ASTReader.cpp [1007/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicExtent.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicExtent.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicExtent.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicExtent.cpp [1008/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallDescription.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallDescription.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallDescription.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallDescription.cpp [1009/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerContext.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerContext.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerContext.cpp [1010/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Environment.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Environment.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Environment.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Environment.cpp [1011/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 && : [1012/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 && : [1013/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicType.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicType.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicType.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp [1014/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangedConstraintManager.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangedConstraintManager.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangedConstraintManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp [1015/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerManager.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerManager.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp [1016/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CoreEngine.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CoreEngine.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CoreEngine.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp [1017/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallEvent.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallEvent.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallEvent.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp [1018/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExplodedGraph.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExplodedGraph.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExplodedGraph.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExplodedGraph.cpp [1019/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 && : [1020/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineObjC.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineObjC.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp [1021/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 && : [1022/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineC.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineC.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp [1023/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/MemRegion.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/MemRegion.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/MemRegion.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/MemRegion.cpp [1024/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/PlistDiagnostics.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/PlistDiagnostics.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/PlistDiagnostics.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp [1025/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCXX.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCXX.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp [1026/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/HTMLDiagnostics.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/HTMLDiagnostics.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/HTMLDiagnostics.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp [1027/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCallAndReturn.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCallAndReturn.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCallAndReturn.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp [1028/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporter.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporter.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BugReporter.cpp [1029/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SymbolManager.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SymbolManager.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SymbolManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SymbolManager.cpp [1030/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleConstraintManager.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleConstraintManager.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleConstraintManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp [1031/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SVals.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SVals.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SVals.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SVals.cpp [1032/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ProgramState.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ProgramState.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ProgramState.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp [1033/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Inclusions/Stdlib -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Inclusions/Stdlib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Inclusions/Stdlib/CMakeFiles/obj.clangToolingInclusionsStdlib.dir/StandardLibrary.cpp.o -MF lib/Tooling/Inclusions/Stdlib/CMakeFiles/obj.clangToolingInclusionsStdlib.dir/StandardLibrary.cpp.o.d -o lib/Tooling/Inclusions/Stdlib/CMakeFiles/obj.clangToolingInclusionsStdlib.dir/StandardLibrary.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Inclusions/Stdlib/StandardLibrary.cpp [1034/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 && : [1035/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SMTConstraintManager.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SMTConstraintManager.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SMTConstraintManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SMTConstraintManager.cpp [1036/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 && : [1037/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/WorkList.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/WorkList.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/WorkList.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/WorkList.cpp [1038/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Store.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Store.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Store.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp [1039/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SarifDiagnostics.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SarifDiagnostics.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SarifDiagnostics.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp [1040/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopWidening.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopWidening.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopWidening.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/LoopWidening.cpp [1041/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SValBuilder.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SValBuilder.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SValBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SValBuilder.cpp [1042/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleSValBuilder.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleSValBuilder.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleSValBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp [1043/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangeConstraintManager.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangeConstraintManager.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangeConstraintManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp [1044/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/TextDiagnostics.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/TextDiagnostics.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/TextDiagnostics.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/TextDiagnostics.cpp [1045/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ArrayBoundChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ArrayBoundChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ArrayBoundChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ArrayBoundChecker.cpp [1046/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/AnalysisOrderChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/AnalysisOrderChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/AnalysisOrderChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/AnalysisOrderChecker.cpp [1047/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/AnalyzerStatsChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/AnalyzerStatsChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/AnalyzerStatsChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/AnalyzerStatsChecker.cpp [1048/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngine.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngine.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngine.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp [1049/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ArrayBoundCheckerV2.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ArrayBoundCheckerV2.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ArrayBoundCheckerV2.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp [1050/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 && : [1051/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BoolAssignmentChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BoolAssignmentChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BoolAssignmentChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BoolAssignmentChecker.cpp [1052/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BuiltinFunctionChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BuiltinFunctionChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BuiltinFunctionChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp [1053/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 && : [1054/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BlockInCriticalSectionChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BlockInCriticalSectionChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BlockInCriticalSectionChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp [1055/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 && : [1056/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopUnrolling.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopUnrolling.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopUnrolling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/LoopUnrolling.cpp [1057/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 && : [1058/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporterVisitors.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporterVisitors.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporterVisitors.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp In file included from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/DiagnosticIDs.h:18, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.h:17, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/NestedNameSpecifier.h:18, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/Type.h:21, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/DeclarationName.h:16, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/DeclBase.h:18, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Analysis/AnalysisDeclContext.h:20, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Analysis/ProgramPoint.h:17, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h:17, from /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:14: In member function 'llvm::RefCountedBase::Release() const', inlined from 'llvm::IntrusiveRefCntPtrInfo::release(clang::ento::bugreporter::Tracker*)' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:159:45, inlined from 'llvm::IntrusiveRefCntPtr::release()' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41, inlined from 'llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr()' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34, inlined from 'std::make_unique<(anonymous namespace)::StoreSiteFinder, clang::ento::bugreporter::Tracker*, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&>(clang::ento::bugreporter::Tracker*&&, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&)std::__detail::_MakeUniq<(anonymous namespace)::StoreSiteFinder>::__single_object' at /usr/include/c++/12/bits/unique_ptr.h:1065:30, inlined from 'clang::ento::PathSensitiveBugReport::addVisitor<(anonymous namespace)::StoreSiteFinder, clang::ento::bugreporter::Tracker*, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&>(clang::ento::bugreporter::Tracker*&&, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&)void' at /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:499:15, inlined from 'clang::ento::bugreporter::Tracker::track(clang::ento::SVal, clang::ento::MemRegion const*, clang::ento::bugreporter::TrackingOptions, clang::StackFrameContext const*)' at /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:2642:39: /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:100:11: warning: pointer used after 'operator delete(void*, unsigned long)' [-Wuse-after-free] 100 | if (--RefCount == 0) | ^~~~~~~~ In member function 'clang::ento::bugreporter::Tracker::~Tracker()', inlined from 'llvm::RefCountedBase::Release() const' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:101:7, inlined from 'llvm::RefCountedBase::Release() const' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:98:8, inlined from 'llvm::IntrusiveRefCntPtrInfo::release(clang::ento::bugreporter::Tracker*)' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:159:45, inlined from 'llvm::IntrusiveRefCntPtr::release()' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41, inlined from 'llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr()' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34, inlined from '__ct ' at /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:1219:28, inlined from 'std::make_unique<(anonymous namespace)::StoreSiteFinder, clang::ento::bugreporter::Tracker*, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&>(clang::ento::bugreporter::Tracker*&&, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&)std::__detail::_MakeUniq<(anonymous namespace)::StoreSiteFinder>::__single_object' at /usr/include/c++/12/bits/unique_ptr.h:1065:30, inlined from 'clang::ento::PathSensitiveBugReport::addVisitor<(anonymous namespace)::StoreSiteFinder, clang::ento::bugreporter::Tracker*, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&>(clang::ento::bugreporter::Tracker*&&, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&)void' at /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:499:15, inlined from 'clang::ento::bugreporter::Tracker::track(clang::ento::SVal, clang::ento::MemRegion const*, clang::ento::bugreporter::TrackingOptions, clang::StackFrameContext const*)' at /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:2642:39: /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h:187:11: note: call to 'operator delete(void*, unsigned long)' here 187 | virtual ~Tracker() = default; | ^ [1059/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastSizeChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastSizeChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastSizeChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CastSizeChecker.cpp [1060/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckObjCInstMethSignature.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckObjCInstMethSignature.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckObjCInstMethSignature.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp [1061/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringSyntaxChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringSyntaxChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringSyntaxChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringSyntaxChecker.cpp [1062/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BasicObjCFoundationChecks.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BasicObjCFoundationChecks.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BasicObjCFoundationChecks.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp [1063/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CallAndMessageChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CallAndMessageChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CallAndMessageChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp [1064/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckPlacementNew.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckPlacementNew.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckPlacementNew.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CheckPlacementNew.cpp [1065/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckerDocumentation.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckerDocumentation.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckerDocumentation.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp [1066/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastValueChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastValueChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastValueChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp [1067/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSizeofPointer.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSizeofPointer.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSizeofPointer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp [1068/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ChrootChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ChrootChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ChrootChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ChrootChecker.cpp [1069/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RegionStore.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RegionStore.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RegionStore.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp [1070/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ConversionChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ConversionChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ConversionChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ConversionChecker.cpp [1071/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp [1072/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSecuritySyntaxOnly.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSecuritySyntaxOnly.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSecuritySyntaxOnly.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp [1073/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckObjCDealloc.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckObjCDealloc.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckObjCDealloc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp [1074/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CXXSelfAssignmentChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CXXSelfAssignmentChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CXXSelfAssignmentChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CXXSelfAssignmentChecker.cpp [1075/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CloneChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CloneChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CloneChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CloneChecker.cpp [1076/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DeleteWithNonVirtualDtorChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DeleteWithNonVirtualDtorChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DeleteWithNonVirtualDtorChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DeleteWithNonVirtualDtorChecker.cpp [1077/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugContainerModeling.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugContainerModeling.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugContainerModeling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DebugContainerModeling.cpp [1078/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugIteratorModeling.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugIteratorModeling.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugIteratorModeling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DebugIteratorModeling.cpp [1079/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DereferenceChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DereferenceChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DereferenceChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp [1080/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastToStructChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastToStructChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastToStructChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CastToStructChecker.cpp [1081/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ContainerModeling.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ContainerModeling.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ContainerModeling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp [1082/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DivZeroChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DivZeroChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DivZeroChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp [1083/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypeChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypeChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypeChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DynamicTypeChecker.cpp [1084/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/EnumCastOutOfRangeChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/EnumCastOutOfRangeChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/EnumCastOutOfRangeChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/EnumCastOutOfRangeChecker.cpp [1085/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DirectIvarAssignment.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DirectIvarAssignment.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DirectIvarAssignment.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DirectIvarAssignment.cpp [1086/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoChecker.cpp [1087/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/FixedAddressChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/FixedAddressChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/FixedAddressChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/FixedAddressChecker.cpp [1088/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoTesterChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoTesterChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoTesterChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoTesterChecker.cpp [1089/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoModeling.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoModeling.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoModeling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp [1090/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/Iterator.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/Iterator.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/Iterator.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Iterator.cpp [1091/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GTestChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GTestChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GTestChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GTestChecker.cpp [1092/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/FuchsiaHandleChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/FuchsiaHandleChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/FuchsiaHandleChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/FuchsiaHandleChecker.cpp [1093/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/InvalidatedIteratorChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/InvalidatedIteratorChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/InvalidatedIteratorChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/InvalidatedIteratorChecker.cpp [1094/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IteratorRangeChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IteratorRangeChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IteratorRangeChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/IteratorRangeChecker.cpp [1095/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DeadStoresChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DeadStoresChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DeadStoresChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp [1096/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugCheckers.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugCheckers.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugCheckers.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DebugCheckers.cpp [1097/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ExprInspectionChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ExprInspectionChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ExprInspectionChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp [1098/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/InnerPointerChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/InnerPointerChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/InnerPointerChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/InnerPointerChecker.cpp [1099/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/cert/InvalidPtrChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/cert/InvalidPtrChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/cert/InvalidPtrChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/cert/InvalidPtrChecker.cpp [1100/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IteratorModeling.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IteratorModeling.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IteratorModeling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/IteratorModeling.cpp [1101/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/LLVMConventionsChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/LLVMConventionsChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/LLVMConventionsChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/LLVMConventionsChecker.cpp [1102/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IvarInvalidationChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IvarInvalidationChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IvarInvalidationChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp [1103/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MacOSXAPIChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MacOSXAPIChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MacOSXAPIChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp [1104/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MacOSKeychainAPIChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MacOSKeychainAPIChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MacOSKeychainAPIChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp [1105/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GCDAntipatternChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GCDAntipatternChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GCDAntipatternChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GCDAntipatternChecker.cpp [1106/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MismatchedIteratorChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MismatchedIteratorChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MismatchedIteratorChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MismatchedIteratorChecker.cpp [1107/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MmapWriteExecChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MmapWriteExecChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MmapWriteExecChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MmapWriteExecChecker.cpp [1108/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GenericTaintChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GenericTaintChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GenericTaintChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp [1109/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocOverflowSecurityChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocOverflowSecurityChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocOverflowSecurityChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp [1110/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypePropagation.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypePropagation.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypePropagation.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp [1111/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIFunctionClassifier.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIFunctionClassifier.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIFunctionClassifier.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIFunctionClassifier.cpp [1112/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IdenticalExprChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IdenticalExprChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IdenticalExprChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/IdenticalExprChecker.cpp [1113/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIBugReporter.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIBugReporter.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIBugReporter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.cpp [1114/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocSizeofChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocSizeofChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocSizeofChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp [1115/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIChecker.cpp [1116/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MIGChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MIGChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MIGChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MIGChecker.cpp [1117/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MoveChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MoveChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MoveChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MoveChecker.cpp [1118/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NoReturnFunctionChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NoReturnFunctionChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NoReturnFunctionChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NoReturnFunctionChecker.cpp [1119/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NonnullGlobalConstantsChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NonnullGlobalConstantsChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NonnullGlobalConstantsChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NonnullGlobalConstantsChecker.cpp [1120/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NSAutoreleasePoolChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NSAutoreleasePoolChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NSAutoreleasePoolChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NSAutoreleasePoolChecker.cpp [1121/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCAtSyncChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCAtSyncChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCAtSyncChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCAtSyncChecker.cpp [1122/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NonNullParamChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NonNullParamChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NonNullParamChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp [1123/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCContainersASTChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCContainersASTChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCContainersASTChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp [1124/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCPropertyChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCPropertyChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCPropertyChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCPropertyChecker.cpp [1125/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NSErrorChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NSErrorChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NSErrorChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp [1126/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCContainersChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCContainersChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCContainersChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp [1127/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NullabilityChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NullabilityChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NullabilityChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp [1128/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCUnusedIVarsChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCUnusedIVarsChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCUnusedIVarsChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCUnusedIVarsChecker.cpp [1129/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCSelfInitChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCSelfInitChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCSelfInitChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp [1130/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerSubChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerSubChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerSubChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerSubChecker.cpp [1131/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCSuperDeallocChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCSuperDeallocChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCSuperDeallocChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCSuperDeallocChecker.cpp [1132/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/LocalizationChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/LocalizationChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/LocalizationChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp [1133/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/cert/PutenvWithAutoChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/cert/PutenvWithAutoChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/cert/PutenvWithAutoChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/cert/PutenvWithAutoChecker.cpp [1134/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerArithChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerArithChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerArithChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp [1135/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnPointerRangeChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnPointerRangeChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnPointerRangeChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ReturnPointerRangeChecker.cpp [1136/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnUndefChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnUndefChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnUndefChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ReturnUndefChecker.cpp [1137/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RetainCountChecker/RetainCountDiagnostics.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RetainCountChecker/RetainCountDiagnostics.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RetainCountChecker/RetainCountDiagnostics.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp [1138/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PthreadLockChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PthreadLockChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PthreadLockChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp [1139/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnValueChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnValueChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnValueChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ReturnValueChecker.cpp [1140/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RetainCountChecker/RetainCountChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RetainCountChecker/RetainCountChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RetainCountChecker/RetainCountChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp [1141/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp [1142/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SmartPtrChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SmartPtrChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SmartPtrChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/SmartPtrChecker.cpp [1143/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCMissingSuperCallChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCMissingSuperCallChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCMissingSuperCallChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp [1144/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCAutoreleaseWriteChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCAutoreleaseWriteChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCAutoreleaseWriteChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCAutoreleaseWriteChecker.cpp [1145/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NumberObjectConversionChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NumberObjectConversionChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NumberObjectConversionChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp [1146/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerIterationChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerIterationChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerIterationChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerIterationChecker.cpp [1147/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SimpleStreamChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SimpleStreamChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SimpleStreamChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp [1148/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/OSObjectCStyleCast.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/OSObjectCStyleCast.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/OSObjectCStyleCast.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/OSObjectCStyleCast.cpp [1149/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/STLAlgorithmModeling.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/STLAlgorithmModeling.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/STLAlgorithmModeling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/STLAlgorithmModeling.cpp [1150/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StackAddrEscapeChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StackAddrEscapeChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StackAddrEscapeChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp [1151/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SmartPtrModeling.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SmartPtrModeling.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SmartPtrModeling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp [1152/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TaintTesterChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TaintTesterChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TaintTesterChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/TaintTesterChecker.cpp [1153/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PaddingChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PaddingChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PaddingChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PaddingChecker.cpp [1154/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerSortingChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerSortingChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerSortingChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerSortingChecker.cpp [1155/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StringChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StringChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StringChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StringChecker.cpp [1156/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TraversalChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TraversalChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TraversalChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/TraversalChecker.cpp [1157/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/Taint.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/Taint.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/Taint.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Taint.cpp [1158/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TrustReturnsNonnullChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TrustReturnsNonnullChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TrustReturnsNonnullChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/TrustReturnsNonnullChecker.cpp [1159/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TestAfterDivZeroChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TestAfterDivZeroChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TestAfterDivZeroChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp [1160/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StreamChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StreamChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StreamChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp [1161/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/ASTUtils.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/ASTUtils.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/ASTUtils.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp [1162/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefBranchChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefBranchChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefBranchChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UndefBranchChecker.cpp [1163/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/PtrTypesSemantics.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/PtrTypesSemantics.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/PtrTypesSemantics.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp [1164/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefCapturedBlockVarChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefCapturedBlockVarChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefCapturedBlockVarChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UndefCapturedBlockVarChecker.cpp [1165/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefResultChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefResultChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefResultChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp [1166/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TrustNonnullChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TrustNonnullChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TrustNonnullChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/TrustNonnullChecker.cpp [1167/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend/../Checkers -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelConsumer.cpp.o -MF lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelConsumer.cpp.o.d -o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/ModelConsumer.cpp [1168/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedNewArraySizeChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedNewArraySizeChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedNewArraySizeChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UndefinedNewArraySizeChecker.cpp [1169/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedAssignmentChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedAssignmentChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedAssignmentChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UndefinedAssignmentChecker.cpp [1170/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedArraySubscriptChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedArraySubscriptChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedArraySubscriptChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UndefinedArraySubscriptChecker.cpp [1171/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RunLoopAutoreleaseLeakChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RunLoopAutoreleaseLeakChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RunLoopAutoreleaseLeakChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/RunLoopAutoreleaseLeakChecker.cpp [1172/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UninitializedObject/UninitializedPointee.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UninitializedObject/UninitializedPointee.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UninitializedObject/UninitializedPointee.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedPointee.cpp [1173/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/FormatToken.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/FormatToken.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/FormatToken.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/FormatToken.cpp [1174/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UnreachableCodeChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UnreachableCodeChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UnreachableCodeChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp [1175/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/AffectedRangeManager.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/AffectedRangeManager.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/AffectedRangeManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/AffectedRangeManager.cpp [1176/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VforkChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VforkChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VforkChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VforkChecker.cpp [1177/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/DefinitionBlockSeparator.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/DefinitionBlockSeparator.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/DefinitionBlockSeparator.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/DefinitionBlockSeparator.cpp [1178/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UnixAPIChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UnixAPIChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UnixAPIChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp [1179/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/BreakableToken.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/BreakableToken.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/BreakableToken.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/BreakableToken.cpp [1180/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VLASizeChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VLASizeChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VLASizeChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp [1181/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/NamespaceEndCommentsFixer.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/NamespaceEndCommentsFixer.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/NamespaceEndCommentsFixer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/NamespaceEndCommentsFixer.cpp [1182/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGBuiltin.cpp [1183/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/MacroCallReconstructor.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/MacroCallReconstructor.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/MacroCallReconstructor.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/MacroCallReconstructor.cpp [1184/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/IntegerLiteralSeparatorFixer.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/IntegerLiteralSeparatorFixer.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/IntegerLiteralSeparatorFixer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/IntegerLiteralSeparatorFixer.cpp [1185/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend/../Checkers -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CreateCheckerManager.cpp.o -MF lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CreateCheckerManager.cpp.o.d -o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CreateCheckerManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/CreateCheckerManager.cpp [1186/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend/../Checkers -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/FrontendActions.cpp.o -MF lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/FrontendActions.cpp.o.d -o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/FrontendActions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/FrontendActions.cpp [1187/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VirtualCallChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VirtualCallChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VirtualCallChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp [1188/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/FormatTokenLexer.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/FormatTokenLexer.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/FormatTokenLexer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/FormatTokenLexer.cpp [1189/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ValistChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ValistChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ValistChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ValistChecker.cpp [1190/2015] /usr/bin/gcc -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-fuzzer/dictionary -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-fuzzer/dictionary -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -MD -MT tools/clang-fuzzer/dictionary/CMakeFiles/clang-fuzzer-dictionary.dir/dictionary.c.o -MF tools/clang-fuzzer/dictionary/CMakeFiles/clang-fuzzer-dictionary.dir/dictionary.c.o.d -o tools/clang-fuzzer/dictionary/CMakeFiles/clang-fuzzer-dictionary.dir/dictionary.c.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-fuzzer/dictionary/dictionary.c [1191/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /usr/bin/llvm-tblgen -gen-opt-parser-defs -I /builddir/build/BUILD/clang-17.0.6.src/tools/clang-linker-wrapper -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/tools/clang-linker-wrapper/LinkerWrapperOpts.td --write-if-changed -o tools/clang-linker-wrapper/LinkerWrapperOpts.inc -d tools/clang-linker-wrapper/LinkerWrapperOpts.inc.d [1192/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineFormatter.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineFormatter.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineFormatter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/UnwrappedLineFormatter.cpp [1193/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/QualifierAlignmentFixer.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/QualifierAlignmentFixer.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/QualifierAlignmentFixer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/QualifierAlignmentFixer.cpp [1194/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /usr/bin/llvm-tblgen -gen-opt-parser-defs -I /builddir/build/BUILD/clang-17.0.6.src/tools/clang-scan-deps -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/tools/clang-scan-deps/Opts.td --write-if-changed -o tools/clang-scan-deps/Opts.inc -d tools/clang-scan-deps/Opts.inc.d [1195/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/MacroExpander.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/MacroExpander.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/MacroExpander.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/MacroExpander.cpp [1196/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/ContinuationIndenter.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/ContinuationIndenter.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/ContinuationIndenter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/ContinuationIndenter.cpp [1197/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnalyzer.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnalyzer.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnalyzer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/TokenAnalyzer.cpp [1198/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/SortJavaScriptImports.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/SortJavaScriptImports.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/SortJavaScriptImports.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/SortJavaScriptImports.cpp [1199/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/UsingDeclarationsSorter.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/UsingDeclarationsSorter.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/UsingDeclarationsSorter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/UsingDeclarationsSorter.cpp [1200/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend/../Checkers -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalyzerHelpFlags.cpp.o -MF lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalyzerHelpFlags.cpp.o.d -o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalyzerHelpFlags.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalyzerHelpFlags.cpp [1201/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend/../Checkers -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CheckerRegistry.cpp.o -MF lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CheckerRegistry.cpp.o.d -o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CheckerRegistry.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp [1202/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-linker-wrapper -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-linker-wrapper -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-linker-wrapper/CMakeFiles/clang-linker-wrapper.dir/OffloadWrapper.cpp.o -MF tools/clang-linker-wrapper/CMakeFiles/clang-linker-wrapper.dir/OffloadWrapper.cpp.o.d -o tools/clang-linker-wrapper/CMakeFiles/clang-linker-wrapper.dir/OffloadWrapper.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-linker-wrapper/OffloadWrapper.cpp [1203/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/WhitespaceManager.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/WhitespaceManager.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/WhitespaceManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/WhitespaceManager.cpp [1204/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/Format.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/Format.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/Format.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/Format.cpp [1205/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalExecutor.cpp.o -MF lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalExecutor.cpp.o.d -o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalExecutor.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter/IncrementalExecutor.cpp [1206/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineParser.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineParser.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineParser.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/UnwrappedLineParser.cpp [1207/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Value.cpp.o -MF lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Value.cpp.o.d -o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Value.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter/Value.cpp [1208/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UninitializedObject/UninitializedObjectChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UninitializedObject/UninitializedObjectChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UninitializedObject/UninitializedObjectChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp [1209/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnnotator.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnnotator.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnnotator.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/TokenAnnotator.cpp [1210/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/NoUncountedMembersChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/NoUncountedMembersChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/NoUncountedMembersChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/WebKit/NoUncountedMembersChecker.cpp [1211/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RefCntblBaseVirtualDtorChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RefCntblBaseVirtualDtorChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RefCntblBaseVirtualDtorChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/WebKit/RefCntblBaseVirtualDtorChecker.cpp [1212/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLambdaCapturesChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLambdaCapturesChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLambdaCapturesChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/WebKit/UncountedLambdaCapturesChecker.cpp [1213/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.cpp.o -MF lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.cpp.o.d -o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter/DeviceOffload.cpp [1214/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLocalVarsChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLocalVarsChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLocalVarsChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/WebKit/UncountedLocalVarsChecker.cpp [1215/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend/../Checkers -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelInjector.cpp.o -MF lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelInjector.cpp.o.d -o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelInjector.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/ModelInjector.cpp [1216/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-fuzzer/handle-llvm -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-fuzzer/handle-llvm -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-fuzzer/handle-llvm/CMakeFiles/obj.clangHandleLLVM.dir/handle_llvm.cpp.o -MF tools/clang-fuzzer/handle-llvm/CMakeFiles/obj.clangHandleLLVM.dir/handle_llvm.cpp.o.d -o tools/clang-fuzzer/handle-llvm/CMakeFiles/obj.clangHandleLLVM.dir/handle_llvm.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp [1217/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/InterpreterUtils.cpp.o -MF lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/InterpreterUtils.cpp.o.d -o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/InterpreterUtils.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter/InterpreterUtils.cpp [1218/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedCallArgsChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedCallArgsChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedCallArgsChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/WebKit/UncountedCallArgsChecker.cpp [1219/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-fuzzer/handle-cxx -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-fuzzer/handle-cxx -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-fuzzer/handle-cxx/. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-fuzzer/handle-cxx/CMakeFiles/obj.clangHandleCXX.dir/handle_cxx.cpp.o -MF tools/clang-fuzzer/handle-cxx/CMakeFiles/obj.clangHandleCXX.dir/handle_cxx.cpp.o.d -o tools/clang-fuzzer/handle-cxx/CMakeFiles/obj.clangHandleCXX.dir/handle_cxx.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-fuzzer/handle-cxx/handle_cxx.cpp [1220/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-apply-replacements -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-apply-replacements -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-apply-replacements/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-apply-replacements/CMakeFiles/obj.clangApplyReplacements.dir/lib/Tooling/ApplyReplacements.cpp.o -MF tools/extra/clang-apply-replacements/CMakeFiles/obj.clangApplyReplacements.dir/lib/Tooling/ApplyReplacements.cpp.o.d -o tools/extra/clang-apply-replacements/CMakeFiles/obj.clangApplyReplacements.dir/lib/Tooling/ApplyReplacements.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp [1221/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalParser.cpp.o -MF lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalParser.cpp.o.d -o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalParser.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter/IncrementalParser.cpp [1222/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecAcceptCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecAcceptCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecAcceptCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecAcceptCheck.cpp [1223/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecAccept4Check.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecAccept4Check.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecAccept4Check.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecAccept4Check.cpp [1224/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend/../Checkers -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.o -MF lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.o.d -o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp [1225/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecEpollCreateCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecEpollCreateCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecEpollCreateCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecEpollCreateCheck.cpp [1226/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-linker-wrapper -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-linker-wrapper -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-linker-wrapper/CMakeFiles/clang-linker-wrapper.dir/ClangLinkerWrapper.cpp.o -MF tools/clang-linker-wrapper/CMakeFiles/clang-linker-wrapper.dir/ClangLinkerWrapper.cpp.o.d -o tools/clang-linker-wrapper/CMakeFiles/clang-linker-wrapper.dir/ClangLinkerWrapper.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp [1227/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecDupCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecDupCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecDupCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecDupCheck.cpp [1228/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecCreatCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecCreatCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecCreatCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecCreatCheck.cpp [1229/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StdLibraryFunctionsChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StdLibraryFunctionsChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StdLibraryFunctionsChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp [1230/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/AndroidTidyModule.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/AndroidTidyModule.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/AndroidTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/AndroidTidyModule.cpp [1231/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecCheck.cpp [1232/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecMemfdCreateCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecMemfdCreateCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecMemfdCreateCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecMemfdCreateCheck.cpp [1233/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecInotifyInit1Check.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecInotifyInit1Check.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecInotifyInit1Check.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecInotifyInit1Check.cpp [1234/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecEpollCreate1Check.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecEpollCreate1Check.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecEpollCreate1Check.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecEpollCreate1Check.cpp [1235/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecOpenCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecOpenCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecOpenCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecOpenCheck.cpp [1236/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-reorder-fields -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-reorder-fields -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-reorder-fields/CMakeFiles/obj.clangReorderFields.dir/ReorderFieldsAction.cpp.o -MF tools/extra/clang-reorder-fields/CMakeFiles/obj.clangReorderFields.dir/ReorderFieldsAction.cpp.o.d -o tools/extra/clang-reorder-fields/CMakeFiles/obj.clangReorderFields.dir/ReorderFieldsAction.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-reorder-fields/ReorderFieldsAction.cpp [1237/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecInotifyInitCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecInotifyInitCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecInotifyInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecInotifyInitCheck.cpp [1238/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecPipeCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecPipeCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecPipeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecPipeCheck.cpp [1239/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecFopenCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecFopenCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecFopenCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecFopenCheck.cpp [1240/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/altera -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/StructPackAlignCheck.cpp.o -MF tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/StructPackAlignCheck.cpp.o.d -o tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/StructPackAlignCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera/StructPackAlignCheck.cpp [1241/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecPipe2Check.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecPipe2Check.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecPipe2Check.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecPipe2Check.cpp [1242/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/ComparisonInTempFailureRetryCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/ComparisonInTempFailureRetryCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/ComparisonInTempFailureRetryCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/ComparisonInTempFailureRetryCheck.cpp [1243/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Interpreter.cpp.o -MF lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Interpreter.cpp.o.d -o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Interpreter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter/Interpreter.cpp [1244/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecSocketCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecSocketCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecSocketCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecSocketCheck.cpp [1245/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/altera -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/KernelNameRestrictionCheck.cpp.o -MF tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/KernelNameRestrictionCheck.cpp.o.d -o tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/KernelNameRestrictionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera/KernelNameRestrictionCheck.cpp [1246/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/altera -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/AlteraTidyModule.cpp.o -MF tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/AlteraTidyModule.cpp.o.d -o tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/AlteraTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera/AlteraTidyModule.cpp [1247/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/altera -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/SingleWorkItemBarrierCheck.cpp.o -MF tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/SingleWorkItemBarrierCheck.cpp.o.d -o tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/SingleWorkItemBarrierCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera/SingleWorkItemBarrierCheck.cpp [1248/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/boost -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/boost -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/boost/CMakeFiles/obj.clangTidyBoostModule.dir/BoostTidyModule.cpp.o -MF tools/extra/clang-tidy/boost/CMakeFiles/obj.clangTidyBoostModule.dir/BoostTidyModule.cpp.o.d -o tools/extra/clang-tidy/boost/CMakeFiles/obj.clangTidyBoostModule.dir/BoostTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/boost/BoostTidyModule.cpp [1249/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/altera -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/UnrollLoopsCheck.cpp.o -MF tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/UnrollLoopsCheck.cpp.o.d -o tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/UnrollLoopsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera/UnrollLoopsCheck.cpp [1250/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/altera -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/IdDependentBackwardBranchCheck.cpp.o -MF tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/IdDependentBackwardBranchCheck.cpp.o.d -o tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/IdDependentBackwardBranchCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera/IdDependentBackwardBranchCheck.cpp [1251/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/boost -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/boost -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/boost/CMakeFiles/obj.clangTidyBoostModule.dir/UseToStringCheck.cpp.o -MF tools/extra/clang-tidy/boost/CMakeFiles/obj.clangTidyBoostModule.dir/UseToStringCheck.cpp.o.d -o tools/extra/clang-tidy/boost/CMakeFiles/obj.clangTidyBoostModule.dir/UseToStringCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/boost/UseToStringCheck.cpp [1252/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/CommandProcessorCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/CommandProcessorCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/CommandProcessorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/CommandProcessorCheck.cpp [1253/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/DefaultOperatorNewAlignmentCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/DefaultOperatorNewAlignmentCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/DefaultOperatorNewAlignmentCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/DefaultOperatorNewAlignmentCheck.cpp [1254/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/DontModifyStdNamespaceCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/DontModifyStdNamespaceCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/DontModifyStdNamespaceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/DontModifyStdNamespaceCheck.cpp [1255/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/FloatLoopCounter.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/FloatLoopCounter.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/FloatLoopCounter.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/FloatLoopCounter.cpp [1256/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/LimitedRandomnessCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/LimitedRandomnessCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/LimitedRandomnessCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/LimitedRandomnessCheck.cpp [1257/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/CERTTidyModule.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/CERTTidyModule.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/CERTTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/CERTTidyModule.cpp [1258/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/StrToNumCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/StrToNumCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/StrToNumCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/StrToNumCheck.cpp [1259/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/VariadicFunctionDefCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/VariadicFunctionDefCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/VariadicFunctionDefCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/VariadicFunctionDefCheck.cpp [1260/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/darwin -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/darwin -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/DarwinTidyModule.cpp.o -MF tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/DarwinTidyModule.cpp.o.d -o tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/DarwinTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/darwin/DarwinTidyModule.cpp [1261/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/ProperlySeededRandomGeneratorCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/ProperlySeededRandomGeneratorCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/ProperlySeededRandomGeneratorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.cpp [1262/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/ThrownExceptionTypeCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/ThrownExceptionTypeCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/ThrownExceptionTypeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/ThrownExceptionTypeCheck.cpp [1263/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/darwin -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/darwin -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/AvoidSpinlockCheck.cpp.o -MF tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/AvoidSpinlockCheck.cpp.o.d -o tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/AvoidSpinlockCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/darwin/AvoidSpinlockCheck.cpp [1264/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/NonTrivialTypesLibcMemoryCallsCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/NonTrivialTypesLibcMemoryCallsCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/NonTrivialTypesLibcMemoryCallsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/NonTrivialTypesLibcMemoryCallsCheck.cpp [1265/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/StaticObjectExceptionCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/StaticObjectExceptionCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/StaticObjectExceptionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/StaticObjectExceptionCheck.cpp [1266/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/MutatingCopyCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/MutatingCopyCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/MutatingCopyCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/MutatingCopyCheck.cpp [1267/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/PostfixOperatorCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/PostfixOperatorCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/PostfixOperatorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/PostfixOperatorCheck.cpp [1268/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/SetLongJmpCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/SetLongJmpCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/SetLongJmpCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/SetLongJmpCheck.cpp [1269/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/DefaultArgumentsDeclarationsCheck.cpp.o -MF tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/DefaultArgumentsDeclarationsCheck.cpp.o.d -o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/DefaultArgumentsDeclarationsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia/DefaultArgumentsDeclarationsCheck.cpp [1270/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/darwin -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/darwin -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/DispatchOnceNonstaticCheck.cpp.o -MF tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/DispatchOnceNonstaticCheck.cpp.o.d -o tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/DispatchOnceNonstaticCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/darwin/DispatchOnceNonstaticCheck.cpp [1271/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/DefaultArgumentsCallsCheck.cpp.o -MF tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/DefaultArgumentsCallsCheck.cpp.o.d -o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/DefaultArgumentsCallsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia/DefaultArgumentsCallsCheck.cpp [1272/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/FuchsiaTidyModule.cpp.o -MF tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/FuchsiaTidyModule.cpp.o.d -o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/FuchsiaTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia/FuchsiaTidyModule.cpp [1273/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/StaticallyConstructedObjectsCheck.cpp.o -MF tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/StaticallyConstructedObjectsCheck.cpp.o.d -o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/StaticallyConstructedObjectsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia/StaticallyConstructedObjectsCheck.cpp [1274/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/MultipleInheritanceCheck.cpp.o -MF tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/MultipleInheritanceCheck.cpp.o.d -o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/MultipleInheritanceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia/MultipleInheritanceCheck.cpp [1275/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/OverloadedOperatorCheck.cpp.o -MF tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/OverloadedOperatorCheck.cpp.o.d -o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/OverloadedOperatorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia/OverloadedOperatorCheck.cpp [1276/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections lib/Tooling/DumpTool/CMakeFiles/clang-ast-dump.dir/ASTSrcLocProcessor.cpp.o lib/Tooling/DumpTool/CMakeFiles/clang-ast-dump.dir/ClangSrcLocDump.cpp.o -o bin/clang-ast-dump lib64/libclangAST.a lib64/libclangASTMatchers.a lib64/libclangBasic.a lib64/libclangDriver.a lib64/libclangFrontend.a lib64/libclangSerialization.a lib64/libclangToolingCore.a lib64/libclangDriver.a lib64/libclangParse.a lib64/libclangSema.a lib64/libclangEdit.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangAST.a lib64/libclangSupport.a lib64/libclangRewrite.a lib64/libclangLex.a lib64/libclangBasic.a /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobalTemp.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp: In function 'getFunction.isra': /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp:286: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 286 | I.Fun.DeclsInPrototype = new NamedDecl *[DeclsInPrototype.size()]; | /usr/include/c++/12/new:128: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from '__dt_base ' at /usr/include/llvm/ADT/APSInt.h:23:0, inlined from 'checkOMPArraySectionConstantForReduction' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19108:0, inlined from 'actOnOMPReductionKindClause.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:0: /usr/include/llvm/ADT/APInt.h:170: warning: 'operator delete []' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from '__dt_base ' at /usr/include/llvm/ADT/APSInt.h:23:0, inlined from 'checkOMPArraySectionConstantForReduction' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19127:0, inlined from 'actOnOMPReductionKindClause.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:0: /usr/include/llvm/ADT/APInt.h:170: warning: 'operator delete []' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [1277/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/TrailingReturnCheck.cpp.o -MF tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/TrailingReturnCheck.cpp.o.d -o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/TrailingReturnCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia/TrailingReturnCheck.cpp [1278/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/VirtualInheritanceCheck.cpp.o -MF tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/VirtualInheritanceCheck.cpp.o.d -o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/VirtualInheritanceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia/VirtualInheritanceCheck.cpp [1279/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-ast-dump --skip-processing=0 -I /usr/lib64/clang/17/include -I /builddir/build/BUILD/clang-17.0.6.src/include -I /usr/tools/clang/include -I /usr/include -I /include -I /usr/include/c++/12 -I /usr/include/c++/12/aarch64-OpenCloudOS-linux -I /usr/include/c++/12/backward -I /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/include -I /usr/local/include -I /usr/include --json-output-path /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/ASTNodeAPI.json [1280/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling && /usr/bin/python3.11 /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DumpTool/generate_cxx_src_locs.py --json-input-path /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/ASTNodeAPI.json --output-file NodeIntrospection.inc --use-empty-implementation 0 --empty-implementation /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/EmptyNodeIntrospection.inc.in && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/NodeIntrospection.inc /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include/clang/Tooling/NodeIntrospection.inc [1281/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidThrowingObjCExceptionCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidThrowingObjCExceptionCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidThrowingObjCExceptionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/AvoidThrowingObjCExceptionCheck.cpp [1282/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidNSObjectNewCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidNSObjectNewCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidNSObjectNewCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/AvoidNSObjectNewCheck.cpp [1283/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidCStyleCastsCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidCStyleCastsCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidCStyleCastsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/AvoidCStyleCastsCheck.cpp [1284/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidUnderscoreInGoogletestNameCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidUnderscoreInGoogletestNameCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidUnderscoreInGoogletestNameCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/AvoidUnderscoreInGoogletestNameCheck.cpp [1285/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/DefaultArgumentsCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/DefaultArgumentsCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/DefaultArgumentsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/DefaultArgumentsCheck.cpp [1286/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/ArgumentsAdjusters.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/ArgumentsAdjusters.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/ArgumentsAdjusters.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ArgumentsAdjusters.cpp [1287/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/ExplicitConstructorCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/ExplicitConstructorCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/ExplicitConstructorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/ExplicitConstructorCheck.cpp [1288/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/ExplicitMakePairCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/ExplicitMakePairCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/ExplicitMakePairCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/ExplicitMakePairCheck.cpp [1289/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/FunctionNamingCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/FunctionNamingCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/FunctionNamingCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/FunctionNamingCheck.cpp [1290/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GlobalNamesInHeadersCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GlobalNamesInHeadersCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GlobalNamesInHeadersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/GlobalNamesInHeadersCheck.cpp [1291/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GlobalVariableDeclarationCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GlobalVariableDeclarationCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GlobalVariableDeclarationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/GlobalVariableDeclarationCheck.cpp [1292/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/FileMatchTrie.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/FileMatchTrie.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/FileMatchTrie.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/FileMatchTrie.cpp [1293/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/IntegerTypesCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/IntegerTypesCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/IntegerTypesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/IntegerTypesCheck.cpp [1294/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UnnamedNamespaceInHeaderCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UnnamedNamespaceInHeaderCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UnnamedNamespaceInHeaderCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/UnnamedNamespaceInHeaderCheck.cpp [1295/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/OverloadedUnaryAndCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/OverloadedUnaryAndCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/OverloadedUnaryAndCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/OverloadedUnaryAndCheck.cpp [1296/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UsingNamespaceDirectiveCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UsingNamespaceDirectiveCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UsingNamespaceDirectiveCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/UsingNamespaceDirectiveCheck.cpp [1297/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GoogleTidyModule.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GoogleTidyModule.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GoogleTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/GoogleTidyModule.cpp [1298/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/hicpp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/ExceptionBaseclassCheck.cpp.o -MF tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/ExceptionBaseclassCheck.cpp.o.d -o tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/ExceptionBaseclassCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp/ExceptionBaseclassCheck.cpp [1299/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/hicpp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/NoAssemblerCheck.cpp.o -MF tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/NoAssemblerCheck.cpp.o.d -o tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/NoAssemblerCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp/NoAssemblerCheck.cpp [1300/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/FixIt.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/FixIt.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/FixIt.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/FixIt.cpp [1301/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/hicpp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/MultiwayPathsCoveredCheck.cpp.o -MF tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/MultiwayPathsCoveredCheck.cpp.o.d -o tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/MultiwayPathsCoveredCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp/MultiwayPathsCoveredCheck.cpp [1302/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/linuxkernel -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/linuxkernel -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/linuxkernel/CMakeFiles/obj.clangTidyLinuxKernelModule.dir/LinuxKernelTidyModule.cpp.o -MF tools/extra/clang-tidy/linuxkernel/CMakeFiles/obj.clangTidyLinuxKernelModule.dir/LinuxKernelTidyModule.cpp.o.d -o tools/extra/clang-tidy/linuxkernel/CMakeFiles/obj.clangTidyLinuxKernelModule.dir/LinuxKernelTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/linuxkernel/LinuxKernelTidyModule.cpp [1303/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/diagtool/CMakeFiles/diagtool.dir/diagtool_main.cpp.o -MF tools/diagtool/CMakeFiles/diagtool.dir/diagtool_main.cpp.o.d -o tools/diagtool/CMakeFiles/diagtool.dir/diagtool_main.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/diagtool/diagtool_main.cpp [1304/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/AvoidNSErrorInitCheck.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/AvoidNSErrorInitCheck.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/AvoidNSErrorInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/AvoidNSErrorInitCheck.cpp [1305/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/TodoCommentCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/TodoCommentCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/TodoCommentCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/TodoCommentCheck.cpp [1306/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/linuxkernel -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/linuxkernel -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/linuxkernel/CMakeFiles/obj.clangTidyLinuxKernelModule.dir/MustCheckErrsCheck.cpp.o -MF tools/extra/clang-tidy/linuxkernel/CMakeFiles/obj.clangTidyLinuxKernelModule.dir/MustCheckErrsCheck.cpp.o.d -o tools/extra/clang-tidy/linuxkernel/CMakeFiles/obj.clangTidyLinuxKernelModule.dir/MustCheckErrsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/linuxkernel/MustCheckErrsCheck.cpp [1307/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/SampleAnalyzer -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/SampleAnalyzer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT lib/Analysis/plugins/SampleAnalyzer/CMakeFiles/SampleAnalyzerPlugin.dir/MainCallChecker.cpp.o -MF lib/Analysis/plugins/SampleAnalyzer/CMakeFiles/SampleAnalyzerPlugin.dir/MainCallChecker.cpp.o.d -o lib/Analysis/plugins/SampleAnalyzer/CMakeFiles/SampleAnalyzerPlugin.dir/MainCallChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/SampleAnalyzer/MainCallChecker.cpp [1308/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/hicpp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/HICPPTidyModule.cpp.o -MF tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/HICPPTidyModule.cpp.o.d -o tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/HICPPTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp/HICPPTidyModule.cpp [1309/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/AssertEquals.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/AssertEquals.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/AssertEquals.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/AssertEquals.cpp [1310/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/diagtool/CMakeFiles/diagtool.dir/DiagTool.cpp.o -MF tools/diagtool/CMakeFiles/diagtool.dir/DiagTool.cpp.o.d -o tools/diagtool/CMakeFiles/diagtool.dir/DiagTool.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/diagtool/DiagTool.cpp [1311/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/CheckerDependencyHandling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/CheckerDependencyHandling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT lib/Analysis/plugins/CheckerDependencyHandling/CMakeFiles/CheckerDependencyHandlingAnalyzerPlugin.dir/CheckerDependencyHandling.cpp.o -MF lib/Analysis/plugins/CheckerDependencyHandling/CMakeFiles/CheckerDependencyHandlingAnalyzerPlugin.dir/CheckerDependencyHandling.cpp.o.d -o lib/Analysis/plugins/CheckerDependencyHandling/CMakeFiles/CheckerDependencyHandlingAnalyzerPlugin.dir/CheckerDependencyHandling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/CheckerDependencyHandling/CheckerDependencyHandling.cpp [1312/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/DeallocInCategoryCheck.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/DeallocInCategoryCheck.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/DeallocInCategoryCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/DeallocInCategoryCheck.cpp [1313/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/CommonOptionsParser.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/CommonOptionsParser.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/CommonOptionsParser.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/CommonOptionsParser.cpp [1314/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/CheckerOptionHandling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/CheckerOptionHandling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT lib/Analysis/plugins/CheckerOptionHandling/CMakeFiles/CheckerOptionHandlingAnalyzerPlugin.dir/CheckerOptionHandling.cpp.o -MF lib/Analysis/plugins/CheckerOptionHandling/CMakeFiles/CheckerOptionHandlingAnalyzerPlugin.dir/CheckerOptionHandling.cpp.o.d -o lib/Analysis/plugins/CheckerOptionHandling/CMakeFiles/CheckerOptionHandlingAnalyzerPlugin.dir/CheckerOptionHandling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/CheckerOptionHandling/CheckerOptionHandling.cpp [1315/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/driver/CMakeFiles/clang.dir/clang-driver.cpp.o -MF tools/driver/CMakeFiles/clang.dir/clang-driver.cpp.o.d -o tools/driver/CMakeFiles/clang.dir/clang-driver.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp [1316/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/hicpp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/SignedBitwiseCheck.cpp.o -MF tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/SignedBitwiseCheck.cpp.o.d -o tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/SignedBitwiseCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp/SignedBitwiseCheck.cpp [1317/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/AllTUsExecution.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/AllTUsExecution.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/AllTUsExecution.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/AllTUsExecution.cpp [1318/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/Execution.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/Execution.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Execution.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Execution.cpp [1319/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/ForbiddenSubclassingCheck.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/ForbiddenSubclassingCheck.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/ForbiddenSubclassingCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/ForbiddenSubclassingCheck.cpp [1320/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/diagtool/CMakeFiles/diagtool.dir/FindDiagnosticID.cpp.o -MF tools/diagtool/CMakeFiles/diagtool.dir/FindDiagnosticID.cpp.o.d -o tools/diagtool/CMakeFiles/diagtool.dir/FindDiagnosticID.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/diagtool/FindDiagnosticID.cpp [1321/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/diagtool/CMakeFiles/diagtool.dir/DiagnosticNames.cpp.o -MF tools/diagtool/CMakeFiles/diagtool.dir/DiagnosticNames.cpp.o.d -o tools/diagtool/CMakeFiles/diagtool.dir/DiagnosticNames.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/diagtool/DiagnosticNames.cpp [1322/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/diagtool/CMakeFiles/diagtool.dir/ListWarnings.cpp.o -MF tools/diagtool/CMakeFiles/diagtool.dir/ListWarnings.cpp.o.d -o tools/diagtool/CMakeFiles/diagtool.dir/ListWarnings.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/diagtool/ListWarnings.cpp [1323/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-scan-deps -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-scan-deps -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-scan-deps/CMakeFiles/clang-scan-deps.dir/clang-scan-deps-driver.cpp.o -MF tools/clang-scan-deps/CMakeFiles/clang-scan-deps.dir/clang-scan-deps-driver.cpp.o.d -o tools/clang-scan-deps/CMakeFiles/clang-scan-deps.dir/clang-scan-deps-driver.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-scan-deps/clang-scan-deps-driver.cpp [1324/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/ExpandResponseFilesCompilationDatabase.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/ExpandResponseFilesCompilationDatabase.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/ExpandResponseFilesCompilationDatabase.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ExpandResponseFilesCompilationDatabase.cpp [1325/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/diagtool/CMakeFiles/diagtool.dir/TreeView.cpp.o -MF tools/diagtool/CMakeFiles/diagtool.dir/TreeView.cpp.o.d -o tools/diagtool/CMakeFiles/diagtool.dir/TreeView.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/diagtool/TreeView.cpp [1326/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-shlib -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-shlib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/clang-shlib/CMakeFiles/clang-cpp.dir/clang-shlib.cpp.o -MF tools/clang-shlib/CMakeFiles/clang-cpp.dir/clang-shlib.cpp.o.d -o tools/clang-shlib/CMakeFiles/clang-cpp.dir/clang-shlib.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-shlib/clang-shlib.cpp [1327/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/MissingHashCheck.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/MissingHashCheck.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/MissingHashCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/MissingHashCheck.cpp [1328/2015] /usr/bin/gcc -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/c-arcmt-test -I/builddir/build/BUILD/clang-17.0.6.src/tools/c-arcmt-test -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -MD -MT tools/c-arcmt-test/CMakeFiles/c-arcmt-test.dir/c-arcmt-test.c.o -MF tools/c-arcmt-test/CMakeFiles/c-arcmt-test.dir/c-arcmt-test.c.o.d -o tools/c-arcmt-test/CMakeFiles/c-arcmt-test.dir/c-arcmt-test.c.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/c-arcmt-test/c-arcmt-test.c [1329/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/apinotes-test -I/builddir/build/BUILD/clang-17.0.6.src/tools/apinotes-test -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/apinotes-test/CMakeFiles/apinotes-test.dir/APINotesTest.cpp.o -MF tools/apinotes-test/CMakeFiles/apinotes-test.dir/APINotesTest.cpp.o.d -o tools/apinotes-test/CMakeFiles/apinotes-test.dir/APINotesTest.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/apinotes-test/APINotesTest.cpp [1330/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/InterpolatingCompilationDatabase.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/InterpolatingCompilationDatabase.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/InterpolatingCompilationDatabase.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/InterpolatingCompilationDatabase.cpp [1331/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/GuessTargetAndModeCompilationDatabase.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/GuessTargetAndModeCompilationDatabase.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/GuessTargetAndModeCompilationDatabase.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/GuessTargetAndModeCompilationDatabase.cpp [1332/2015] /usr/bin/gcc -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/c-index-test -I/builddir/build/BUILD/clang-17.0.6.src/tools/c-index-test -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -isystem /usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=gnu89 -MD -MT tools/c-index-test/CMakeFiles/c-index-test.dir/c-index-test.c.o -MF tools/c-index-test/CMakeFiles/c-index-test.dir/c-index-test.c.o.d -o tools/c-index-test/CMakeFiles/c-index-test.dir/c-index-test.c.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/c-index-test/c-index-test.c [1333/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UpgradeGoogletestCaseCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UpgradeGoogletestCaseCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UpgradeGoogletestCaseCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/UpgradeGoogletestCaseCheck.cpp [1334/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/CompilationDatabase.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/CompilationDatabase.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/CompilationDatabase.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/CompilationDatabase.cpp [1335/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/NSInvocationArgumentLifetimeCheck.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/NSInvocationArgumentLifetimeCheck.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/NSInvocationArgumentLifetimeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/NSInvocationArgumentLifetimeCheck.cpp [1336/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-offload-packager -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-offload-packager -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-offload-packager/CMakeFiles/clang-offload-packager.dir/ClangOffloadPackager.cpp.o -MF tools/clang-offload-packager/CMakeFiles/clang-offload-packager.dir/ClangOffloadPackager.cpp.o.d -o tools/clang-offload-packager/CMakeFiles/clang-offload-packager.dir/ClangOffloadPackager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-offload-packager/ClangOffloadPackager.cpp [1337/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/NodeIntrospection.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/NodeIntrospection.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/NodeIntrospection.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/NodeIntrospection.cpp [1338/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/driver/CMakeFiles/clang.dir/cc1gen_reproducer_main.cpp.o -MF tools/driver/CMakeFiles/clang.dir/cc1gen_reproducer_main.cpp.o.d -o tools/driver/CMakeFiles/clang.dir/cc1gen_reproducer_main.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1gen_reproducer_main.cpp [1339/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-offload-bundler -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-offload-bundler -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-offload-bundler/CMakeFiles/clang-offload-bundler.dir/ClangOffloadBundler.cpp.o -MF tools/clang-offload-bundler/CMakeFiles/clang-offload-bundler.dir/ClangOffloadBundler.cpp.o.d -o tools/clang-offload-bundler/CMakeFiles/clang-offload-bundler.dir/ClangOffloadBundler.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-offload-bundler/ClangOffloadBundler.cpp [1340/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/modularize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/modularize/CMakeFiles/modularize.dir/ModuleAssistant.cpp.o -MF tools/extra/modularize/CMakeFiles/modularize.dir/ModuleAssistant.cpp.o.d -o tools/extra/modularize/CMakeFiles/modularize.dir/ModuleAssistant.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize/ModuleAssistant.cpp [1341/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/StandaloneExecution.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/StandaloneExecution.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/StandaloneExecution.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/StandaloneExecution.cpp [1342/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/JSONCompilationDatabase.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/JSONCompilationDatabase.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/JSONCompilationDatabase.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/JSONCompilationDatabase.cpp [1343/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/Refactoring.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/Refactoring.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Refactoring.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring.cpp [1344/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyProfiling.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyProfiling.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyProfiling.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidyProfiling.cpp [1345/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-format -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-format/CMakeFiles/clang-format.dir/ClangFormat.cpp.o -MF tools/clang-format/CMakeFiles/clang-format.dir/ClangFormat.cpp.o.d -o tools/clang-format/CMakeFiles/clang-format.dir/ClangFormat.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-format/ClangFormat.cpp [1346/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/GlobList.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/GlobList.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/GlobList.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/GlobList.cpp [1347/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o -MF tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o.d -o tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1as_main.cpp [1348/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/diagtool/CMakeFiles/diagtool.dir/ShowEnabledWarnings.cpp.o -MF tools/diagtool/CMakeFiles/diagtool.dir/ShowEnabledWarnings.cpp.o.d -o tools/diagtool/CMakeFiles/diagtool.dir/ShowEnabledWarnings.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/diagtool/ShowEnabledWarnings.cpp [1349/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/driver/CMakeFiles/clang.dir/driver.cpp.o -MF tools/driver/CMakeFiles/clang.dir/driver.cpp.o.d -o tools/driver/CMakeFiles/clang.dir/driver.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp [1350/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-refactor -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-refactor -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-refactor/CMakeFiles/clang-refactor.dir/TestSupport.cpp.o -MF tools/clang-refactor/CMakeFiles/clang-refactor.dir/TestSupport.cpp.o.d -o tools/clang-refactor/CMakeFiles/clang-refactor.dir/TestSupport.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-refactor/TestSupport.cpp [1351/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-diff -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-diff -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-diff/CMakeFiles/clang-diff.dir/ClangDiff.cpp.o -MF tools/clang-diff/CMakeFiles/clang-diff.dir/ClangDiff.cpp.o.d -o tools/clang-diff/CMakeFiles/clang-diff.dir/ClangDiff.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-diff/ClangDiff.cpp [1352/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-reorder-fields/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-reorder-fields/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-reorder-fields/tool/CMakeFiles/clang-reorder-fields.dir/ClangReorderFields.cpp.o -MF tools/extra/clang-reorder-fields/tool/CMakeFiles/clang-reorder-fields.dir/ClangReorderFields.cpp.o.d -o tools/extra/clang-reorder-fields/tool/CMakeFiles/clang-reorder-fields.dir/ClangReorderFields.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-reorder-fields/tool/ClangReorderFields.cpp [1353/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyOptions.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyOptions.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyOptions.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidyOptions.cpp [1354/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-apply-replacements/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-apply-replacements/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-apply-replacements -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-apply-replacements/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-apply-replacements/tool/CMakeFiles/clang-apply-replacements.dir/ClangApplyReplacementsMain.cpp.o -MF tools/extra/clang-apply-replacements/tool/CMakeFiles/clang-apply-replacements.dir/ClangApplyReplacementsMain.cpp.o.d -o tools/extra/clang-apply-replacements/tool/CMakeFiles/clang-apply-replacements.dir/ClangApplyReplacementsMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-apply-replacements/tool/ClangApplyReplacementsMain.cpp [1355/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-rename -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-rename -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-rename/CMakeFiles/clang-rename.dir/ClangRename.cpp.o -MF tools/clang-rename/CMakeFiles/clang-rename.dir/ClangRename.cpp.o.d -o tools/clang-rename/CMakeFiles/clang-rename.dir/ClangRename.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-rename/ClangRename.cpp [1356/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/modularize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/modularize/CMakeFiles/modularize.dir/PreprocessorTracker.cpp.o -MF tools/extra/modularize/CMakeFiles/modularize.dir/PreprocessorTracker.cpp.o.d -o tools/extra/modularize/CMakeFiles/modularize.dir/PreprocessorTracker.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize/PreprocessorTracker.cpp [1357/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/NoLintDirectiveHandler.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/NoLintDirectiveHandler.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/NoLintDirectiveHandler.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/NoLintDirectiveHandler.cpp [1358/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/arcmt-test -I/builddir/build/BUILD/clang-17.0.6.src/tools/arcmt-test -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/arcmt-test/CMakeFiles/arcmt-test.dir/arcmt-test.cpp.o -MF tools/arcmt-test/CMakeFiles/arcmt-test.dir/arcmt-test.cpp.o.d -o tools/arcmt-test/CMakeFiles/arcmt-test.dir/arcmt-test.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/arcmt-test/arcmt-test.cpp [1359/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/Tooling.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/Tooling.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Tooling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp [1360/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-extdef-mapping -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-extdef-mapping -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-extdef-mapping/CMakeFiles/clang-extdef-mapping.dir/ClangExtDefMapGen.cpp.o -MF tools/clang-extdef-mapping/CMakeFiles/clang-extdef-mapping.dir/ClangExtDefMapGen.cpp.o.d -o tools/clang-extdef-mapping/CMakeFiles/clang-extdef-mapping.dir/ClangExtDefMapGen.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-extdef-mapping/ClangExtDefMapGen.cpp [1361/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-check -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-check -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-check/CMakeFiles/clang-check.dir/ClangCheck.cpp.o -MF tools/clang-check/CMakeFiles/clang-check.dir/ClangCheck.cpp.o.d -o tools/clang-check/CMakeFiles/clang-check.dir/ClangCheck.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-check/ClangCheck.cpp [1362/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-refactor -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-refactor -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-refactor/CMakeFiles/clang-refactor.dir/ClangRefactor.cpp.o -MF tools/clang-refactor/CMakeFiles/clang-refactor.dir/ClangRefactor.cpp.o.d -o tools/clang-refactor/CMakeFiles/clang-refactor.dir/ClangRefactor.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-refactor/ClangRefactor.cpp [1363/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-import-test -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-import-test -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-import-test/CMakeFiles/clang-import-test.dir/clang-import-test.cpp.o -MF tools/clang-import-test/CMakeFiles/clang-import-test.dir/clang-import-test.cpp.o.d -o tools/clang-import-test/CMakeFiles/clang-import-test.dir/clang-import-test.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-import-test/clang-import-test.cpp [1364/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyDiagnosticConsumer.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyDiagnosticConsumer.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyDiagnosticConsumer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidyDiagnosticConsumer.cpp [1365/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-repl -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-repl -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-repl/CMakeFiles/clang-repl.dir/ClangRepl.cpp.o -MF tools/clang-repl/CMakeFiles/clang-repl.dir/ClangRepl.cpp.o.d -o tools/clang-repl/CMakeFiles/clang-repl.dir/ClangRepl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-repl/ClangRepl.cpp [1366/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o -MF tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o.d -o tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp [1367/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/RefactoringCallbacks.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/RefactoringCallbacks.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/RefactoringCallbacks.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/RefactoringCallbacks.cpp [1368/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/c-index-test -I/builddir/build/BUILD/clang-17.0.6.src/tools/c-index-test -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -isystem /usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/c-index-test/CMakeFiles/c-index-test.dir/core_main.cpp.o -MF tools/c-index-test/CMakeFiles/c-index-test.dir/core_main.cpp.o.d -o tools/c-index-test/CMakeFiles/c-index-test.dir/core_main.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/c-index-test/core_main.cpp [1369/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/modularize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/modularize/CMakeFiles/modularize.dir/ModularizeUtilities.cpp.o -MF tools/extra/modularize/CMakeFiles/modularize.dir/ModularizeUtilities.cpp.o.d -o tools/extra/modularize/CMakeFiles/modularize.dir/ModularizeUtilities.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize/ModularizeUtilities.cpp [1370/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyModule.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyModule.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidyModule.cpp [1371/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/modularize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/modularize/CMakeFiles/modularize.dir/CoverageChecker.cpp.o -MF tools/extra/modularize/CMakeFiles/modularize.dir/CoverageChecker.cpp.o.d -o tools/extra/modularize/CMakeFiles/modularize.dir/CoverageChecker.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize/CoverageChecker.cpp [1372/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyCheck.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyCheck.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidyCheck.cpp [1373/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ExpandModularHeadersPPCallbacks.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ExpandModularHeadersPPCallbacks.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ExpandModularHeadersPPCallbacks.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ExpandModularHeadersPPCallbacks.cpp [1374/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-scan-deps -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-scan-deps -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-scan-deps/CMakeFiles/clang-scan-deps.dir/ClangScanDeps.cpp.o -MF tools/clang-scan-deps/CMakeFiles/clang-scan-deps.dir/ClangScanDeps.cpp.o.d -o tools/clang-scan-deps/CMakeFiles/clang-scan-deps.dir/ClangScanDeps.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-scan-deps/ClangScanDeps.cpp [1375/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationAdditionCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationAdditionCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationAdditionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationAdditionCheck.cpp [1376/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/CleanupCtadCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/CleanupCtadCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/CleanupCtadCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/CleanupCtadCheck.cpp [1377/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/modularize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/modularize/CMakeFiles/modularize.dir/Modularize.cpp.o -MF tools/extra/modularize/CMakeFiles/modularize.dir/Modularize.cpp.o.d -o tools/extra/modularize/CMakeFiles/modularize.dir/Modularize.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize/Modularize.cpp [1378/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationComparisonCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationComparisonCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationComparisonCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationComparisonCheck.cpp [1379/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/AbseilTidyModule.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/AbseilTidyModule.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/AbseilTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/AbseilTidyModule.cpp [1380/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationDivisionCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationDivisionCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationDivisionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationDivisionCheck.cpp [1381/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationConversionCastCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationConversionCastCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationConversionCastCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationConversionCastCheck.cpp [1382/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationFactoryFloatCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationFactoryFloatCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationFactoryFloatCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationFactoryFloatCheck.cpp [1383/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationSubtractionCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationSubtractionCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationSubtractionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationSubtractionCheck.cpp [1384/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationFactoryScaleCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationFactoryScaleCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationFactoryScaleCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationFactoryScaleCheck.cpp [1385/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/NoNamespaceCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/NoNamespaceCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/NoNamespaceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/NoNamespaceCheck.cpp [1386/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/NoInternalDependenciesCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/NoInternalDependenciesCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/NoInternalDependenciesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/NoInternalDependenciesCheck.cpp [1387/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationRewriter.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationRewriter.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationRewriter.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationRewriter.cpp [1388/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationUnnecessaryConversionCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationUnnecessaryConversionCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationUnnecessaryConversionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationUnnecessaryConversionCheck.cpp [1389/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/FasterStrsplitDelimiterCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/FasterStrsplitDelimiterCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/FasterStrsplitDelimiterCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/FasterStrsplitDelimiterCheck.cpp [1390/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidy.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidy.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidy.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp [1391/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/RedundantStrcatCallsCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/RedundantStrcatCallsCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/RedundantStrcatCallsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/RedundantStrcatCallsCheck.cpp [1392/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StrCatAppendCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StrCatAppendCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StrCatAppendCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/StrCatAppendCheck.cpp [1393/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/TimeComparisonCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/TimeComparisonCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/TimeComparisonCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/TimeComparisonCheck.cpp [1394/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 && : [1395/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 && : [1396/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 && : [1397/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 && : [1398/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ArgumentCommentCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ArgumentCommentCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ArgumentCommentCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/ArgumentCommentCheck.cpp [1399/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/TimeSubtractionCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/TimeSubtractionCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/TimeSubtractionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/TimeSubtractionCheck.cpp [1400/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 && : [1401/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 && : [1402/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/UpgradeDurationConversionsCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/UpgradeDurationConversionsCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/UpgradeDurationConversionsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/UpgradeDurationConversionsCheck.cpp [1403/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StringFindStrContainsCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StringFindStrContainsCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StringFindStrContainsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/StringFindStrContainsCheck.cpp [1404/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StringFindStartswithCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StringFindStartswithCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StringFindStartswithCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/StringFindStartswithCheck.cpp [1405/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 && : [1406/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/AssertSideEffectCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/AssertSideEffectCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/AssertSideEffectCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/AssertSideEffectCheck.cpp [1407/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BadSignalToKillThreadCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BadSignalToKillThreadCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BadSignalToKillThreadCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/BadSignalToKillThreadCheck.cpp [1408/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BoolPointerImplicitConversionCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BoolPointerImplicitConversionCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BoolPointerImplicitConversionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/BoolPointerImplicitConversionCheck.cpp [1409/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 && : [1410/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 && : [1411/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/CopyConstructorInitCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/CopyConstructorInitCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/CopyConstructorInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/CopyConstructorInitCheck.cpp [1412/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 && : [1413/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 && : [1414/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/DynamicStaticInitializersCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/DynamicStaticInitializersCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/DynamicStaticInitializersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/DynamicStaticInitializersCheck.cpp [1415/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 && : [1416/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/EmptyCatchCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/EmptyCatchCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/EmptyCatchCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/EmptyCatchCheck.cpp [1417/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ExceptionEscapeCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ExceptionEscapeCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ExceptionEscapeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/ExceptionEscapeCheck.cpp [1418/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ForwardDeclarationNamespaceCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ForwardDeclarationNamespaceCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ForwardDeclarationNamespaceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/ForwardDeclarationNamespaceCheck.cpp [1419/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/FoldInitTypeCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/FoldInitTypeCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/FoldInitTypeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/FoldInitTypeCheck.cpp [1420/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SwitchMissingDefaultCaseCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SwitchMissingDefaultCaseCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SwitchMissingDefaultCaseCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SwitchMissingDefaultCaseCheck.cpp [1421/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ForwardingReferenceOverloadCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ForwardingReferenceOverloadCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ForwardingReferenceOverloadCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/ForwardingReferenceOverloadCheck.cpp [1422/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/IncorrectRoundingsCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/IncorrectRoundingsCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/IncorrectRoundingsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/IncorrectRoundingsCheck.cpp [1423/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/DanglingHandleCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/DanglingHandleCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/DanglingHandleCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/DanglingHandleCheck.cpp [1424/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ImplicitWideningOfMultiplicationResultCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ImplicitWideningOfMultiplicationResultCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ImplicitWideningOfMultiplicationResultCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/ImplicitWideningOfMultiplicationResultCheck.cpp [1425/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BranchCloneCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BranchCloneCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BranchCloneCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/BranchCloneCheck.cpp [1426/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/InaccurateEraseCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/InaccurateEraseCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/InaccurateEraseCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/InaccurateEraseCheck.cpp [1427/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BugproneTidyModule.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BugproneTidyModule.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BugproneTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/BugproneTidyModule.cpp [1428/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/IntegerDivisionCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/IntegerDivisionCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/IntegerDivisionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/IntegerDivisionCheck.cpp [1429/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedPointerArithmeticInAllocCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedPointerArithmeticInAllocCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedPointerArithmeticInAllocCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/MisplacedPointerArithmeticInAllocCheck.cpp [1430/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedOperatorInStrlenInAllocCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedOperatorInStrlenInAllocCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedOperatorInStrlenInAllocCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/MisplacedOperatorInStrlenInAllocCheck.cpp [1431/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/LambdaFunctionNameCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/LambdaFunctionNameCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/LambdaFunctionNameCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/LambdaFunctionNameCheck.cpp [1432/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MacroParenthesesCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MacroParenthesesCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MacroParenthesesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/MacroParenthesesCheck.cpp [1433/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MacroRepeatedSideEffectsCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MacroRepeatedSideEffectsCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MacroRepeatedSideEffectsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/MacroRepeatedSideEffectsCheck.cpp [1434/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/AssignmentInIfConditionCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/AssignmentInIfConditionCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/AssignmentInIfConditionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/AssignmentInIfConditionCheck.cpp [1435/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MultipleStatementMacroCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MultipleStatementMacroCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MultipleStatementMacroCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/MultipleStatementMacroCheck.cpp [1436/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MoveForwardingReferenceCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MoveForwardingReferenceCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MoveForwardingReferenceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/MoveForwardingReferenceCheck.cpp [1437/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedWideningCastCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedWideningCastCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedWideningCastCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/MisplacedWideningCastCheck.cpp [1438/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NoEscapeCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NoEscapeCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NoEscapeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/NoEscapeCheck.cpp [1439/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 && : [1440/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MultipleNewInOneExpressionCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MultipleNewInOneExpressionCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MultipleNewInOneExpressionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/MultipleNewInOneExpressionCheck.cpp [1441/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NonZeroEnumToBoolConversionCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NonZeroEnumToBoolConversionCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NonZeroEnumToBoolConversionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/NonZeroEnumToBoolConversionCheck.cpp [1442/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ParentVirtualCallCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ParentVirtualCallCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ParentVirtualCallCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/ParentVirtualCallCheck.cpp [1443/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 && : [1444/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/PosixReturnCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/PosixReturnCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/PosixReturnCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/PosixReturnCheck.cpp [1445/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/InfiniteLoopCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/InfiniteLoopCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/InfiniteLoopCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/InfiniteLoopCheck.cpp [1446/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ReservedIdentifierCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ReservedIdentifierCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ReservedIdentifierCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/ReservedIdentifierCheck.cpp [1447/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SharedPtrArrayMismatchCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SharedPtrArrayMismatchCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SharedPtrArrayMismatchCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SharedPtrArrayMismatchCheck.cpp [1448/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/RedundantBranchConditionCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/RedundantBranchConditionCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/RedundantBranchConditionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/RedundantBranchConditionCheck.cpp [1449/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/EasilySwappableParametersCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/EasilySwappableParametersCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/EasilySwappableParametersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/EasilySwappableParametersCheck.cpp [1450/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SizeofContainerCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SizeofContainerCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SizeofContainerCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SizeofContainerCheck.cpp [1451/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SmartPtrArrayMismatchCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SmartPtrArrayMismatchCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SmartPtrArrayMismatchCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SmartPtrArrayMismatchCheck.cpp [1452/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StandaloneEmptyCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StandaloneEmptyCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StandaloneEmptyCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/StandaloneEmptyCheck.cpp [1453/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringIntegerAssignmentCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringIntegerAssignmentCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringIntegerAssignmentCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/StringIntegerAssignmentCheck.cpp [1454/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SignedCharMisuseCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SignedCharMisuseCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SignedCharMisuseCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SignedCharMisuseCheck.cpp [1455/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SpuriouslyWakeUpFunctionsCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SpuriouslyWakeUpFunctionsCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SpuriouslyWakeUpFunctionsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SpuriouslyWakeUpFunctionsCheck.cpp [1456/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringLiteralWithEmbeddedNulCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringLiteralWithEmbeddedNulCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringLiteralWithEmbeddedNulCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/StringLiteralWithEmbeddedNulCheck.cpp [1457/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringConstructorCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringConstructorCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringConstructorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/StringConstructorCheck.cpp [1458/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMemoryComparisonCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMemoryComparisonCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMemoryComparisonCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SuspiciousMemoryComparisonCheck.cpp [1459/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMissingCommaCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMissingCommaCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMissingCommaCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SuspiciousMissingCommaCheck.cpp [1460/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousIncludeCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousIncludeCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousIncludeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SuspiciousIncludeCheck.cpp [1461/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousEnumUsageCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousEnumUsageCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousEnumUsageCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SuspiciousEnumUsageCheck.cpp [1462/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NotNullTerminatedResultCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NotNullTerminatedResultCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NotNullTerminatedResultCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp [1463/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMemsetUsageCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMemsetUsageCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMemsetUsageCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SuspiciousMemsetUsageCheck.cpp [1464/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousSemicolonCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousSemicolonCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousSemicolonCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SuspiciousSemicolonCheck.cpp [1465/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SizeofExpressionCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SizeofExpressionCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SizeofExpressionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SizeofExpressionCheck.cpp [1466/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SwappedArgumentsCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SwappedArgumentsCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SwappedArgumentsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SwappedArgumentsCheck.cpp [1467/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousReallocUsageCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousReallocUsageCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousReallocUsageCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SuspiciousReallocUsageCheck.cpp [1468/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/TerminatingContinueCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/TerminatingContinueCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/TerminatingContinueCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/TerminatingContinueCheck.cpp [1469/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SignalHandlerCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SignalHandlerCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SignalHandlerCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SignalHandlerCheck.cpp [1470/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ThrowKeywordMissingCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ThrowKeywordMissingCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ThrowKeywordMissingCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/ThrowKeywordMissingCheck.cpp [1471/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringviewNullptrCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringviewNullptrCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringviewNullptrCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/StringviewNullptrCheck.cpp [1472/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousStringCompareCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousStringCompareCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousStringCompareCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SuspiciousStringCompareCheck.cpp [1473/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/TooSmallLoopVariableCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/TooSmallLoopVariableCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/TooSmallLoopVariableCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/TooSmallLoopVariableCheck.cpp [1474/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UndefinedMemoryManipulationCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UndefinedMemoryManipulationCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UndefinedMemoryManipulationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UndefinedMemoryManipulationCheck.cpp [1475/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UncheckedOptionalAccessCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UncheckedOptionalAccessCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UncheckedOptionalAccessCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UncheckedOptionalAccessCheck.cpp [1476/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UndelegatedConstructorCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UndelegatedConstructorCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UndelegatedConstructorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UndelegatedConstructorCheck.cpp [1477/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnhandledExceptionAtNewCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnhandledExceptionAtNewCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnhandledExceptionAtNewCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UnhandledExceptionAtNewCheck.cpp [1478/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UniquePtrArrayMismatchCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UniquePtrArrayMismatchCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UniquePtrArrayMismatchCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UniquePtrArrayMismatchCheck.cpp [1479/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnhandledSelfAssignmentCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnhandledSelfAssignmentCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnhandledSelfAssignmentCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UnhandledSelfAssignmentCheck.cpp [1480/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnsafeFunctionsCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnsafeFunctionsCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnsafeFunctionsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UnsafeFunctionsCheck.cpp [1481/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnusedRaiiCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnusedRaiiCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnusedRaiiCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UnusedRaiiCheck.cpp [1482/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/concurrency -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/concurrency -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/ConcurrencyTidyModule.cpp.o -MF tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/ConcurrencyTidyModule.cpp.o.d -o tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/ConcurrencyTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/concurrency/ConcurrencyTidyModule.cpp [1483/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/VirtualNearMissCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/VirtualNearMissCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/VirtualNearMissCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/VirtualNearMissCheck.cpp [1484/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnusedReturnValueCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnusedReturnValueCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnusedReturnValueCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UnusedReturnValueCheck.cpp [1485/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidCapturingLambdaCoroutinesCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidCapturingLambdaCoroutinesCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidCapturingLambdaCoroutinesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/AvoidCapturingLambdaCoroutinesCheck.cpp [1486/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/concurrency -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/concurrency -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/MtUnsafeCheck.cpp.o -MF tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/MtUnsafeCheck.cpp.o.d -o tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/MtUnsafeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/concurrency/MtUnsafeCheck.cpp [1487/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidDoWhileCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidDoWhileCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidDoWhileCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/AvoidDoWhileCheck.cpp [1488/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidConstOrRefDataMembersCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidConstOrRefDataMembersCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidConstOrRefDataMembersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/AvoidConstOrRefDataMembersCheck.cpp [1489/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/concurrency -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/concurrency -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/ThreadCanceltypeAsynchronousCheck.cpp.o -MF tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/ThreadCanceltypeAsynchronousCheck.cpp.o.d -o tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/ThreadCanceltypeAsynchronousCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/concurrency/ThreadCanceltypeAsynchronousCheck.cpp [1490/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidNonConstGlobalVariablesCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidNonConstGlobalVariablesCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidNonConstGlobalVariablesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/AvoidNonConstGlobalVariablesCheck.cpp [1491/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidGotoCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidGotoCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidGotoCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/AvoidGotoCheck.cpp [1492/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidReferenceCoroutineParametersCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidReferenceCoroutineParametersCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidReferenceCoroutineParametersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/AvoidReferenceCoroutineParametersCheck.cpp [1493/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/InterfacesGlobalInitCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/InterfacesGlobalInitCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/InterfacesGlobalInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/InterfacesGlobalInitCheck.cpp [1494/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MisleadingCaptureDefaultByValueCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MisleadingCaptureDefaultByValueCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MisleadingCaptureDefaultByValueCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/MisleadingCaptureDefaultByValueCheck.cpp [1495/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/CppCoreGuidelinesTidyModule.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/CppCoreGuidelinesTidyModule.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/CppCoreGuidelinesTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp [1496/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UseAfterMoveCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UseAfterMoveCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UseAfterMoveCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UseAfterMoveCheck.cpp [1497/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/InitVariablesCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/InitVariablesCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/InitVariablesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/InitVariablesCheck.cpp [1498/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/NoMallocCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/NoMallocCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/NoMallocCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/NoMallocCheck.cpp [1499/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MacroUsageCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MacroUsageCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MacroUsageCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/MacroUsageCheck.cpp [1500/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MissingStdForwardCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MissingStdForwardCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MissingStdForwardCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/MissingStdForwardCheck.cpp [1501/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsArrayToPointerDecayCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsArrayToPointerDecayCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsArrayToPointerDecayCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.cpp [1502/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/PreferMemberInitializerCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/PreferMemberInitializerCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/PreferMemberInitializerCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/PreferMemberInitializerCheck.cpp [1503/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeConstCastCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeConstCastCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeConstCastCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProTypeConstCastCheck.cpp [1504/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/NarrowingConversionsCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/NarrowingConversionsCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/NarrowingConversionsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.cpp [1505/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsPointerArithmeticCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsPointerArithmeticCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsPointerArithmeticCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProBoundsPointerArithmeticCheck.cpp [1506/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/OwningMemoryCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/OwningMemoryCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/OwningMemoryCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/OwningMemoryCheck.cpp [1507/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeCstyleCastCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeCstyleCastCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeCstyleCastCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.cpp [1508/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsConstantArrayIndexCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsConstantArrayIndexCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsConstantArrayIndexCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.cpp [1509/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeReinterpretCastCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeReinterpretCastCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeReinterpretCastCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProTypeReinterpretCastCheck.cpp [1510/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeUnionAccessCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeUnionAccessCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeUnionAccessCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProTypeUnionAccessCheck.cpp [1511/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeStaticCastDowncastCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeStaticCastDowncastCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeStaticCastDowncastCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProTypeStaticCastDowncastCheck.cpp [1512/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeMemberInitCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeMemberInitCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeMemberInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp [1513/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/SpecialMemberFunctionsCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/SpecialMemberFunctionsCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/SpecialMemberFunctionsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.cpp [1514/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeVarargCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeVarargCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeVarargCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.cpp [1515/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/SlicingCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/SlicingCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/SlicingCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/SlicingCheck.cpp [1516/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/VirtualClassDestructorCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/VirtualClassDestructorCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/VirtualClassDestructorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/VirtualClassDestructorCheck.cpp [1517/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvm -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/TwineLocalCheck.cpp.o -MF tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/TwineLocalCheck.cpp.o.d -o tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/TwineLocalCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm/TwineLocalCheck.cpp [1518/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvm -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/LLVMTidyModule.cpp.o -MF tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/LLVMTidyModule.cpp.o.d -o tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/LLVMTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm/LLVMTidyModule.cpp [1519/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvm -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/HeaderGuardCheck.cpp.o -MF tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/HeaderGuardCheck.cpp.o.d -o tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/HeaderGuardCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm/HeaderGuardCheck.cpp [1520/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/CalleeNamespaceCheck.cpp.o -MF tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/CalleeNamespaceCheck.cpp.o.d -o tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/CalleeNamespaceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc/CalleeNamespaceCheck.cpp [1521/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/RvalueReferenceParamNotMovedCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/RvalueReferenceParamNotMovedCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/RvalueReferenceParamNotMovedCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/RvalueReferenceParamNotMovedCheck.cpp [1522/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/ImplementationInNamespaceCheck.cpp.o -MF tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/ImplementationInNamespaceCheck.cpp.o.d -o tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/ImplementationInNamespaceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc/ImplementationInNamespaceCheck.cpp [1523/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvm -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/PreferRegisterOverUnsignedCheck.cpp.o -MF tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/PreferRegisterOverUnsignedCheck.cpp.o.d -o tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/PreferRegisterOverUnsignedCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm/PreferRegisterOverUnsignedCheck.cpp [1524/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvm -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/PreferIsaOrDynCastInConditionalsCheck.cpp.o -MF tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/PreferIsaOrDynCastInConditionalsCheck.cpp.o.d -o tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/PreferIsaOrDynCastInConditionalsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm/PreferIsaOrDynCastInConditionalsCheck.cpp [1525/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvm -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/IncludeOrderCheck.cpp.o -MF tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/IncludeOrderCheck.cpp.o.d -o tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/IncludeOrderCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm/IncludeOrderCheck.cpp [1526/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/InlineFunctionDeclCheck.cpp.o -MF tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/InlineFunctionDeclCheck.cpp.o.d -o tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/InlineFunctionDeclCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc/InlineFunctionDeclCheck.cpp [1527/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/IntegralLiteralExpressionMatcher.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/IntegralLiteralExpressionMatcher.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/IntegralLiteralExpressionMatcher.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/IntegralLiteralExpressionMatcher.cpp [1528/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/RestrictSystemLibcHeadersCheck.cpp.o -MF tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/RestrictSystemLibcHeadersCheck.cpp.o.d -o tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/RestrictSystemLibcHeadersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc/RestrictSystemLibcHeadersCheck.cpp [1529/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/LLVMLibcTidyModule.cpp.o -MF tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/LLVMLibcTidyModule.cpp.o.d -o tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/LLVMLibcTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc/LLVMLibcTidyModule.cpp [1530/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/DefinitionsInHeadersCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/DefinitionsInHeadersCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/DefinitionsInHeadersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/DefinitionsInHeadersCheck.cpp [1531/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/HeaderIncludeCycleCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/HeaderIncludeCycleCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/HeaderIncludeCycleCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/HeaderIncludeCycleCheck.cpp [1532/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MiscTidyModule.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MiscTidyModule.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MiscTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/MiscTidyModule.cpp [1533/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisleadingBidirectional.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisleadingBidirectional.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisleadingBidirectional.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/MisleadingBidirectional.cpp [1534/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisleadingIdentifier.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisleadingIdentifier.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisleadingIdentifier.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/MisleadingIdentifier.cpp [1535/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ConstCorrectnessCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ConstCorrectnessCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ConstCorrectnessCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/ConstCorrectnessCheck.cpp [1536/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ConfusableIdentifierCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ConfusableIdentifierCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ConfusableIdentifierCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/ConfusableIdentifierCheck.cpp [1537/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisplacedConstCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisplacedConstCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisplacedConstCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/MisplacedConstCheck.cpp [1538/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/IncludeCleanerCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/IncludeCleanerCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/IncludeCleanerCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/IncludeCleanerCheck.cpp [1539/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NewDeleteOverloadsCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NewDeleteOverloadsCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NewDeleteOverloadsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/NewDeleteOverloadsCheck.cpp [1540/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NonCopyableObjects.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NonCopyableObjects.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NonCopyableObjects.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/NonCopyableObjects.cpp [1541/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NonPrivateMemberVariablesInClassesCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NonPrivateMemberVariablesInClassesCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NonPrivateMemberVariablesInClassesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/NonPrivateMemberVariablesInClassesCheck.cpp [1542/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ThrowByValueCatchByReferenceCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ThrowByValueCatchByReferenceCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ThrowByValueCatchByReferenceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.cpp [1543/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedAliasDeclsCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedAliasDeclsCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedAliasDeclsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/UnusedAliasDeclsCheck.cpp [1544/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UniqueptrResetReleaseCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UniqueptrResetReleaseCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UniqueptrResetReleaseCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/UniqueptrResetReleaseCheck.cpp [1545/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnconventionalAssignOperatorCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnconventionalAssignOperatorCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnconventionalAssignOperatorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/UnconventionalAssignOperatorCheck.cpp [1546/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UseAnonymousNamespaceCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UseAnonymousNamespaceCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UseAnonymousNamespaceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/UseAnonymousNamespaceCheck.cpp [1547/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NoRecursionCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NoRecursionCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NoRecursionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/NoRecursionCheck.cpp [1548/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/StaticAssertCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/StaticAssertCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/StaticAssertCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/StaticAssertCheck.cpp [1549/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedUsingDeclsCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedUsingDeclsCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedUsingDeclsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/UnusedUsingDeclsCheck.cpp [1550/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/DeprecatedIosBaseAliasesCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/DeprecatedIosBaseAliasesCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/DeprecatedIosBaseAliasesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/DeprecatedIosBaseAliasesCheck.cpp [1551/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/AvoidCArraysCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/AvoidCArraysCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/AvoidCArraysCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/AvoidCArraysCheck.cpp [1552/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ConcatNestedNamespacesCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ConcatNestedNamespacesCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ConcatNestedNamespacesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/ConcatNestedNamespacesCheck.cpp [1553/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeSharedCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeSharedCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeSharedCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/MakeSharedCheck.cpp [1554/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/AvoidBindCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/AvoidBindCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/AvoidBindCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/AvoidBindCheck.cpp [1555/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/RedundantExpressionCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/RedundantExpressionCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/RedundantExpressionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/RedundantExpressionCheck.cpp [1556/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MacroToEnumCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MacroToEnumCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MacroToEnumCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/MacroToEnumCheck.cpp [1557/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 && : [1558/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 && : [1559/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeUniqueCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeUniqueCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeUniqueCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/MakeUniqueCheck.cpp [1560/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 && : [1561/2015] : && /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-fuzzer/dictionary/CMakeFiles/clang-fuzzer-dictionary.dir/dictionary.c.o -o bin/clang-fuzzer-dictionary /usr/lib64/libLLVM-17.so && : [1562/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeSmartPtrCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeSmartPtrCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeSmartPtrCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/MakeSmartPtrCheck.cpp [1563/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 && : [1564/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/RawStringLiteralCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/RawStringLiteralCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/RawStringLiteralCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/RawStringLiteralCheck.cpp [1565/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReturnBracedInitListCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReturnBracedInitListCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReturnBracedInitListCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/ReturnBracedInitListCheck.cpp [1566/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceDisallowCopyAndAssignMacroCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceDisallowCopyAndAssignMacroCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceDisallowCopyAndAssignMacroCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/ReplaceDisallowCopyAndAssignMacroCheck.cpp [1567/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/RedundantVoidArgCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/RedundantVoidArgCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/RedundantVoidArgCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/RedundantVoidArgCheck.cpp [1568/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedParametersCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedParametersCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedParametersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/UnusedParametersCheck.cpp [1569/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-linker-wrapper/CMakeFiles/clang-linker-wrapper.dir/ClangLinkerWrapper.cpp.o tools/clang-linker-wrapper/CMakeFiles/clang-linker-wrapper.dir/OffloadWrapper.cpp.o -o bin/clang-linker-wrapper lib64/libclangBasic.a /usr/lib64/libLLVM-17.so && : [1570/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceAutoPtrCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceAutoPtrCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceAutoPtrCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/ReplaceAutoPtrCheck.cpp [1571/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ShrinkToFitCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ShrinkToFitCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ShrinkToFitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/ShrinkToFitCheck.cpp [1572/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ModernizeTidyModule.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ModernizeTidyModule.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ModernizeTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/ModernizeTidyModule.cpp [1573/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/TypeTraitsCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/TypeTraitsCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/TypeTraitsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/TypeTraitsCheck.cpp [1574/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceRandomShuffleCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceRandomShuffleCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceRandomShuffleCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/ReplaceRandomShuffleCheck.cpp [1575/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 && : [1576/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UnaryStaticAssertCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UnaryStaticAssertCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UnaryStaticAssertCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UnaryStaticAssertCheck.cpp [1577/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/DeprecatedHeadersCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/DeprecatedHeadersCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/DeprecatedHeadersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/DeprecatedHeadersCheck.cpp [1578/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseBoolLiteralsCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseBoolLiteralsCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseBoolLiteralsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseBoolLiteralsCheck.cpp [1579/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNodiscardCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNodiscardCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNodiscardCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseNodiscardCheck.cpp [1580/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEqualsDeleteCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEqualsDeleteCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEqualsDeleteCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseEqualsDeleteCheck.cpp [1581/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseOverrideCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseOverrideCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseOverrideCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseOverrideCheck.cpp [1582/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseDefaultMemberInitCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseDefaultMemberInitCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseDefaultMemberInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp [1583/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNoexceptCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNoexceptCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNoexceptCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseNoexceptCheck.cpp [1584/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseAutoCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseAutoCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseAutoCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseAutoCheck.cpp [1585/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseTransparentFunctorsCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseTransparentFunctorsCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseTransparentFunctorsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseTransparentFunctorsCheck.cpp [1586/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseStdPrintCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseStdPrintCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseStdPrintCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseStdPrintCheck.cpp [1587/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseUncaughtExceptionsCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseUncaughtExceptionsCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseUncaughtExceptionsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseUncaughtExceptionsCheck.cpp [1588/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEmplaceCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEmplaceCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEmplaceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseEmplaceCheck.cpp [1589/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEqualsDefaultCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEqualsDefaultCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEqualsDefaultCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseEqualsDefaultCheck.cpp [1590/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseUsingCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseUsingCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseUsingCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseUsingCheck.cpp [1591/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/PassByValueCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/PassByValueCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/PassByValueCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/PassByValueCheck.cpp [1592/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/mpi -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/mpi -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/BufferDerefCheck.cpp.o -MF tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/BufferDerefCheck.cpp.o.d -o tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/BufferDerefCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/mpi/BufferDerefCheck.cpp [1593/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/NSDateFormatterCheck.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/NSDateFormatterCheck.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/NSDateFormatterCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/NSDateFormatterCheck.cpp [1594/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/PropertyDeclarationCheck.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/PropertyDeclarationCheck.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/PropertyDeclarationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/PropertyDeclarationCheck.cpp [1595/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/mpi -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/mpi -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/MPITidyModule.cpp.o -MF tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/MPITidyModule.cpp.o.d -o tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/MPITidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/mpi/MPITidyModule.cpp [1596/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/ObjCTidyModule.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/ObjCTidyModule.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/ObjCTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/ObjCTidyModule.cpp [1597/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/openmp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/openmp -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/ExceptionEscapeCheck.cpp.o -MF tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/ExceptionEscapeCheck.cpp.o.d -o tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/ExceptionEscapeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/openmp/ExceptionEscapeCheck.cpp [1598/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/SuperSelfCheck.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/SuperSelfCheck.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/SuperSelfCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/SuperSelfCheck.cpp [1599/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/openmp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/openmp -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/UseDefaultNoneCheck.cpp.o -MF tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/UseDefaultNoneCheck.cpp.o.d -o tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/UseDefaultNoneCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/openmp/UseDefaultNoneCheck.cpp [1600/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/openmp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/openmp -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/OpenMPTidyModule.cpp.o -MF tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/OpenMPTidyModule.cpp.o.d -o tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/OpenMPTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/openmp/OpenMPTidyModule.cpp [1601/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/AvoidEndlCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/AvoidEndlCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/AvoidEndlCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/AvoidEndlCheck.cpp [1602/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/mpi -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/mpi -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/TypeMismatchCheck.cpp.o -MF tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/TypeMismatchCheck.cpp.o.d -o tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/TypeMismatchCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/mpi/TypeMismatchCheck.cpp [1603/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseTrailingReturnTypeCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseTrailingReturnTypeCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseTrailingReturnTypeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp [1604/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/FasterStringFindCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/FasterStringFindCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/FasterStringFindCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/FasterStringFindCheck.cpp [1605/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/LoopConvertUtils.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/LoopConvertUtils.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/LoopConvertUtils.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/LoopConvertUtils.cpp [1606/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/ImplicitConversionInLoopCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/ImplicitConversionInLoopCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/ImplicitConversionInLoopCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/ImplicitConversionInLoopCheck.cpp [1607/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/ForRangeCopyCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/ForRangeCopyCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/ForRangeCopyCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/ForRangeCopyCheck.cpp [1608/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/MoveConstructorInitCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/MoveConstructorInitCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/MoveConstructorInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/MoveConstructorInitCheck.cpp [1609/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientAlgorithmCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientAlgorithmCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientAlgorithmCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/InefficientAlgorithmCheck.cpp [1610/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientStringConcatenationCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientStringConcatenationCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientStringConcatenationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/InefficientStringConcatenationCheck.cpp [1611/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoIntToPtrCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoIntToPtrCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoIntToPtrCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/NoIntToPtrCheck.cpp [1612/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNullptrCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNullptrCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNullptrCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseNullptrCheck.cpp [1613/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/LoopConvertCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/LoopConvertCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/LoopConvertCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/LoopConvertCheck.cpp [1614/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptFunctionBaseCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptFunctionBaseCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptFunctionBaseCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/NoexceptFunctionBaseCheck.cpp [1615/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/MoveConstArgCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/MoveConstArgCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/MoveConstArgCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/MoveConstArgCheck.cpp [1616/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoAutomaticMoveCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoAutomaticMoveCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoAutomaticMoveCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/NoAutomaticMoveCheck.cpp [1617/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientVectorOperationCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientVectorOperationCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientVectorOperationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/InefficientVectorOperationCheck.cpp [1618/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptDestructorCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptDestructorCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptDestructorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/NoexceptDestructorCheck.cpp [1619/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptMoveConstructorCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptMoveConstructorCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptMoveConstructorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/NoexceptMoveConstructorCheck.cpp [1620/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptSwapCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptSwapCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptSwapCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/NoexceptSwapCheck.cpp [1621/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/PerformanceTidyModule.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/PerformanceTidyModule.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/PerformanceTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/PerformanceTidyModule.cpp [1622/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/TriviallyDestructibleCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/TriviallyDestructibleCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/TriviallyDestructibleCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/TriviallyDestructibleCheck.cpp [1623/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/portability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/portability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/PortabilityTidyModule.cpp.o -MF tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/PortabilityTidyModule.cpp.o.d -o tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/PortabilityTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/portability/PortabilityTidyModule.cpp [1624/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/portability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/portability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/SIMDIntrinsicsCheck.cpp.o -MF tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/SIMDIntrinsicsCheck.cpp.o.d -o tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/SIMDIntrinsicsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/portability/SIMDIntrinsicsCheck.cpp [1625/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/AvoidConstParamsInDecls.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/AvoidConstParamsInDecls.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/AvoidConstParamsInDecls.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/AvoidConstParamsInDecls.cpp [1626/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/portability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/portability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/StdAllocatorConstCheck.cpp.o -MF tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/StdAllocatorConstCheck.cpp.o.d -o tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/StdAllocatorConstCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/portability/StdAllocatorConstCheck.cpp [1627/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/AvoidUnconditionalPreprocessorIfCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/AvoidUnconditionalPreprocessorIfCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/AvoidUnconditionalPreprocessorIfCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/AvoidUnconditionalPreprocessorIfCheck.cpp [1628/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/portability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/portability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/RestrictSystemIncludesCheck.cpp.o -MF tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/RestrictSystemIncludesCheck.cpp.o.d -o tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/RestrictSystemIncludesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/portability/RestrictSystemIncludesCheck.cpp [1629/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/TypePromotionInMathFnCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/TypePromotionInMathFnCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/TypePromotionInMathFnCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/TypePromotionInMathFnCheck.cpp [1630/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/BracesAroundStatementsCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/BracesAroundStatementsCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/BracesAroundStatementsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/BracesAroundStatementsCheck.cpp [1631/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ConstReturnTypeCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ConstReturnTypeCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ConstReturnTypeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/ConstReturnTypeCheck.cpp [1632/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/UnnecessaryCopyInitialization.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/UnnecessaryCopyInitialization.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/UnnecessaryCopyInitialization.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/UnnecessaryCopyInitialization.cpp [1633/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerContainsCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerContainsCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerContainsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/ContainerContainsCheck.cpp [1634/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/UnnecessaryValueParamCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/UnnecessaryValueParamCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/UnnecessaryValueParamCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/UnnecessaryValueParamCheck.cpp [1635/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerDataPointerCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerDataPointerCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerDataPointerCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/ContainerDataPointerCheck.cpp [1636/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/DeleteNullPointerCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/DeleteNullPointerCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/DeleteNullPointerCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/DeleteNullPointerCheck.cpp [1637/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/DuplicateIncludeCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/DuplicateIncludeCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/DuplicateIncludeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/DuplicateIncludeCheck.cpp [1638/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IdentifierLengthCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IdentifierLengthCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IdentifierLengthCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/IdentifierLengthCheck.cpp [1639/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MagicNumbersCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MagicNumbersCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MagicNumbersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/MagicNumbersCheck.cpp [1640/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ElseAfterReturnCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ElseAfterReturnCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ElseAfterReturnCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/ElseAfterReturnCheck.cpp [1641/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MisplacedArrayIndexCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MisplacedArrayIndexCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MisplacedArrayIndexCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/MisplacedArrayIndexCheck.cpp [1642/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/InconsistentDeclarationParameterNameCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/InconsistentDeclarationParameterNameCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/InconsistentDeclarationParameterNameCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.cpp [1643/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MisleadingIndentationCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MisleadingIndentationCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MisleadingIndentationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/MisleadingIndentationCheck.cpp [1644/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IsolateDeclarationCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IsolateDeclarationCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IsolateDeclarationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/IsolateDeclarationCheck.cpp [1645/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NamedParameterCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NamedParameterCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NamedParameterCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/NamedParameterCheck.cpp [1646/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NamespaceCommentCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NamespaceCommentCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NamespaceCommentCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/NamespaceCommentCheck.cpp [1647/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IdentifierNamingCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IdentifierNamingCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IdentifierNamingCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/IdentifierNamingCheck.cpp [1648/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ImplicitBoolConversionCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ImplicitBoolConversionCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ImplicitBoolConversionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/ImplicitBoolConversionCheck.cpp [1649/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerSizeEmptyCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerSizeEmptyCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerSizeEmptyCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/ContainerSizeEmptyCheck.cpp [1650/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/tool/CMakeFiles/clang-tidy.dir/ClangTidyToolMain.cpp.o -MF tools/extra/clang-tidy/tool/CMakeFiles/clang-tidy.dir/ClangTidyToolMain.cpp.o.d -o tools/extra/clang-tidy/tool/CMakeFiles/clang-tidy.dir/ClangTidyToolMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool/ClangTidyToolMain.cpp [1651/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ConvertMemberFunctionsToStatic.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ConvertMemberFunctionsToStatic.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ConvertMemberFunctionsToStatic.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/ConvertMemberFunctionsToStatic.cpp [1652/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantAccessSpecifiersCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantAccessSpecifiersCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantAccessSpecifiersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantAccessSpecifiersCheck.cpp [1653/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/FunctionCognitiveComplexityCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/FunctionCognitiveComplexityCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/FunctionCognitiveComplexityCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/FunctionCognitiveComplexityCheck.cpp [1654/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NonConstParameterCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NonConstParameterCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NonConstParameterCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/NonConstParameterCheck.cpp [1655/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/OperatorsRepresentationCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/OperatorsRepresentationCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/OperatorsRepresentationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/OperatorsRepresentationCheck.cpp [1656/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantFunctionPtrDereferenceCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantFunctionPtrDereferenceCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantFunctionPtrDereferenceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantFunctionPtrDereferenceCheck.cpp [1657/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/FunctionSizeCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/FunctionSizeCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/FunctionSizeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/FunctionSizeCheck.cpp [1658/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/QualifiedAutoCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/QualifiedAutoCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/QualifiedAutoCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/QualifiedAutoCheck.cpp [1659/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/tool/CMakeFiles/obj.clangTidyMain.dir/ClangTidyMain.cpp.o -MF tools/extra/clang-tidy/tool/CMakeFiles/obj.clangTidyMain.dir/ClangTidyMain.cpp.o.d -o tools/extra/clang-tidy/tool/CMakeFiles/obj.clangTidyMain.dir/ClangTidyMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool/ClangTidyMain.cpp [1660/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ReadabilityTidyModule.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ReadabilityTidyModule.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ReadabilityTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/ReadabilityTidyModule.cpp [1661/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantDeclarationCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantDeclarationCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantDeclarationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantDeclarationCheck.cpp [1662/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantMemberInitCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantMemberInitCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantMemberInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantMemberInitCheck.cpp [1663/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/Aliasing.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/Aliasing.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/Aliasing.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/Aliasing.cpp [1664/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantControlFlowCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantControlFlowCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantControlFlowCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantControlFlowCheck.cpp [1665/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FileExtensionsUtils.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FileExtensionsUtils.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FileExtensionsUtils.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/FileExtensionsUtils.cpp [1666/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExceptionSpecAnalyzer.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExceptionSpecAnalyzer.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExceptionSpecAnalyzer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/ExceptionSpecAnalyzer.cpp [1667/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/OptionsUtils.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/OptionsUtils.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/OptionsUtils.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/OptionsUtils.cpp [1668/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MakeMemberFunctionConstCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MakeMemberFunctionConstCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MakeMemberFunctionConstCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/MakeMemberFunctionConstCheck.cpp [1669/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantPreprocessorCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantPreprocessorCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantPreprocessorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantPreprocessorCheck.cpp [1670/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantSmartptrGetCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantSmartptrGetCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantSmartptrGetCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantSmartptrGetCheck.cpp [1671/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FixItHintUtils.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FixItHintUtils.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FixItHintUtils.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/FixItHintUtils.cpp [1672/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExprSequence.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExprSequence.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExprSequence.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/ExprSequence.cpp [1673/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/plugin -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/plugin -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/plugin/CMakeFiles/obj.clangTidyPlugin.dir/ClangTidyPlugin.cpp.o -MF tools/extra/clang-tidy/plugin/CMakeFiles/obj.clangTidyPlugin.dir/ClangTidyPlugin.cpp.o.d -o tools/extra/clang-tidy/plugin/CMakeFiles/obj.clangTidyPlugin.dir/ClangTidyPlugin.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/plugin/ClangTidyPlugin.cpp [1674/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantStringInitCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantStringInitCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantStringInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantStringInitCheck.cpp [1675/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StaticAccessedThroughInstanceCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StaticAccessedThroughInstanceCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StaticAccessedThroughInstanceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/StaticAccessedThroughInstanceCheck.cpp [1676/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StaticDefinitionInAnonymousNamespaceCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StaticDefinitionInAnonymousNamespaceCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StaticDefinitionInAnonymousNamespaceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/StaticDefinitionInAnonymousNamespaceCheck.cpp [1677/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantStringCStrCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantStringCStrCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantStringCStrCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantStringCStrCheck.cpp [1678/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UppercaseLiteralSuffixCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UppercaseLiteralSuffixCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UppercaseLiteralSuffixCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/UppercaseLiteralSuffixCheck.cpp [1679/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/LexerUtils.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/LexerUtils.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/LexerUtils.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/LexerUtils.cpp [1680/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UniqueptrDeleteReleaseCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UniqueptrDeleteReleaseCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UniqueptrDeleteReleaseCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/UniqueptrDeleteReleaseCheck.cpp [1681/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SimplifySubscriptExprCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SimplifySubscriptExprCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SimplifySubscriptExprCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/SimplifySubscriptExprCheck.cpp [1682/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StringCompareCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StringCompareCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StringCompareCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/StringCompareCheck.cpp [1683/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/zircon -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/zircon -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/zircon/CMakeFiles/obj.clangTidyZirconModule.dir/TemporaryObjectsCheck.cpp.o -MF tools/extra/clang-tidy/zircon/CMakeFiles/obj.clangTidyZirconModule.dir/TemporaryObjectsCheck.cpp.o.d -o tools/extra/clang-tidy/zircon/CMakeFiles/obj.clangTidyZirconModule.dir/TemporaryObjectsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/zircon/TemporaryObjectsCheck.cpp [1684/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SuspiciousCallArgumentCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SuspiciousCallArgumentCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SuspiciousCallArgumentCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/SuspiciousCallArgumentCheck.cpp [1685/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/zircon -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/zircon -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/zircon/CMakeFiles/obj.clangTidyZirconModule.dir/ZirconTidyModule.cpp.o -MF tools/extra/clang-tidy/zircon/CMakeFiles/obj.clangTidyZirconModule.dir/ZirconTidyModule.cpp.o.d -o tools/extra/clang-tidy/zircon/CMakeFiles/obj.clangTidyZirconModule.dir/ZirconTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/zircon/ZirconTidyModule.cpp [1686/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UseAnyOfAllOfCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UseAnyOfAllOfCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UseAnyOfAllOfCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/UseAnyOfAllOfCheck.cpp [1687/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/InMemorySymbolIndex.cpp.o -MF tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/InMemorySymbolIndex.cpp.o.d -o tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/InMemorySymbolIndex.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/InMemorySymbolIndex.cpp [1688/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/IncludeFixerContext.cpp.o -MF tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/IncludeFixerContext.cpp.o.d -o tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/IncludeFixerContext.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/IncludeFixerContext.cpp [1689/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/FuzzySymbolIndex.cpp.o -MF tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/FuzzySymbolIndex.cpp.o.d -o tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/FuzzySymbolIndex.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/FuzzySymbolIndex.cpp [1690/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/YamlSymbolIndex.cpp.o -MF tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/YamlSymbolIndex.cpp.o.d -o tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/YamlSymbolIndex.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/YamlSymbolIndex.cpp [1691/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ASTUtils.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ASTUtils.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ASTUtils.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/ASTUtils.cpp [1692/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/SymbolIndexManager.cpp.o -MF tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/SymbolIndexManager.cpp.o.d -o tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/SymbolIndexManager.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/SymbolIndexManager.cpp [1693/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Generators.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Generators.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Generators.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/Generators.cpp [1694/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/HeaderMapCollector.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/HeaderMapCollector.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/HeaderMapCollector.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/HeaderMapCollector.cpp [1695/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExceptionAnalyzer.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExceptionAnalyzer.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExceptionAnalyzer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/ExceptionAnalyzer.cpp [1696/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/IncludeSorter.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/IncludeSorter.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/IncludeSorter.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/IncludeSorter.cpp [1697/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllMacros.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllMacros.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllMacros.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/FindAllMacros.cpp [1698/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/PathConfig.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/PathConfig.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/PathConfig.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/PathConfig.cpp [1699/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/MDGenerator.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/MDGenerator.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/MDGenerator.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/MDGenerator.cpp [1700/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SimplifyBooleanExprCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SimplifyBooleanExprCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SimplifyBooleanExprCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/SimplifyBooleanExprCheck.cpp [1701/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/TypeTraits.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/TypeTraits.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/TypeTraits.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/TypeTraits.cpp [1702/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/IncludeInserter.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/IncludeInserter.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/IncludeInserter.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/IncludeInserter.cpp [1703/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FormatStringConverter.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FormatStringConverter.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FormatStringConverter.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/FormatStringConverter.cpp [1704/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/NamespaceAliaser.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/NamespaceAliaser.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/NamespaceAliaser.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/NamespaceAliaser.cpp [1705/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/DeclRefExprUtils.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/DeclRefExprUtils.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/DeclRefExprUtils.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/DeclRefExprUtils.cpp [1706/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/UsingInserter.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/UsingInserter.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/UsingInserter.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/UsingInserter.cpp [1707/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/ClangDoc.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/ClangDoc.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/ClangDoc.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/ClangDoc.cpp [1708/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/SymbolInfo.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/SymbolInfo.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/SymbolInfo.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/SymbolInfo.cpp [1709/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/BitcodeWriter.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/BitcodeWriter.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/BitcodeWriter.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/BitcodeWriter.cpp [1710/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/HTMLGenerator.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/HTMLGenerator.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/HTMLGenerator.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp In file included from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/LLVM.h:24, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/DiagnosticIDs.h:17, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.h:17, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/NestedNameSpecifier.h:18, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/Type.h:21, from /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/Representation.h:17, from /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/Generators.h:15, from /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:9: In member function 'llvm::SmallVectorTemplateCommon::begin() const', inlined from 'llvm::SmallVectorTemplateCommon::data() const' at /usr/include/llvm/ADT/SmallVector.h:291:58, inlined from 'llvm::Twine::Twine(llvm::SmallVectorImpl const&)' at /usr/include/llvm/ADT/Twine.h:309:38, inlined from 'std::make_unique const&>(clang::doc::(anonymous namespace)::HTMLTag::TagType&&, llvm::SmallString<16u> const&)std::__detail::_MakeUniq::__single_object' at /usr/include/c++/12/bits/unique_ptr.h:1065:30, inlined from 'clang::doc::genFileHeadNodes(llvm::StringRef, llvm::StringRef, clang::doc::ClangDocContext const&)' at /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:478:45: /usr/include/llvm/ADT/SmallVector.h:271:63: warning: array subscript 'const struct SmallVectorTemplateCommon[0]' is partly outside array bounds of 'struct StringRef[1]' [-Warray-bounds] 271 | const_iterator begin() const { return (const_iterator)this->BeginX; } | ^~~~~~ /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp: In function 'clang::doc::genFileHeadNodes(llvm::StringRef, llvm::StringRef, clang::doc::ClangDocContext const&)': /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:472:28: note: object 'Title' of size 16 472 | genFileHeadNodes(StringRef Title, StringRef InfoPath, | ~~~~~~~~~~^~~~~ In member function 'llvm::SmallVectorBase::size() const', inlined from 'llvm::Twine::Twine(llvm::SmallVectorImpl const&)' at /usr/include/llvm/ADT/Twine.h:310:41, inlined from 'std::make_unique const&>(clang::doc::(anonymous namespace)::HTMLTag::TagType&&, llvm::SmallString<16u> const&)std::__detail::_MakeUniq::__single_object' at /usr/include/c++/12/bits/unique_ptr.h:1065:30, inlined from 'clang::doc::genFileHeadNodes(llvm::StringRef, llvm::StringRef, clang::doc::ClangDocContext const&)' at /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:478:45: /usr/include/llvm/ADT/SmallVector.h:91:32: warning: array subscript 'const struct SmallVectorBase[0]' is partly outside array bounds of 'struct StringRef[1]' [-Warray-bounds] 91 | size_t size() const { return Size; } | ^~~~ /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp: In function 'clang::doc::genFileHeadNodes(llvm::StringRef, llvm::StringRef, clang::doc::ClangDocContext const&)': /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:472:28: note: object 'Title' of size 16 472 | genFileHeadNodes(StringRef Title, StringRef InfoPath, | ~~~~~~~~~~^~~~~ In member function 'llvm::SmallVectorTemplateCommon::begin() const', inlined from 'llvm::SmallVectorTemplateCommon::data() const' at /usr/include/llvm/ADT/SmallVector.h:291:58, inlined from 'llvm::Twine::Twine(llvm::SmallVectorImpl const&)' at /usr/include/llvm/ADT/Twine.h:309:38, inlined from 'std::make_unique const&>(clang::doc::(anonymous namespace)::HTMLTag::TagType&&, llvm::SmallString<16u> const&)std::__detail::_MakeUniq::__single_object' at /usr/include/c++/12/bits/unique_ptr.h:1065:30, inlined from 'clang::doc::genReferencesBlock(std::vector > const&, llvm::StringRef, llvm::StringRef)' at /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:427:45: /usr/include/llvm/ADT/SmallVector.h:271:63: warning: array subscript 'const struct SmallVectorTemplateCommon[0]' is partly outside array bounds of 'struct StringRef[1]' [-Warray-bounds] 271 | const_iterator begin() const { return (const_iterator)this->BeginX; } | ^~~~~~ /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp: In function 'clang::doc::genReferencesBlock(std::vector > const&, llvm::StringRef, llvm::StringRef)': /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:422:36: note: object 'Title' of size 16 422 | llvm::StringRef Title, StringRef ParentPath) { | ~~~~~~~~~~~~~~~~^~~~~ In member function 'llvm::SmallVectorBase::size() const', inlined from 'llvm::Twine::Twine(llvm::SmallVectorImpl const&)' at /usr/include/llvm/ADT/Twine.h:310:41, inlined from 'std::make_unique const&>(clang::doc::(anonymous namespace)::HTMLTag::TagType&&, llvm::SmallString<16u> const&)std::__detail::_MakeUniq::__single_object' at /usr/include/c++/12/bits/unique_ptr.h:1065:30, inlined from 'clang::doc::genReferencesBlock(std::vector > const&, llvm::StringRef, llvm::StringRef)' at /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:427:45: /usr/include/llvm/ADT/SmallVector.h:91:32: warning: array subscript 'const struct SmallVectorBase[0]' is partly outside array bounds of 'struct StringRef[1]' [-Warray-bounds] 91 | size_t size() const { return Size; } | ^~~~ /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp: In function 'clang::doc::genReferencesBlock(std::vector > const&, llvm::StringRef, llvm::StringRef)': /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:422:36: note: object 'Title' of size 16 422 | llvm::StringRef Title, StringRef ParentPath) { | ~~~~~~~~~~~~~~~~^~~~~ [1711/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/TransformerClangTidyCheck.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/TransformerClangTidyCheck.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/TransformerClangTidyCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/TransformerClangTidyCheck.cpp [1712/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/STLPostfixHeaderMap.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/STLPostfixHeaderMap.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/STLPostfixHeaderMap.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/STLPostfixHeaderMap.cpp [1713/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/YAMLGenerator.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/YAMLGenerator.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/YAMLGenerator.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/YAMLGenerator.cpp [1714/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/HeaderGuard.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/HeaderGuard.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/HeaderGuard.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/HeaderGuard.cpp [1715/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Representation.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Representation.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Representation.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/Representation.cpp [1716/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/IncludeSpeller.cpp.o -MF tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/IncludeSpeller.cpp.o.d -o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/IncludeSpeller.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib/IncludeSpeller.cpp [1717/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Types.cpp.o -MF tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Types.cpp.o.d -o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Types.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib/Types.cpp [1718/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/BitcodeReader.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/BitcodeReader.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/BitcodeReader.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/BitcodeReader.cpp [1719/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Bracket.cpp.o -MF tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Bracket.cpp.o.d -o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Bracket.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/Bracket.cpp [1720/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Analysis.cpp.o -MF tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Analysis.cpp.o.d -o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Analysis.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib/Analysis.cpp [1721/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Serialize.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Serialize.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Serialize.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/Serialize.cpp [1722/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-change-namespace/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-change-namespace/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-change-namespace/tool/.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-change-namespace/tool/CMakeFiles/clang-change-namespace.dir/ClangChangeNamespace.cpp.o -MF tools/extra/clang-change-namespace/tool/CMakeFiles/clang-change-namespace.dir/ClangChangeNamespace.cpp.o.d -o tools/extra/clang-change-namespace/tool/CMakeFiles/clang-change-namespace.dir/ClangChangeNamespace.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-change-namespace/tool/ClangChangeNamespace.cpp [1723/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/DirectiveTree.cpp.o -MF tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/DirectiveTree.cpp.o.d -o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/DirectiveTree.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/DirectiveTree.cpp [1724/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Disambiguate.cpp.o -MF tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Disambiguate.cpp.o.d -o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Disambiguate.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/Disambiguate.cpp [1725/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/gen -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/gen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/gen/CMakeFiles/clang-pseudo-gen.dir/Main.cpp.o -MF tools/extra/pseudo/gen/CMakeFiles/clang-pseudo-gen.dir/Main.cpp.o.d -o tools/extra/pseudo/gen/CMakeFiles/clang-pseudo-gen.dir/Main.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/gen/Main.cpp [1726/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/tool/.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/tool/CMakeFiles/clang-include-fixer.dir/ClangIncludeFixer.cpp.o -MF tools/extra/clang-include-fixer/tool/CMakeFiles/clang-include-fixer.dir/ClangIncludeFixer.cpp.o.d -o tools/extra/clang-include-fixer/tool/CMakeFiles/clang-include-fixer.dir/ClangIncludeFixer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/tool/ClangIncludeFixer.cpp [1727/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/IncludeFixer.cpp.o -MF tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/IncludeFixer.cpp.o.d -o tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/IncludeFixer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/IncludeFixer.cpp [1728/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/FindHeaders.cpp.o -MF tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/FindHeaders.cpp.o.d -o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/FindHeaders.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib/FindHeaders.cpp [1729/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pp-trace -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pp-trace -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pp-trace/CMakeFiles/pp-trace.dir/PPCallbacksTracker.cpp.o -MF tools/extra/pp-trace/CMakeFiles/pp-trace.dir/PPCallbacksTracker.cpp.o.d -o tools/extra/pp-trace/CMakeFiles/pp-trace.dir/PPCallbacksTracker.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pp-trace/PPCallbacksTracker.cpp [1730/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/LocateSymbol.cpp.o -MF tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/LocateSymbol.cpp.o.d -o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/LocateSymbol.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib/LocateSymbol.cpp [1731/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/plugin -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/plugin -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/plugin/CMakeFiles/obj.clangIncludeFixerPlugin.dir/IncludeFixerPlugin.cpp.o -MF tools/extra/clang-include-fixer/plugin/CMakeFiles/obj.clangIncludeFixerPlugin.dir/IncludeFixerPlugin.cpp.o.d -o tools/extra/clang-include-fixer/plugin/CMakeFiles/obj.clangIncludeFixerPlugin.dir/IncludeFixerPlugin.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/plugin/IncludeFixerPlugin.cpp [1732/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd && /usr/bin/python3.11 /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/quality/CompletionModelCodegen.py --model /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/quality/model --output_dir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd --filename CompletionModel --cpp_class clang::clangd::Example [1733/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Lex.cpp.o -MF tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Lex.cpp.o.d -o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Lex.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/Lex.cpp [1734/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Token.cpp.o -MF tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Token.cpp.o.d -o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Token.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/Token.cpp [1735/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Forest.cpp.o -MF tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Forest.cpp.o.d -o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Forest.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/Forest.cpp [1736/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Cancellation.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Cancellation.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Cancellation.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/Cancellation.cpp [1737/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib/grammar -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRTable.cpp.o -MF tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRTable.cpp.o.d -o tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRTable.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar/LRTable.cpp [1738/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/HTMLReport.cpp.o -MF tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/HTMLReport.cpp.o.d -o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/HTMLReport.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib/HTMLReport.cpp [1739/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib/grammar -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRTableBuild.cpp.o -MF tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRTableBuild.cpp.o.d -o tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRTableBuild.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar/LRTableBuild.cpp [1740/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-change-namespace -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-change-namespace -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-change-namespace/CMakeFiles/obj.clangChangeNamespace.dir/ChangeNamespace.cpp.o -MF tools/extra/clang-change-namespace/CMakeFiles/obj.clangChangeNamespace.dir/ChangeNamespace.cpp.o.d -o tools/extra/clang-change-namespace/CMakeFiles/obj.clangChangeNamespace.dir/ChangeNamespace.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-change-namespace/ChangeNamespace.cpp [1741/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib/grammar -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRGraph.cpp.o -MF tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRGraph.cpp.o.d -o tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRGraph.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar/LRGraph.cpp [1742/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/tool/.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/tool/CMakeFiles/clang-doc.dir/ClangDocMain.cpp.o -MF tools/extra/clang-doc/tool/CMakeFiles/clang-doc.dir/ClangDocMain.cpp.o.d -o tools/extra/clang-doc/tool/CMakeFiles/clang-doc.dir/ClangDocMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/tool/ClangDocMain.cpp [1743/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/GLR.cpp.o -MF tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/GLR.cpp.o.d -o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/GLR.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/GLR.cpp [1744/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Mapper.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Mapper.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Mapper.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/Mapper.cpp [1745/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Config.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Config.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Config.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Config.cpp [1746/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib/grammar -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/GrammarBNF.cpp.o -MF tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/GrammarBNF.cpp.o.d -o tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/GrammarBNF.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar/GrammarBNF.cpp [1747/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/PragmaCommentHandler.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/PragmaCommentHandler.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/PragmaCommentHandler.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/PragmaCommentHandler.cpp [1748/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllSymbolsAction.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllSymbolsAction.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllSymbolsAction.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/FindAllSymbolsAction.cpp [1749/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pp-trace -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pp-trace -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pp-trace/CMakeFiles/pp-trace.dir/PPTrace.cpp.o -MF tools/extra/pp-trace/CMakeFiles/pp-trace.dir/PPTrace.cpp.o.d -o tools/extra/pp-trace/CMakeFiles/pp-trace.dir/PPTrace.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pp-trace/PPTrace.cpp [1750/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib/grammar -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/Grammar.cpp.o -MF tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/Grammar.cpp.o.d -o tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/Grammar.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar/Grammar.cpp [1751/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Record.cpp.o -MF tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Record.cpp.o.d -o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Record.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib/Record.cpp [1752/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigProvider.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigProvider.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigProvider.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/ConfigProvider.cpp [1753/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/RenamerClangTidyCheck.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/RenamerClangTidyCheck.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/RenamerClangTidyCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/RenamerClangTidyCheck.cpp [1754/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Feature.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Feature.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Feature.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Feature.cpp [1755/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DecisionForest.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DecisionForest.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DecisionForest.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/DecisionForest.cpp [1756/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeCompletionStrings.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeCompletionStrings.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeCompletionStrings.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/CodeCompletionStrings.cpp [1757/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/tool/../lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/tool/CMakeFiles/clang-include-cleaner.dir/IncludeCleaner.cpp.o -MF tools/extra/include-cleaner/tool/CMakeFiles/clang-include-cleaner.dir/IncludeCleaner.cpp.o.d -o tools/extra/include-cleaner/tool/CMakeFiles/clang-include-cleaner.dir/IncludeCleaner.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/tool/IncludeCleaner.cpp [1758/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DraftStore.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DraftStore.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DraftStore.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/DraftStore.cpp [1759/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-query -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-query -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-query/CMakeFiles/obj.clangQuery.dir/QueryParser.cpp.o -MF tools/extra/clang-query/CMakeFiles/obj.clangQuery.dir/QueryParser.cpp.o.d -o tools/extra/clang-query/CMakeFiles/obj.clangQuery.dir/QueryParser.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-query/QueryParser.cpp [1760/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigYAML.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigYAML.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigYAML.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/ConfigYAML.cpp [1761/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FeatureModule.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FeatureModule.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FeatureModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/FeatureModule.cpp [1762/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FileDistance.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FileDistance.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FileDistance.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/FileDistance.cpp [1763/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FS.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FS.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FS.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/FS.cpp [1764/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllSymbols.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllSymbols.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllSymbols.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/FindAllSymbols.cpp [1765/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FuzzyMatch.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FuzzyMatch.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FuzzyMatch.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/FuzzyMatch.cpp [1766/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-query/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-query/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-query/tool/.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-query/tool/CMakeFiles/clang-query.dir/ClangQuery.cpp.o -MF tools/extra/clang-query/tool/CMakeFiles/clang-query.dir/ClangQuery.cpp.o.d -o tools/extra/clang-query/tool/CMakeFiles/clang-query.dir/ClangQuery.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-query/tool/ClangQuery.cpp [1767/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/tool/.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/tool/CMakeFiles/find-all-symbols.dir/FindAllSymbolsMain.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/tool/CMakeFiles/find-all-symbols.dir/FindAllSymbolsMain.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/tool/CMakeFiles/find-all-symbols.dir/FindAllSymbolsMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp [1768/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-move -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-move -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-move/CMakeFiles/obj.clangMove.dir/HelperDeclRefGraph.cpp.o -MF tools/extra/clang-move/CMakeFiles/obj.clangMove.dir/HelperDeclRefGraph.cpp.o.d -o tools/extra/clang-move/CMakeFiles/obj.clangMove.dir/HelperDeclRefGraph.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-move/HelperDeclRefGraph.cpp [1769/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-move/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-move/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-move/tool/.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-move/tool/CMakeFiles/clang-move.dir/ClangMove.cpp.o -MF tools/extra/clang-move/tool/CMakeFiles/clang-move.dir/ClangMove.cpp.o.d -o tools/extra/clang-move/tool/CMakeFiles/clang-move.dir/ClangMove.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-move/tool/ClangMove.cpp [1770/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Format.cpp [1771/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigCompile.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigCompile.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigCompile.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/ConfigCompile.cpp [1772/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ExpectedTypes.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ExpectedTypes.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ExpectedTypes.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/ExpectedTypes.cpp [1773/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/WalkAST.cpp.o -MF tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/WalkAST.cpp.o.d -o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/WalkAST.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib/WalkAST.cpp [1774/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ASTSignals.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ASTSignals.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ASTSignals.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/ASTSignals.cpp [1775/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/PathMapping.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/PathMapping.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/PathMapping.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/PathMapping.cpp [1776/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/RIFF.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/RIFF.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/RIFF.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/RIFF.cpp [1777/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/JSONTransport.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/JSONTransport.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/JSONTransport.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/JSONTransport.cpp [1778/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CollectMacros.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CollectMacros.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CollectMacros.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/CollectMacros.cpp [1779/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/HeuristicResolver.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/HeuristicResolver.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/HeuristicResolver.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/HeuristicResolver.cpp [1780/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Compiler.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Compiler.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Compiler.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Compiler.cpp [1781/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-query -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-query -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-query/CMakeFiles/obj.clangQuery.dir/Query.cpp.o -MF tools/extra/clang-query/CMakeFiles/obj.clangQuery.dir/Query.cpp.o.d -o tools/extra/clang-query/CMakeFiles/obj.clangQuery.dir/Query.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-query/Query.cpp [1782/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/URI.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/URI.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/URI.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/URI.cpp [1783/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/GlobalCompilationDatabase.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/GlobalCompilationDatabase.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/GlobalCompilationDatabase.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/GlobalCompilationDatabase.cpp [1784/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/TidyProvider.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/TidyProvider.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/TidyProvider.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/TidyProvider.cpp [1785/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/tool-template -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/tool-template -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/tool-template/CMakeFiles/tool-template.dir/ToolTemplate.cpp.o -MF tools/extra/tool-template/CMakeFiles/tool-template.dir/ToolTemplate.cpp.o.d -o tools/extra/tool-template/CMakeFiles/tool-template.dir/ToolTemplate.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/tool-template/ToolTemplate.cpp [1786/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-move -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-move -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-move/CMakeFiles/obj.clangMove.dir/Move.cpp.o -MF tools/extra/clang-move/CMakeFiles/obj.clangMove.dir/Move.cpp.o.d -o tools/extra/clang-move/CMakeFiles/obj.clangMove.dir/Move.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-move/Move.cpp [1787/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Protocol.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Protocol.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Protocol.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Protocol.cpp [1788/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SystemIncludeExtractor.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SystemIncludeExtractor.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SystemIncludeExtractor.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/SystemIncludeExtractor.cpp [1789/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/HeaderSourceSwitch.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/HeaderSourceSwitch.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/HeaderSourceSwitch.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/HeaderSourceSwitch.cpp [1790/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FindSymbols.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FindSymbols.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FindSymbols.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/FindSymbols.cpp [1791/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/CanonicalIncludes.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/CanonicalIncludes.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/CanonicalIncludes.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/CanonicalIncludes.cpp [1792/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Headers.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Headers.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Headers.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Headers.cpp [1793/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Quality.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Quality.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Quality.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Quality.cpp [1794/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Index.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Index.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Index.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/Index.cpp [1795/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SemanticSelection.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SemanticSelection.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SemanticSelection.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/SemanticSelection.cpp [1796/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeCleaner.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeCleaner.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeCleaner.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/IncludeCleaner.cpp [1797/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeFixer.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeFixer.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeFixer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/IncludeFixer.cpp [1798/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Diagnostics.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Diagnostics.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Diagnostics.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Diagnostics.cpp [1799/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Hover.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Hover.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Hover.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Hover.cpp [1800/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Relation.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Relation.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Relation.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/Relation.cpp [1801/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Merge.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Merge.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Merge.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/Merge.cpp [1802/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ClangdServer.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ClangdServer.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ClangdServer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/ClangdServer.cpp [1803/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/ProjectAware.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/ProjectAware.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/ProjectAware.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/ProjectAware.cpp [1804/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Ref.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Ref.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Ref.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/Ref.cpp [1805/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolLocation.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolLocation.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolLocation.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/SymbolLocation.cpp [1806/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolOrigin.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolOrigin.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolOrigin.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/SymbolOrigin.cpp [1807/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Symbol.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Symbol.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Symbol.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/Symbol.cpp [1808/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolID.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolID.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolID.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/SymbolID.cpp [1809/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DumpAST.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DumpAST.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DumpAST.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/DumpAST.cpp [1810/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/MemIndex.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/MemIndex.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/MemIndex.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/MemIndex.cpp [1811/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SourceCode.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SourceCode.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SourceCode.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/SourceCode.cpp [1812/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeComplete.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeComplete.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeComplete.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/CodeComplete.cpp [1813/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/PostingList.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/PostingList.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/PostingList.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/dex/PostingList.cpp [1814/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Context.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Context.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Context.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/Context.cpp [1815/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Iterator.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Iterator.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Iterator.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/dex/Iterator.cpp [1816/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexLoader.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexLoader.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexLoader.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/BackgroundIndexLoader.cpp [1817/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexStorage.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexStorage.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexStorage.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/BackgroundIndexStorage.cpp [1818/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Trigram.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Trigram.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Trigram.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/dex/Trigram.cpp [1819/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/FileCache.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/FileCache.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/FileCache.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/FileCache.cpp [1820/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Shutdown.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Shutdown.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Shutdown.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/Shutdown.cpp [1821/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Path.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Path.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Path.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/Path.cpp [1822/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Logger.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Logger.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Logger.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/Logger.cpp [1823/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/ThreadCrashReporter.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/ThreadCrashReporter.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/ThreadCrashReporter.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/ThreadCrashReporter.cpp [1824/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/MemoryTree.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/MemoryTree.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/MemoryTree.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/MemoryTree.cpp [1825/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundQueue.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundQueue.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundQueue.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/BackgroundQueue.cpp [1826/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundRebuild.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundRebuild.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundRebuild.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/BackgroundRebuild.cpp [1827/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Markup.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Markup.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Markup.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/Markup.cpp [1828/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/AST.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/AST.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/AST.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/AST.cpp [1829/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Threading.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Threading.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Threading.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/Threading.cpp [1830/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/ThreadsafeFS.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/ThreadsafeFS.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/ThreadsafeFS.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/ThreadsafeFS.cpp [1831/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FindTarget.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FindTarget.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FindTarget.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/FindTarget.cpp [1832/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/TUScheduler.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/TUScheduler.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/TUScheduler.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/TUScheduler.cpp [1833/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Background.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Background.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Background.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/Background.cpp [1834/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Trace.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Trace.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Trace.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/Trace.cpp [1835/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Selection.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Selection.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Selection.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Selection.cpp [1836/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/InsertionPoint.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/InsertionPoint.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/InsertionPoint.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/InsertionPoint.cpp [1837/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/IndexAction.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/IndexAction.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/IndexAction.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/IndexAction.cpp [1838/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Preamble.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Preamble.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Preamble.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Preamble.cpp [1839/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Dex.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Dex.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Dex.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/dex/Dex.cpp [1840/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/InlayHints.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/InlayHints.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/InlayHints.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/InlayHints.cpp [1841/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/fuzzer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/fuzzer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/FuzzerClangdMain.cpp.o -MF tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/FuzzerClangdMain.cpp.o.d -o tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/FuzzerClangdMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/fuzzer/FuzzerClangdMain.cpp [1842/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CompileCommands.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CompileCommands.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CompileCommands.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/CompileCommands.cpp [1843/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ClangdLSPServer.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ClangdLSPServer.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ClangdLSPServer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/ClangdLSPServer.cpp [1844/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/FileIndex.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/FileIndex.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/FileIndex.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/FileIndex.cpp [1845/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/tool/CMakeFiles/clangd.dir/ClangdToolMain.cpp.o -MF tools/extra/clangd/tool/CMakeFiles/clangd.dir/ClangdToolMain.cpp.o.d -o tools/extra/clangd/tool/CMakeFiles/clangd.dir/ClangdToolMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/tool/ClangdToolMain.cpp [1846/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/YAMLSerialization.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/YAMLSerialization.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/YAMLSerialization.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/YAMLSerialization.cpp [1847/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/StdLib.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/StdLib.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/StdLib.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/StdLib.cpp [1848/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/Tweak.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/Tweak.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/Tweak.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/Tweak.cpp [1849/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SemanticHighlighting.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SemanticHighlighting.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SemanticHighlighting.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/SemanticHighlighting.cpp [1850/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ParsedAST.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ParsedAST.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ParsedAST.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/ParsedAST.cpp [1851/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Serialization.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Serialization.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Serialization.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/Serialization.cpp [1852/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/index/remote/unimplemented -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/remote/unimplemented -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/remote/unimplemented/../../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/index/remote/unimplemented/CMakeFiles/obj.clangdRemoteIndex.dir/UnimplementedClient.cpp.o -MF tools/extra/clangd/index/remote/unimplemented/CMakeFiles/obj.clangdRemoteIndex.dir/UnimplementedClient.cpp.o.d -o tools/extra/clangd/index/remote/unimplemented/CMakeFiles/obj.clangdRemoteIndex.dir/UnimplementedClient.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/remote/unimplemented/UnimplementedClient.cpp [1853/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolCollector.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolCollector.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolCollector.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/SymbolCollector.cpp [1854/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/BuildSystem.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/BuildSystem.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/BuildSystem.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/BuildSystem.cpp [1855/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AnnotateHighlightings.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AnnotateHighlightings.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AnnotateHighlightings.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/AnnotateHighlightings.cpp [1856/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DumpAST.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DumpAST.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DumpAST.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/DumpAST.cpp [1857/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandDeducedType.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandDeducedType.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandDeducedType.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/ExpandDeducedType.cpp [1858/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandMacro.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandMacro.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandMacro.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/ExpandMacro.cpp [1859/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCLocalizeStringLiteral.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCLocalizeStringLiteral.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCLocalizeStringLiteral.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/ObjCLocalizeStringLiteral.cpp [1860/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/MemberwiseConstructor.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/MemberwiseConstructor.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/MemberwiseConstructor.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/MemberwiseConstructor.cpp [1861/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/Rename.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/Rename.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/Rename.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/Rename.cpp [1862/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineOutline.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineOutline.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineOutline.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/DefineOutline.cpp [1863/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -Wno-unused -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CompletionModel.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CompletionModel.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CompletionModel.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/CompletionModel.cpp [1864/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CIndexer.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CIndexer.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CIndexer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CIndexer.cpp [1865/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RawStringLiteral.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RawStringLiteral.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RawStringLiteral.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/RawStringLiteral.cpp [1866/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CIndexCXX.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CIndexCXX.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CIndexCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CIndexCXX.cpp [1867/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/ARCMigrate.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/ARCMigrate.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/ARCMigrate.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/ARCMigrate.cpp [1868/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/PopulateSwitch.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/PopulateSwitch.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/PopulateSwitch.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/PopulateSwitch.cpp [1869/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCMemberwiseInitializer.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCMemberwiseInitializer.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCMemberwiseInitializer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/ObjCMemberwiseInitializer.cpp [1870/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXCompilationDatabase.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXCompilationDatabase.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXCompilationDatabase.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXCompilationDatabase.cpp [1871/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/FatalErrorHandler.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/FatalErrorHandler.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/FatalErrorHandler.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/FatalErrorHandler.cpp [1872/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SwapIfBranches.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SwapIfBranches.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SwapIfBranches.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/SwapIfBranches.cpp [1873/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineInline.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineInline.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineInline.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/DefineInline.cpp [1874/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/XRefs.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/XRefs.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/XRefs.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/XRefs.cpp [1875/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/amdgpu-arch -I/builddir/build/BUILD/clang-17.0.6.src/tools/amdgpu-arch -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArch.cpp.o -MF tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArch.cpp.o.d -o tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArch.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/amdgpu-arch/AMDGPUArch.cpp [1876/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXLoadedDiagnostic.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXLoadedDiagnostic.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXLoadedDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXLoadedDiagnostic.cpp [1877/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-attr-docs -I /builddir/build/BUILD/clang-17.0.6.src/docs -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include -I/builddir/build/BUILD/clang-17.0.6.src/docs/../include/clang/Basic /builddir/build/BUILD/clang-17.0.6.src/docs/../include/clang/Basic/Attr.td --write-if-changed -o docs/AttributeReference.rst -d docs/AttributeReference.rst.d [1878/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/amdgpu-arch -I/builddir/build/BUILD/clang-17.0.6.src/tools/amdgpu-arch -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHIP.cpp.o -MF tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHIP.cpp.o.d -o tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHIP.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/amdgpu-arch/AMDGPUArchByHIP.cpp [1879/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/fuzzer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/fuzzer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/clangd-fuzzer.cpp.o -MF tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/clangd-fuzzer.cpp.o.d -o tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/clangd-fuzzer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/fuzzer/clangd-fuzzer.cpp [1880/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-diag-docs -I /builddir/build/BUILD/clang-17.0.6.src/docs -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include -I/builddir/build/BUILD/clang-17.0.6.src/docs/../include/clang/Basic /builddir/build/BUILD/clang-17.0.6.src/docs/../include/clang/Basic/Diagnostic.td --write-if-changed -o docs/DiagnosticsReference.rst -d docs/DiagnosticsReference.rst.d [1881/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-opt-docs -I /builddir/build/BUILD/clang-17.0.6.src/docs -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include -I/builddir/build/BUILD/clang-17.0.6.src/docs/../include/clang/Driver /builddir/build/BUILD/clang-17.0.6.src/docs/../include/clang/Driver/ClangOptionDocs.td --write-if-changed -o docs/ClangCommandLineReference.rst -d docs/ClangCommandLineReference.rst.d [1882/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/amdgpu-arch -I/builddir/build/BUILD/clang-17.0.6.src/tools/amdgpu-arch -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHSA.cpp.o -MF tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHSA.cpp.o.d -o tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHSA.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/amdgpu-arch/AMDGPUArchByHSA.cpp [1883/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/nvptx-arch -I/builddir/build/BUILD/clang-17.0.6.src/tools/nvptx-arch -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/nvptx-arch/CMakeFiles/nvptx-arch.dir/NVPTXArch.cpp.o -MF tools/nvptx-arch/CMakeFiles/nvptx-arch.dir/NVPTXArch.cpp.o.d -o tools/nvptx-arch/CMakeFiles/nvptx-arch.dir/NVPTXArch.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/nvptx-arch/NVPTXArch.cpp [1884/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SpecialMembers.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SpecialMembers.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SpecialMembers.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/SpecialMembers.cpp [1885/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CIndexUSRs.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CIndexUSRs.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CIndexUSRs.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CIndexUSRs.cpp [1886/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CIndexDiagnostic.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CIndexDiagnostic.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CIndexDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CIndexDiagnostic.cpp [1887/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CIndexInclusionStack.cpp [1888/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CIndexHigh.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CIndexHigh.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CIndexHigh.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CIndexHigh.cpp [1889/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXComment.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXComment.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXComment.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXComment.cpp [1890/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXStoredDiagnostic.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXStoredDiagnostic.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXStoredDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXStoredDiagnostic.cpp [1891/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXSourceLocation.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXSourceLocation.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXSourceLocation.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXSourceLocation.cpp [1892/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/indexer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/indexer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/indexer/CMakeFiles/clangd-indexer.dir/IndexerMain.cpp.o -MF tools/extra/clangd/indexer/CMakeFiles/clangd-indexer.dir/IndexerMain.cpp.o.d -o tools/extra/clangd/indexer/CMakeFiles/clangd-indexer.dir/IndexerMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/indexer/IndexerMain.cpp [1893/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXString.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXString.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXString.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXString.cpp [1894/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/Rewrite.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/Rewrite.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/Rewrite.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/Rewrite.cpp [1895/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/index/dex/dexp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/dex/dexp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/index/dex/dexp/CMakeFiles/dexp.dir/Dexp.cpp.o -MF tools/extra/clangd/index/dex/dexp/CMakeFiles/dexp.dir/Dexp.cpp.o.d -o tools/extra/clangd/index/dex/dexp/CMakeFiles/dexp.dir/Dexp.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/dex/dexp/Dexp.cpp [1896/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXCursor.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXCursor.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXCursor.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXCursor.cpp [1897/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractVariable.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractVariable.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractVariable.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/ExtractVariable.cpp [1898/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AddUsing.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AddUsing.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AddUsing.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/AddUsing.cpp [1899/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXIndexDataConsumer.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXIndexDataConsumer.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXIndexDataConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXIndexDataConsumer.cpp [1900/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/Check.cpp.o -MF tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/Check.cpp.o.d -o tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/Check.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/tool/Check.cpp [1901/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/test -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/test -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/BEFORE -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.o -MF tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.o.d -o tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/CTTestTidyModule.cpp [1902/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CIndexCodeCompletion.cpp [1903/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXType.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXType.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXType.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXType.cpp [1904/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/ClangdMain.cpp.o -MF tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/ClangdMain.cpp.o.d -o tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/ClangdMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/tool/ClangdMain.cpp [1905/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RemoveUsingNamespace.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RemoveUsingNamespace.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RemoveUsingNamespace.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/RemoveUsingNamespace.cpp [1906/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/Indexing.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/Indexing.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/Indexing.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/Indexing.cpp [1907/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXExtractAPI.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXExtractAPI.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXExtractAPI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXExtractAPI.cpp [1908/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractFunction.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractFunction.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractFunction.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/ExtractFunction.cpp [1909/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CIndex.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CIndex.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CIndex.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CIndex.cpp [1910/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs && /usr/bin/cmake -E env /usr/bin/sphinx-build -b man -d /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs/_doctrees-clang-man -q -t builder-man -D version=17 -D release=17.0.6 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs/man /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs/index.rst:16: WARNING: toctree contains reference to nonexisting document 'DataFlowAnalysisIntro' [1911/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs && /usr/bin/cmake -E env /usr/bin/sphinx-build -b html -d /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs/_doctrees-clang-html -q -t builder-html -D version=17 -D release=17.0.6 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs/html /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs/index.rst:16: WARNING: toctree contains reference to nonexisting document 'DataFlowAnalysisIntro' [1912/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/docs/LibASTMatchersReference.html /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs/html/LibASTMatchersReference.html [1913/2015] : && /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -Wl,-Bsymbolic-functions -shared -Wl,-soname,libclang-cpp.so.17 -o lib64/libclang-cpp.so.17 lib/Basic/CMakeFiles/obj.clangBasic.dir/Attributes.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Builtins.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/CLWarnings.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/CharInfo.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/CodeGenOptions.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Cuda.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/DarwinSDKInfo.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Diagnostic.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticIDs.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticOptions.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/ExpressionTraits.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/FileEntry.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/FileManager.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/FileSystemStatCache.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/IdentifierTable.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/LangOptions.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/LangStandards.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/MakeSupport.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Module.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/ObjCRuntime.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenCLOptions.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenMPKinds.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/OperatorPrecedence.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/ParsedAttrInfo.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/ProfileList.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/NoSanitizeList.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/SanitizerSpecialCaseList.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Sanitizers.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Sarif.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceLocation.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceManager.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Stack.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetID.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetInfo.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AArch64.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AMDGPU.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARC.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARM.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AVR.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/BPF.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/CSKY.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/DirectX.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Hexagon.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Lanai.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Le64.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/LoongArch.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/M68k.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/MSP430.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Mips.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/NVPTX.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/OSTargets.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PNaCl.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PPC.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SPIR.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Sparc.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SystemZ.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/TCE.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/VE.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/WebAssembly.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/X86.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/XCore.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/TokenKinds.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/TypeTraits.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Warnings.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayInstr.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayLists.cpp.o lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesTypes.cpp.o lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesYAMLCompiler.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/DependencyDirectivesScanner.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderMap.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderSearch.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/InitHeaderSearch.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/Lexer.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/LiteralSupport.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/MacroArgs.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/MacroInfo.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/ModuleMap.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPCaching.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPCallbacks.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPConditionalDirectiveRecord.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPDirectives.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPExpressions.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPLexerChange.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPMacroExpansion.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/Pragma.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessingRecord.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/Preprocessor.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessorLexer.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/ScratchBuffer.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/TokenConcatenation.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/TokenLexer.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseAST.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseCXXInlineMethods.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDecl.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDeclCXX.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExpr.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExprCXX.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseHLSL.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseInit.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseObjc.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseOpenMP.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParsePragma.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmt.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmtAsm.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTemplate.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTentative.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/Parser.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/APValue.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTConcept.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTConsumer.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTContext.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTDiagnostic.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTDumper.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporterLookupTable.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTStructuralEquivalence.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTTypeTraits.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/AttrDocTable.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/AttrImpl.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Comment.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CommentBriefParser.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CommentCommandTraits.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CommentLexer.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CommentParser.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CommentSema.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ComparisonCategories.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ComputeDependence.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CXXInheritance.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DataCollection.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Decl.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclarationName.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclBase.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclCXX.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclFriend.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclGroup.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclObjC.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclOpenMP.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclPrinter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclTemplate.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ParentMapContext.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Expr.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExprClassification.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExprConcepts.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExprConstant.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExprCXX.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExprObjC.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTMerger.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTSource.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/FormatString.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/InheritViz.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeEmitter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeExprGen.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeGenError.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeStmtGen.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Context.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Descriptor.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Disasm.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/EvalEmitter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Frame.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Function.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBuiltin.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Floating.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Interp.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBlock.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpFrame.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpStack.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpState.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Pointer.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/PrimType.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Program.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Record.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Source.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/State.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumCXXABI.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumMangle.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/JSONNodeDumper.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Mangle.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftCXXABI.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftMangle.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/NestedNameSpecifier.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/NSAPI.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ODRDiagsEmitter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ODRHash.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/OpenMPClause.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/OSLog.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ParentMap.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/PrintfFormatString.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/QualTypeNames.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Randstruct.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/RawCommentList.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayout.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayoutBuilder.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ScanfFormatString.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/SelectorLocationsKind.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Stmt.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtCXX.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtIterator.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtObjC.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtOpenMP.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtPrinter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtProfile.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtViz.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/TemplateBase.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/TemplateName.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/TextNodeDumper.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Type.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/TypeLoc.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/TypePrinter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/VTableBuilder.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/VTTBuilder.cpp.o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Diagnostics.cpp.o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Marshallers.cpp.o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Parser.cpp.o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/VariantValue.cpp.o lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchFinder.cpp.o lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchersInternal.cpp.o lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/GtestMatchers.cpp.o lib/CrossTU/CMakeFiles/obj.clangCrossTU.dir/CrossTranslationUnit.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/AnalysisBasedWarnings.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/CodeCompleteConsumer.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/DeclSpec.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/DelayedDiagnostic.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/HLSLExternalSemaSource.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/IdentifierResolver.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/JumpDiagnostics.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/MultiplexExternalSemaSource.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/ParsedAttr.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/Scope.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/ScopeInfo.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/Sema.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAccess.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAttr.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAvailability.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCXXScopeSpec.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCast.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaChecking.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCodeComplete.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConcept.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConsumer.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCoroutine.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCUDA.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDecl.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclAttr.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclCXX.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclObjC.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExceptionSpec.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExpr.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprCXX.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprMember.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprObjC.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaFixItUtils.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaHLSL.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaInit.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLambda.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLookup.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaModule.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaObjCProperty.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOpenMP.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOverload.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaPseudoObject.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaRISCVVectorLookup.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmt.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAsm.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAttr.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaSYCL.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplate.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateDeduction.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiate.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiateDecl.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateVariadic.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaType.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/TypeLocBuilder.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfo.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfoImpl.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/BackendUtil.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGAtomic.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBlocks.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDANV.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDARuntime.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXX.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXXABI.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCall.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGClass.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCleanup.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCoroutine.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDebugInfo.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDecl.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDeclCXX.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGException.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExpr.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprAgg.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprCXX.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprComplex.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprConstant.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprScalar.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGGPUBuiltin.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGHLSLRuntime.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGLoopInfo.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGNonTrivialStruct.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjC.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCGNU.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCMac.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCRuntime.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenCLRuntime.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntime.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntimeGPU.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGRecordLayoutBuilder.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmt.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmtOpenMP.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTT.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTables.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenABITypes.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenAction.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenFunction.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenModule.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenPGO.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTBAA.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTypes.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ConstantInitBuilder.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CoverageMappingGen.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ItaniumCXXABI.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MacroPPCallbacks.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MicrosoftCXXABI.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ModuleBuilder.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ObjectFilePCHContainerOperations.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/PatternInit.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SanitizerMetadata.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SwiftCallingConv.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/TargetInfo.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AArch64.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AMDGPU.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARC.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARM.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AVR.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/BPF.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/CSKY.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Hexagon.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Lanai.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/LoongArch.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/M68k.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/MSP430.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Mips.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/NVPTX.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PNaCl.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PPC.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/RISCV.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SPIR.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Sparc.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SystemZ.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/TCE.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/VE.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/WebAssembly.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/X86.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/XCore.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/VarBypassDetector.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/AnalysisDeclContext.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/BodyFarm.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CalledOnceCheck.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFG.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGReachabilityAnalysis.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGStmtMap.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CallGraph.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CloneDetection.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CocoaConventions.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ConstructionContext.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Consumed.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CodeInjector.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Dominators.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ExprMutationAnalyzer.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IntervalPartition.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IssueHash.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/LiveVariables.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/MacroExpansionContext.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ObjCNoReturn.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PathDiagnostic.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PostOrderCFGView.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ProgramPoint.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ReachableCode.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/RetainSummaryManager.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafety.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyCommon.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyLogical.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyTIL.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UninitializedValues.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UnsafeBufferUsage.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Arena.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/ControlFlowContext.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowAnalysisContext.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowEnvironment.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Formula.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/HTMLLogger.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Logger.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/RecordOps.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Transfer.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/TypeErasedDataflowAnalysis.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Value.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/WatchedLiteralsSolver.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DebugSupport.cpp.o lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/ChromiumCheckModel.cpp.o lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/UncheckedOptionalAccessModel.cpp.o lib/Edit/CMakeFiles/obj.clangEdit.dir/Commit.cpp.o lib/Edit/CMakeFiles/obj.clangEdit.dir/EditedSource.cpp.o lib/Edit/CMakeFiles/obj.clangEdit.dir/RewriteObjCFoundationAPI.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/API.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/APIIgnoresList.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/AvailabilityInfo.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/ExtractAPIConsumer.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/DeclarationFragments.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/Serialization/SymbolGraphSerializer.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/TypedefUnderlyingTypeResolver.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/DeltaTree.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/HTMLRewrite.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/RewriteRope.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/Rewriter.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/TokenRewriter.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMT.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMTActions.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/FileRemapper.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ObjCMT.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/PlistReporter.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAPIUses.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransARCAssign.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAutoreleasePool.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransBlockObjCVariable.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransEmptyStatementsAndDealloc.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCAttrs.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCCalls.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProperties.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProtectedScope.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransRetainReleaseDealloc.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnbridgedCasts.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnusedInitDelegate.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransZeroOutPropsInDealloc.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransformActions.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/Transforms.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Action.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Compilation.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Distro.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Driver.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/DriverOptions.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Job.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Multilib.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/MultilibBuilder.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/OffloadBundler.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/OptionUtils.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Phases.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/SanitizerArgs.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Tool.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChain.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/AArch64.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/ARM.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/CSKY.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/LoongArch.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/M68k.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Mips.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/PPC.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Sparc.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/SystemZ.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/VE.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/X86.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AIX.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Ananas.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPU.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPUOpenMP.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AVR.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/BareMetal.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Clang.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CloudABI.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CommonArgs.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Contiki.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CrossWindows.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CSKYToolChain.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Cuda.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Darwin.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/DragonFly.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Flang.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/FreeBSD.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Fuchsia.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Gnu.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Haiku.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPAMD.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPSPV.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hexagon.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HLSL.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hurd.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Linux.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MipsLinux.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MinGW.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Minix.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSP430.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSVC.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Myriad.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NaCl.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NetBSD.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OHOS.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OpenBSD.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PS4CPU.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/RISCVToolchain.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Solaris.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/SPIRV.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/TCE.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/VEToolchain.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/WebAssembly.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/XCore.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCLinux.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCFreeBSD.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/InterfaceStubs.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/ZOS.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Types.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/XRayArgs.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTCommon.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReader.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderDecl.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderStmt.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriter.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterDecl.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterStmt.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GeneratePCH.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GlobalModuleIndex.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/InMemoryModuleCache.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFile.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFileExtension.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleManager.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/PCHContainerOperations.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FixItRewriter.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FrontendActions.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/HTMLPrint.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/InclusionRewriter.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteMacros.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteModernObjC.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteObjC.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteTest.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTConsumers.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTMerge.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTUnit.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedDiagnosticConsumer.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedIncludesSource.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInstance.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInvocation.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CreateInvocationFromCommandLine.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyFile.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyGraph.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DiagnosticRenderer.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendAction.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendActions.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendOptions.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/HeaderIncludeGen.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InitPreprocessor.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LayoutOverrideSource.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LogDiagnosticPrinter.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ModuleDependencyCollector.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/MultiplexConsumer.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrecompiledPreamble.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrintPreprocessedOutput.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnostic.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnosticPrinter.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticPrinter.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticReader.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TestModuleFileExtension.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnostic.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticBuffer.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticPrinter.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/VerifyDiagnosticConsumer.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InterfaceStubFunctionsConsumer.cpp.o lib/FrontendTool/CMakeFiles/obj.clangFrontendTool.dir/ExecuteCompilerInvocation.cpp.o lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Diagnostic.cpp.o lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Replacement.cpp.o lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderAnalysis.cpp.o lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderIncludes.cpp.o lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/IncludeStyle.cpp.o lib/Tooling/Inclusions/Stdlib/CMakeFiles/obj.clangToolingInclusionsStdlib.dir/StandardLibrary.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelection.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelectionRequirements.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/AtomicChange.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/Extract.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/SourceExtraction.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Lookup.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/RefactoringActions.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/RenamingAction.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/SymbolOccurrences.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFinder.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFindingAction.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRLocFinder.cpp.o lib/Tooling/ASTDiff/CMakeFiles/obj.clangToolingASTDiff.dir/ASTDiff.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/BuildTree.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/ComputeReplacements.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Nodes.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Mutations.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/TokenBufferTokenManager.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Synthesis.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tokens.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tree.cpp.o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningFilesystem.cpp.o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningService.cpp.o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningWorker.cpp.o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningTool.cpp.o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/ModuleDepCollector.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Parsing.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RangeSelector.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RewriteRule.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCode.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCodeBuilders.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Stencil.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Transformer.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/AllTUsExecution.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/ArgumentsAdjusters.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/CommonOptionsParser.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/CompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Execution.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/ExpandResponseFilesCompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/FileMatchTrie.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/FixIt.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/GuessTargetAndModeCompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/InterpolatingCompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/JSONCompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Refactoring.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/RefactoringCallbacks.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/StandaloneExecution.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/NodeIntrospection.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Tooling.cpp.o lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/DirectoryScanner.cpp.o lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/linux/DirectoryWatcher-linux.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/CommentToXML.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/FileIndexRecord.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexBody.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexDecl.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingAction.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingContext.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexSymbol.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexTypeSourceInfo.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/USRGeneration.cpp.o lib/IndexSerialization/CMakeFiles/obj.clangIndexSerialization.dir/SerializablePathCollection.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/APSIntType.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalysisManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalyzerOptions.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BasicValueFactory.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BlockCounter.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporter.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporterVisitors.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallDescription.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallEvent.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Checker.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerContext.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerHelpers.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerRegistryData.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CommonBugCategories.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ConstraintManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CoreEngine.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicExtent.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicType.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Environment.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExplodedGraph.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngine.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineC.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCXX.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCallAndReturn.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineObjC.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/FunctionSummary.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/HTMLDiagnostics.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopUnrolling.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopWidening.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/MemRegion.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/PlistDiagnostics.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ProgramState.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangeConstraintManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangedConstraintManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RegionStore.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SarifDiagnostics.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleConstraintManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleSValBuilder.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SMTConstraintManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Store.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SValBuilder.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SVals.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SymbolManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/TextDiagnostics.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/WorkList.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/AnalysisOrderChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/AnalyzerStatsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ArrayBoundChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ArrayBoundCheckerV2.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BasicObjCFoundationChecks.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BlockInCriticalSectionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BoolAssignmentChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BuiltinFunctionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringSyntaxChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CallAndMessageChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastSizeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastToStructChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastValueChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckObjCDealloc.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckObjCInstMethSignature.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckPlacementNew.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSecuritySyntaxOnly.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSizeofPointer.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckerDocumentation.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ChrootChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CloneChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ContainerModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ConversionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CXXSelfAssignmentChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DeadStoresChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugCheckers.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugContainerModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugIteratorModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DeleteWithNonVirtualDtorChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DereferenceChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DirectIvarAssignment.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DivZeroChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypePropagation.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/EnumCastOutOfRangeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoTesterChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ExprInspectionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/FixedAddressChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/FuchsiaHandleChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GCDAntipatternChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GenericTaintChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GTestChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IdenticalExprChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/InnerPointerChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/InvalidatedIteratorChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/cert/InvalidPtrChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/Iterator.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IteratorModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IteratorRangeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IvarInvalidationChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/LLVMConventionsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/LocalizationChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MacOSKeychainAPIChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MacOSXAPIChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocOverflowSecurityChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocSizeofChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MismatchedIteratorChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MmapWriteExecChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MIGChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MoveChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIBugReporter.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIFunctionClassifier.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NSAutoreleasePoolChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NSErrorChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NoReturnFunctionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NonNullParamChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NonnullGlobalConstantsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NullabilityChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NumberObjectConversionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCAtSyncChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCAutoreleaseWriteChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCContainersASTChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCContainersChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCMissingSuperCallChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCPropertyChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCSelfInitChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCSuperDeallocChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCUnusedIVarsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/OSObjectCStyleCast.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PaddingChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerArithChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerIterationChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerSortingChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerSubChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PthreadLockChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/cert/PutenvWithAutoChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RetainCountChecker/RetainCountChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RetainCountChecker/RetainCountDiagnostics.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnPointerRangeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnUndefChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnValueChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RunLoopAutoreleaseLeakChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SimpleStreamChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SmartPtrChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SmartPtrModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StackAddrEscapeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StdLibraryFunctionsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/STLAlgorithmModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StreamChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StringChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/Taint.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TaintTesterChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TestAfterDivZeroChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TraversalChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TrustNonnullChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TrustReturnsNonnullChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefBranchChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefCapturedBlockVarChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefResultChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedArraySubscriptChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedAssignmentChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedNewArraySizeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UninitializedObject/UninitializedObjectChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UninitializedObject/UninitializedPointee.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UnixAPIChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UnreachableCodeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VforkChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VLASizeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ValistChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VirtualCallChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/NoUncountedMembersChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/ASTUtils.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/PtrTypesSemantics.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RefCntblBaseVirtualDtorChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedCallArgsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLambdaCapturesChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLocalVarsChecker.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalyzerHelpFlags.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CheckerRegistry.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CreateCheckerManager.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/FrontendActions.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelConsumer.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelInjector.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/AffectedRangeManager.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/BreakableToken.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/ContinuationIndenter.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/DefinitionBlockSeparator.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/Format.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/FormatToken.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/FormatTokenLexer.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/IntegerLiteralSeparatorFixer.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/MacroCallReconstructor.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/MacroExpander.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/NamespaceEndCommentsFixer.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/QualifierAlignmentFixer.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/SortJavaScriptImports.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnalyzer.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnnotator.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineFormatter.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineParser.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/UsingDeclarationsSorter.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/WhitespaceManager.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalExecutor.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalParser.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Interpreter.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/InterpreterUtils.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Value.cpp.o lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o tools/clang-fuzzer/handle-cxx/CMakeFiles/obj.clangHandleCXX.dir/handle_cxx.cpp.o tools/clang-fuzzer/handle-llvm/CMakeFiles/obj.clangHandleLLVM.dir/handle_llvm.cpp.o tools/clang-shlib/CMakeFiles/clang-cpp.dir/clang-shlib.cpp.o /usr/lib64/libLLVM-17.so && : In 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/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32, inlined from 'emitInitGlobalFloat' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10663:30, inlined from 'emitInitGlobalFloat' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10660:0: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalFloat': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | [1914/2015] /usr/bin/cmake -E cmake_symlink_library lib64/libclang-cpp.so.17 lib64/libclang-cpp.so.17 lib64/libclang-cpp.so && : [1915/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 && : [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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,nodelete -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -Wl,--version-script,"/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/SampleAnalyzer/SampleAnalyzerPlugin.exports" -shared -o lib64/SampleAnalyzerPlugin.so lib/Analysis/plugins/SampleAnalyzer/CMakeFiles/SampleAnalyzerPlugin.dir/MainCallChecker.cpp.o lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,nodelete -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -Wl,--version-script,"/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/CheckerDependencyHandling/CheckerDependencyHandlingAnalyzerPlugin.exports" -shared -o lib64/CheckerDependencyHandlingAnalyzerPlugin.so lib/Analysis/plugins/CheckerDependencyHandling/CMakeFiles/CheckerDependencyHandlingAnalyzerPlugin.dir/CheckerDependencyHandling.cpp.o lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1918/2015] : && /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,nodelete -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -Wl,--version-script,"/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/CheckerOptionHandling/CheckerOptionHandlingAnalyzerPlugin.exports" -shared -o lib64/CheckerOptionHandlingAnalyzerPlugin.so lib/Analysis/plugins/CheckerOptionHandling/CMakeFiles/CheckerOptionHandlingAnalyzerPlugin.dir/CheckerOptionHandling.cpp.o lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/diagtool/CMakeFiles/diagtool.dir/diagtool_main.cpp.o tools/diagtool/CMakeFiles/diagtool.dir/DiagTool.cpp.o tools/diagtool/CMakeFiles/diagtool.dir/DiagnosticNames.cpp.o tools/diagtool/CMakeFiles/diagtool.dir/FindDiagnosticID.cpp.o tools/diagtool/CMakeFiles/diagtool.dir/ListWarnings.cpp.o tools/diagtool/CMakeFiles/diagtool.dir/ShowEnabledWarnings.cpp.o tools/diagtool/CMakeFiles/diagtool.dir/TreeView.cpp.o -o bin/diagtool lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1920/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--export-dynamic -rdynamic -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 tools/driver/CMakeFiles/clang.dir/driver.cpp.o tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o tools/driver/CMakeFiles/clang.dir/cc1gen_reproducer_main.cpp.o tools/driver/CMakeFiles/clang.dir/clang-driver.cpp.o -o bin/clang-17 lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1921/2015] /usr/bin/cmake -E cmake_symlink_executable bin/clang-17 bin/clang && cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./bin/clang++ && cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./bin/clang-cl && cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./bin/clang-cpp [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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/apinotes-test/CMakeFiles/apinotes-test.dir/APINotesTest.cpp.o -o bin/apinotes-test lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-diff/CMakeFiles/clang-diff.dir/ClangDiff.cpp.o -o bin/clang-diff lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-format/CMakeFiles/clang-format.dir/ClangFormat.cpp.o -o bin/clang-format lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-import-test/CMakeFiles/clang-import-test.dir/clang-import-test.cpp.o -o bin/clang-import-test lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-offload-packager/CMakeFiles/clang-offload-packager.dir/ClangOffloadPackager.cpp.o -o bin/clang-offload-packager lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-offload-bundler/CMakeFiles/clang-offload-bundler.dir/ClangOffloadBundler.cpp.o -o bin/clang-offload-bundler lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-scan-deps/CMakeFiles/clang-scan-deps.dir/ClangScanDeps.cpp.o tools/clang-scan-deps/CMakeFiles/clang-scan-deps.dir/clang-scan-deps-driver.cpp.o -o bin/clang-scan-deps lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--export-dynamic -rdynamic -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-repl/CMakeFiles/clang-repl.dir/ClangRepl.cpp.o -o bin/clang-repl lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-rename/CMakeFiles/clang-rename.dir/ClangRename.cpp.o -o bin/clang-rename lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-refactor/CMakeFiles/clang-refactor.dir/ClangRefactor.cpp.o tools/clang-refactor/CMakeFiles/clang-refactor.dir/TestSupport.cpp.o -o bin/clang-refactor lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/arcmt-test/CMakeFiles/arcmt-test.dir/arcmt-test.cpp.o -o bin/arcmt-test lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-check/CMakeFiles/clang-check.dir/ClangCheck.cpp.o -o bin/clang-check lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1934/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-extdef-mapping/CMakeFiles/clang-extdef-mapping.dir/ClangExtDefMapGen.cpp.o -o bin/clang-extdef-mapping lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1935/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 && : [1936/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 && : [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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-apply-replacements/tool/CMakeFiles/clang-apply-replacements.dir/ClangApplyReplacementsMain.cpp.o -o bin/clang-apply-replacements lib64/libclangApplyReplacements.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-reorder-fields/tool/CMakeFiles/clang-reorder-fields.dir/ClangReorderFields.cpp.o -o bin/clang-reorder-fields lib64/libclangReorderFields.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1939/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/modularize/CMakeFiles/modularize.dir/Modularize.cpp.o tools/extra/modularize/CMakeFiles/modularize.dir/ModuleAssistant.cpp.o tools/extra/modularize/CMakeFiles/modularize.dir/ModularizeUtilities.cpp.o tools/extra/modularize/CMakeFiles/modularize.dir/CoverageChecker.cpp.o tools/extra/modularize/CMakeFiles/modularize.dir/PreprocessorTracker.cpp.o -o bin/modularize lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1940/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 && : [1941/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 && : [1942/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 && : [1943/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-change-namespace/tool/CMakeFiles/clang-change-namespace.dir/ClangChangeNamespace.cpp.o -o bin/clang-change-namespace lib64/libclangChangeNamespace.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1944/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 && : [1945/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 && : [1946/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 && : [1947/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 && : [1948/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 && : [1949/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 && : [1950/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 && : [1951/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 && : [1952/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 && : [1953/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 && : [1954/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 && : [1955/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 && : [1956/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 && : [1957/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 && : [1958/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 && : [1959/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 && : [1960/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 && : [1961/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 && : [1962/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 && : [1963/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 && : [1964/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 && : [1965/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-doc/tool/CMakeFiles/clang-doc.dir/ClangDocMain.cpp.o -o bin/clang-doc lib64/libclangDoc.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1966/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 && : [1967/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-include-fixer/find-all-symbols/tool/CMakeFiles/find-all-symbols.dir/FindAllSymbolsMain.cpp.o -o bin/find-all-symbols lib64/libfindAllSymbols.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1968/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 && : [1969/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-include-fixer/tool/CMakeFiles/clang-include-fixer.dir/ClangIncludeFixer.cpp.o -o bin/clang-include-fixer lib64/libclangIncludeFixer.a lib64/libfindAllSymbols.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1970/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 && : [1971/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 && : [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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-move/tool/CMakeFiles/clang-move.dir/ClangMove.cpp.o -o bin/clang-move lib64/libclangMove.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1973/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-query/tool/CMakeFiles/clang-query.dir/ClangQuery.cpp.o -o bin/clang-query lib64/libclangQuery.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1974/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 && : [1975/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/pp-trace/CMakeFiles/pp-trace.dir/PPTrace.cpp.o tools/extra/pp-trace/CMakeFiles/pp-trace.dir/PPCallbacksTracker.cpp.o -o bin/pp-trace lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1976/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 && : [1977/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/include-cleaner/tool/CMakeFiles/clang-include-cleaner.dir/IncludeCleaner.cpp.o -o bin/clang-include-cleaner lib64/libclangIncludeCleaner.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1978/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 && : [1979/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/pseudo/gen/CMakeFiles/clang-pseudo-gen.dir/Main.cpp.o -o bin/clang-pseudo-gen lib64/libclangPseudoGrammar.a /usr/lib64/libLLVM-17.so && : [1980/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-pseudo-gen --grammar /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include/../lib/cxx/cxx.bnf --emit-grammar-content -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include/CXXBNF.inc [1981/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-pseudo-gen --grammar /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include/../lib/cxx/cxx.bnf --emit-symbol-list -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include/CXXSymbols.inc [1982/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/fuzzer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/fuzzer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/fuzzer/CMakeFiles/clang-pseudo-fuzzer.dir/Main.cpp.o -MF tools/extra/pseudo/fuzzer/CMakeFiles/clang-pseudo-fuzzer.dir/Main.cpp.o.d -o tools/extra/pseudo/fuzzer/CMakeFiles/clang-pseudo-fuzzer.dir/Main.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/fuzzer/Main.cpp [1983/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib/cli -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/cli -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/cli/CMakeFiles/obj.clangPseudoCLI.dir/CLI.cpp.o -MF tools/extra/pseudo/lib/cli/CMakeFiles/obj.clangPseudoCLI.dir/CLI.cpp.o.d -o tools/extra/pseudo/lib/cli/CMakeFiles/obj.clangPseudoCLI.dir/CLI.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/cli/CLI.cpp [1984/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/fuzzer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/fuzzer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/fuzzer/CMakeFiles/clang-pseudo-fuzzer.dir/Fuzzer.cpp.o -MF tools/extra/pseudo/fuzzer/CMakeFiles/clang-pseudo-fuzzer.dir/Fuzzer.cpp.o.d -o tools/extra/pseudo/fuzzer/CMakeFiles/clang-pseudo-fuzzer.dir/Fuzzer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/fuzzer/Fuzzer.cpp [1985/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/tool/CMakeFiles/clang-pseudo.dir/HTMLForest.cpp.o -MF tools/extra/pseudo/tool/CMakeFiles/clang-pseudo.dir/HTMLForest.cpp.o.d -o tools/extra/pseudo/tool/CMakeFiles/clang-pseudo.dir/HTMLForest.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/tool/HTMLForest.cpp [1986/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib/cxx -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/cxx -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/cxx/CMakeFiles/obj.clangPseudoCXX.dir/CXX.cpp.o -MF tools/extra/pseudo/lib/cxx/CMakeFiles/obj.clangPseudoCXX.dir/CXX.cpp.o.d -o tools/extra/pseudo/lib/cxx/CMakeFiles/obj.clangPseudoCXX.dir/CXX.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/cxx/CXX.cpp [1987/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-8.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/tool/CMakeFiles/clang-pseudo.dir/ClangPseudo.cpp.o -MF tools/extra/pseudo/tool/CMakeFiles/clang-pseudo.dir/ClangPseudo.cpp.o.d -o tools/extra/pseudo/tool/CMakeFiles/clang-pseudo.dir/ClangPseudo.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/tool/ClangPseudo.cpp [1988/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 && : [1989/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 && : [1990/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 && : [1991/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 && : [1992/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 && : [1993/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 && : [1994/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 && : [1995/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 && : [1996/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--export-dynamic -rdynamic -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 tools/extra/clang-tidy/tool/CMakeFiles/clang-tidy.dir/ClangTidyToolMain.cpp.o -o bin/clang-tidy lib64/libclangTidy.a lib64/libclangTidyMain.a lib64/libclangTidyAndroidModule.a lib64/libclangTidyAbseilModule.a lib64/libclangTidyAlteraModule.a lib64/libclangTidyBoostModule.a lib64/libclangTidyBugproneModule.a lib64/libclangTidyCERTModule.a lib64/libclangTidyConcurrencyModule.a lib64/libclangTidyCppCoreGuidelinesModule.a lib64/libclangTidyDarwinModule.a lib64/libclangTidyFuchsiaModule.a lib64/libclangTidyGoogleModule.a lib64/libclangTidyHICPPModule.a lib64/libclangTidyLinuxKernelModule.a lib64/libclangTidyLLVMModule.a lib64/libclangTidyLLVMLibcModule.a lib64/libclangTidyMiscModule.a lib64/libclangTidyModernizeModule.a lib64/libclangTidyObjCModule.a lib64/libclangTidyOpenMPModule.a lib64/libclangTidyPerformanceModule.a lib64/libclangTidyPortabilityModule.a lib64/libclangTidyReadabilityModule.a lib64/libclangTidyZirconModule.a lib64/libclangTidyMPIModule.a lib64/libclangTidyBugproneModule.a lib64/libclangTidyCppCoreGuidelinesModule.a lib64/libclangTidyGoogleModule.a lib64/libclangTidyMiscModule.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangAST.a lib64/libclangLex.a lib64/libclangBasic.a lib64/libclangIncludeCleaner.a lib64/libclangTidyModernizeModule.a lib64/libclangTidyPerformanceModule.a lib64/libclangTidyReadabilityModule.a lib64/libclangTidyUtils.a lib64/libclangTidy.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668: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/APFloat.h:668:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:0, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:0, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:0: /usr/include/c++/12/bits/unique_ptr.h:670: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [1997/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/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 && : [1998/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/pseudo/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 && : [1999/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/tool-template/CMakeFiles/tool-template.dir/ToolTemplate.cpp.o -o bin/tool-template lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [2000/2015] : && /usr/bin/cmake -E rm -f lib64/libclangdSupport.a && /usr/bin/ar Dqc lib64/libclangdSupport.a tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Cancellation.cpp.o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Context.cpp.o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/FileCache.cpp.o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Logger.cpp.o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Markup.cpp.o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/MemoryTree.cpp.o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Path.cpp.o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Shutdown.cpp.o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/ThreadCrashReporter.cpp.o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Threading.cpp.o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/ThreadsafeFS.cpp.o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Trace.cpp.o && /usr/bin/ranlib -D lib64/libclangdSupport.a && : [2001/2015] : && /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,nodelete -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -shared -o lib64/CTTestTidyModule.so tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.o /usr/lib64/libLLVM-17.so && : [2002/2015] : && /usr/bin/cmake -E rm -f lib64/libclangDaemon.a && /usr/bin/ar Dqc lib64/libclangDaemon.a tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/AST.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ASTSignals.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ClangdLSPServer.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ClangdServer.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeComplete.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeCompletionStrings.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CollectMacros.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CompileCommands.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Compiler.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Config.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigCompile.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigProvider.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigYAML.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DecisionForest.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Diagnostics.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DraftStore.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DumpAST.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ExpectedTypes.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FeatureModule.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Feature.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FindSymbols.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FindTarget.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FileDistance.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FS.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FuzzyMatch.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/GlobalCompilationDatabase.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Headers.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/HeaderSourceSwitch.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/HeuristicResolver.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Hover.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeCleaner.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeFixer.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/InlayHints.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/JSONTransport.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/PathMapping.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Protocol.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Quality.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ParsedAST.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Preamble.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/RIFF.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Selection.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SemanticHighlighting.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SemanticSelection.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SourceCode.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SystemIncludeExtractor.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/TidyProvider.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/TUScheduler.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/URI.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/XRefs.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CompletionModel.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Background.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexLoader.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexStorage.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundQueue.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundRebuild.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/CanonicalIncludes.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/FileIndex.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Index.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/IndexAction.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/MemIndex.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Merge.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/ProjectAware.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Ref.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Relation.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Serialization.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/StdLib.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Symbol.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolCollector.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolID.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolLocation.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolOrigin.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/YAMLSerialization.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Dex.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Iterator.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/PostingList.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Trigram.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/InsertionPoint.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/Rename.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/Tweak.cpp.o && /usr/bin/ranlib -D lib64/libclangDaemon.a && : [2003/2015] : && /usr/bin/cmake -E rm -f lib64/libclangdRemoteIndex.a && /usr/bin/ar Dqc lib64/libclangdRemoteIndex.a tools/extra/clangd/index/remote/unimplemented/CMakeFiles/obj.clangdRemoteIndex.dir/UnimplementedClient.cpp.o && /usr/bin/ranlib -D lib64/libclangdRemoteIndex.a && : [2004/2015] : && /usr/bin/cmake -E rm -f lib64/libclangDaemonTweaks.a && /usr/bin/ar Dqc lib64/libclangDaemonTweaks.a tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AddUsing.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AnnotateHighlightings.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DumpAST.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineInline.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineOutline.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandDeducedType.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandMacro.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractFunction.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractVariable.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/MemberwiseConstructor.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCLocalizeStringLiteral.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCMemberwiseInitializer.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/PopulateSwitch.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RawStringLiteral.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RemoveUsingNamespace.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SpecialMembers.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SwapIfBranches.cpp.o && /usr/bin/ranlib -D lib64/libclangDaemonTweaks.a && : [2005/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/FuzzerClangdMain.cpp.o tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/clangd-fuzzer.cpp.o -o bin/clangd-fuzzer lib64/libclangDaemon.a lib64/libclangIncludeCleaner.a lib64/libclangdSupport.a lib64/libclangPseudo.a lib64/libclangPseudoGrammar.a lib64/libclangTidyAndroidModule.a lib64/libclangTidyAbseilModule.a lib64/libclangTidyAlteraModule.a lib64/libclangTidyBoostModule.a lib64/libclangTidyCERTModule.a lib64/libclangTidyConcurrencyModule.a lib64/libclangTidyDarwinModule.a lib64/libclangTidyFuchsiaModule.a lib64/libclangTidyHICPPModule.a lib64/libclangTidyBugproneModule.a lib64/libclangTidyCppCoreGuidelinesModule.a lib64/libclangTidyGoogleModule.a lib64/libclangTidyLinuxKernelModule.a lib64/libclangTidyLLVMModule.a lib64/libclangTidyLLVMLibcModule.a lib64/libclangTidyMiscModule.a lib64/libclangIncludeCleaner.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangAST.a lib64/libclangLex.a lib64/libclangBasic.a lib64/libclangTidyModernizeModule.a lib64/libclangTidyObjCModule.a lib64/libclangTidyOpenMPModule.a lib64/libclangTidyPerformanceModule.a lib64/libclangTidyPortabilityModule.a lib64/libclangTidyReadabilityModule.a lib64/libclangTidyZirconModule.a lib64/libclangTidyMPIModule.a lib64/libclangTidyUtils.a lib64/libclangTidy.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In 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/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [2006/2015] : && /usr/bin/cmake -E rm -f lib64/libclangdMain.a && /usr/bin/ar Dqc lib64/libclangdMain.a tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/ClangdMain.cpp.o tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/Check.cpp.o && /usr/bin/ranlib -D lib64/libclangdMain.a && : [2007/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clangd/indexer/CMakeFiles/clangd-indexer.dir/IndexerMain.cpp.o -o bin/clangd-indexer lib64/libclangDaemon.a lib64/libclangdSupport.a lib64/libclangPseudo.a lib64/libclangPseudoGrammar.a lib64/libclangTidyAndroidModule.a lib64/libclangTidyAbseilModule.a lib64/libclangTidyAlteraModule.a lib64/libclangTidyBoostModule.a lib64/libclangTidyCERTModule.a lib64/libclangTidyConcurrencyModule.a lib64/libclangTidyDarwinModule.a lib64/libclangTidyFuchsiaModule.a lib64/libclangTidyHICPPModule.a lib64/libclangTidyBugproneModule.a lib64/libclangTidyCppCoreGuidelinesModule.a lib64/libclangTidyGoogleModule.a lib64/libclangTidyLinuxKernelModule.a lib64/libclangTidyLLVMModule.a lib64/libclangTidyLLVMLibcModule.a lib64/libclangTidyMiscModule.a lib64/libclangIncludeCleaner.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangAST.a lib64/libclangLex.a lib64/libclangBasic.a lib64/libclangTidyModernizeModule.a lib64/libclangTidyObjCModule.a lib64/libclangTidyOpenMPModule.a lib64/libclangTidyPerformanceModule.a lib64/libclangTidyPortabilityModule.a lib64/libclangTidyReadabilityModule.a lib64/libclangTidyZirconModule.a lib64/libclangTidyMPIModule.a lib64/libclangTidyUtils.a lib64/libclangTidy.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobalTemp.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [2008/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AddUsing.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AnnotateHighlightings.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DumpAST.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineInline.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineOutline.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandDeducedType.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandMacro.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractFunction.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractVariable.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/MemberwiseConstructor.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCLocalizeStringLiteral.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCMemberwiseInitializer.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/PopulateSwitch.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RawStringLiteral.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RemoveUsingNamespace.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SpecialMembers.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SwapIfBranches.cpp.o tools/extra/clangd/tool/CMakeFiles/clangd.dir/ClangdToolMain.cpp.o -o bin/clangd lib64/libclangdMain.a lib64/libclangDaemon.a lib64/libclangdSupport.a lib64/libclangPseudo.a lib64/libclangPseudoGrammar.a lib64/libclangTidyAndroidModule.a lib64/libclangTidyAbseilModule.a lib64/libclangTidyAlteraModule.a lib64/libclangTidyBoostModule.a lib64/libclangTidyCERTModule.a lib64/libclangTidyConcurrencyModule.a lib64/libclangTidyDarwinModule.a lib64/libclangTidyFuchsiaModule.a lib64/libclangTidyHICPPModule.a lib64/libclangTidyBugproneModule.a lib64/libclangTidyCppCoreGuidelinesModule.a lib64/libclangTidyGoogleModule.a lib64/libclangTidyLinuxKernelModule.a lib64/libclangTidyLLVMModule.a lib64/libclangTidyLLVMLibcModule.a lib64/libclangTidyMiscModule.a lib64/libclangIncludeCleaner.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangAST.a lib64/libclangLex.a lib64/libclangBasic.a lib64/libclangTidyModernizeModule.a lib64/libclangTidyObjCModule.a lib64/libclangTidyOpenMPModule.a lib64/libclangTidyPerformanceModule.a lib64/libclangTidyPortabilityModule.a lib64/libclangTidyReadabilityModule.a lib64/libclangTidyZirconModule.a lib64/libclangTidyMPIModule.a lib64/libclangTidyUtils.a lib64/libclangTidy.a lib64/libclang-cpp.so.17 lib64/libclangdRemoteIndex.a lib64/libclangdSupport.a /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In 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/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [2009/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clangd/index/dex/dexp/CMakeFiles/dexp.dir/Dexp.cpp.o -o bin/dexp lib64/libclangDaemon.a lib64/libclangdRemoteIndex.a lib64/libclangPseudo.a lib64/libclangPseudoGrammar.a lib64/libclangTidyAndroidModule.a lib64/libclangTidyAbseilModule.a lib64/libclangTidyAlteraModule.a lib64/libclangTidyBoostModule.a lib64/libclangTidyCERTModule.a lib64/libclangTidyConcurrencyModule.a lib64/libclangTidyDarwinModule.a lib64/libclangTidyFuchsiaModule.a lib64/libclangTidyHICPPModule.a lib64/libclangTidyBugproneModule.a lib64/libclangTidyCppCoreGuidelinesModule.a lib64/libclangTidyGoogleModule.a lib64/libclangTidyLinuxKernelModule.a lib64/libclangTidyLLVMModule.a lib64/libclangTidyLLVMLibcModule.a lib64/libclangTidyMiscModule.a lib64/libclangIncludeCleaner.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangAST.a lib64/libclangLex.a lib64/libclangBasic.a lib64/libclangTidyModernizeModule.a lib64/libclangTidyObjCModule.a lib64/libclangTidyOpenMPModule.a lib64/libclangTidyPerformanceModule.a lib64/libclangTidyPortabilityModule.a lib64/libclangTidyReadabilityModule.a lib64/libclangTidyZirconModule.a lib64/libclangTidyMPIModule.a lib64/libclangTidyUtils.a lib64/libclangTidy.a lib64/libclang-cpp.so.17 lib64/libclangdSupport.a /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [2010/2015] : && /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -Wl,--version-script,/builddir/build/BUILD/clang-17.0.6.src/tools/libclang/libclang.map -shared -Wl,-soname,libclang.so.17 -o lib64/libclang.so.17.0.6 tools/libclang/CMakeFiles/libclang.dir/ARCMigrate.cpp.o tools/libclang/CMakeFiles/libclang.dir/BuildSystem.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndex.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexCXX.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexDiagnostic.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexHigh.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexUSRs.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexer.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXComment.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXCursor.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXExtractAPI.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXIndexDataConsumer.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXCompilationDatabase.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXLoadedDiagnostic.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXSourceLocation.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXStoredDiagnostic.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXString.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXType.cpp.o tools/libclang/CMakeFiles/libclang.dir/Indexing.cpp.o tools/libclang/CMakeFiles/libclang.dir/FatalErrorHandler.cpp.o tools/libclang/CMakeFiles/libclang.dir/Rewrite.cpp.o lib64/libclangAST.a lib64/libclangBasic.a lib64/libclangDriver.a lib64/libclangExtractAPI.a lib64/libclangFrontend.a lib64/libclangIndex.a lib64/libclangLex.a lib64/libclangRewrite.a lib64/libclangSema.a lib64/libclangSerialization.a lib64/libclangTooling.a lib64/libclangARCMigrate.a -ldl lib64/libclangFormat.a lib64/libclangToolingInclusions.a lib64/libclangToolingCore.a lib64/libclangFrontend.a lib64/libclangDriver.a lib64/libclangParse.a lib64/libclangRewrite.a lib64/libclangSerialization.a lib64/libclangSema.a lib64/libclangSupport.a lib64/libclangEdit.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangAST.a lib64/libclangLex.a lib64/libclangBasic.a /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:16, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:14, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:16, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:14, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobalTemp.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | 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/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [2011/2015] /usr/bin/cmake -E cmake_symlink_library lib64/libclang.so.17.0.6 lib64/libclang.so.17 lib64/libclang.so && : [2012/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArch.cpp.o tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHSA.cpp.o tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHIP.cpp.o -o bin/amdgpu-arch lib64/libclangBasic.a /usr/lib64/libLLVM-17.so && : [2013/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/c-index-test/CMakeFiles/c-index-test.dir/c-index-test.c.o tools/c-index-test/CMakeFiles/c-index-test.dir/core_main.cpp.o -o bin/c-index-test lib64/libclang.so.17.0.6 lib64/libclangAST.a lib64/libclangBasic.a lib64/libclangCodeGen.a lib64/libclangFrontend.a lib64/libclangIndex.a lib64/libclangSerialization.a /usr/lib64/libxml2.so lib64/libclangFrontend.a lib64/libclangDriver.a lib64/libclangParse.a lib64/libclangSerialization.a lib64/libclangSema.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangEdit.a lib64/libclangAST.a lib64/libclangSupport.a lib64/libclangFormat.a lib64/libclangToolingInclusions.a lib64/libclangToolingCore.a lib64/libclangRewrite.a lib64/libclangLex.a lib64/libclangBasic.a /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:16, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:14, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:16, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:14, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobalTemp.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | ^ 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/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ [2014/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/c-arcmt-test/CMakeFiles/c-arcmt-test.dir/c-arcmt-test.c.o -o bin/c-arcmt-test lib64/libclang.so.17.0.6 /usr/lib64/libLLVM-17.so && : [2015/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/nvptx-arch/CMakeFiles/nvptx-arch.dir/NVPTXArch.cpp.o -o bin/nvptx-arch lib64/libclangBasic.a /usr/lib64/libLLVM-17.so && : + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kFpRuC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64 ++ dirname /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64 + cd clang-17.0.6.src + DESTDIR=/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64 + /usr/bin/cmake --install aarch64-OpenCloudOS-linux-gnu -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/AST.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ASTImporterSharedState.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/CXXRecordDeclDefinitionBits.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ExprConcepts.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ASTContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/CXXInheritance.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/AbstractBasicWriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/DeclarationName.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/DeclContextInternals.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/CurrentSourceLocExprScope.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ASTLambda.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/DeclBase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ASTConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/AbstractTypeReader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/TemplateBase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/Stmt.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/StmtIterator.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/AbstractTypeWriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/DependentDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ASTDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ASTConcept.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/OperationKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/CharUnits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/CommentBriefParser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/Expr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/BuiltinTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/TypeVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/OpenMPClause.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/OSLog.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/StmtCXX.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/DeclTemplate.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/CommentDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ExprCXX.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/TypeLoc.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/LocInfoType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/IgnoreExpr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/TypeLocNodes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ParentMap.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/CommentParser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ASTImporter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/RecordLayout.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/DeclObjCCommon.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/DeclOpenMP.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/TextNodeDumper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/CommentVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/Decl.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/CanonicalType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/DeclObjC.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/RawCommentList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ODRHash.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ASTDumperUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ParentMapContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/AttrIterator.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/Comment.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/OptionalDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/TypeLocVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/LexicallyOrderedRecursiveASTVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/Attr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/StmtObjC.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/SelectorLocationsKind.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/Availability.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/DependenceFlags.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/TemplateName.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/Type.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/GlobalDecl.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ODRDiagsEmitter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/LambdaCapture.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/APValue.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/AbstractBasicReader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ASTTypeTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/NonTrivialTypeVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/FormatString.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ASTImporterLookupTable.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/JSONNodeDumper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/PrettyDeclStackTrace.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/QualTypeNames.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/AttrVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ASTUnresolvedSet.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/StmtOpenMP.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/PrettyPrinter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/CommentCommandTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/RecursiveASTVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/Redeclarable.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/DeclLookups.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/BaseSubobject.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/NestedNameSpecifier.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/DeclFriend.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ASTContextAllocate.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/TypeOrdering.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ExternalASTSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ComparisonCategories.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/Randstruct.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/NSAPI.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/UnresolvedSet.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ExternalASTMerger.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/DataCollection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/MangleNumberingContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ExprObjC.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ExprOpenMP.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ASTNodeTraverser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/VTableBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/CommentSema.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/StmtGraphTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/DeclVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ASTVector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ASTMutationListener.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/DeclGroup.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/Mangle.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/TemplateArgumentVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ASTImportError.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/OperationKinds.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/DeclAccessPair.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/DeclCXX.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/EvaluatedExprVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ComputeDependence.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/VTTBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/CommentLexer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ASTFwd.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/StmtVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ASTDumper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/ASTStructuralEquivalence.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Rewrite -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Rewrite/Frontend -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Rewrite/Frontend/FixItRewriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Rewrite/Frontend/FrontendActions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Rewrite/Frontend/Rewriters.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Rewrite/Frontend/ASTConsumers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Rewrite/Core -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Rewrite/Core/Rewriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Rewrite/Core/RewriteRope.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Rewrite/Core/RewriteBuffer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Rewrite/Core/HTMLRewrite.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Rewrite/Core/TokenRewriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Rewrite/Core/DeltaTree.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/Lexer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/MultipleIncludeOpt.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/MacroArgs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/ModuleLoader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/Preprocessor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/ModuleMap.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/HeaderMap.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/LiteralSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/LexDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/PreprocessorOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/Token.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/Pragma.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/TokenLexer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/HeaderMapTypes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/PPConditionalDirectiveRecord.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/MacroInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/DependencyDirectivesScanner.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/TokenConcatenation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/PPCallbacks.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/VariadicMacroSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/ExternalPreprocessorSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/PreprocessingRecord.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/ScratchBuffer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/CodeCompletionHandler.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/HeaderSearch.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/PreprocessorLexer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/DirectoryLookup.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Lex/HeaderSearchOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/BodyFarm.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/SelectorExtras.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/CodeInjector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/Analyses -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ThreadSafetyOps.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/Analyses/CFGReachabilityAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/Analyses/UnsafeBufferUsage.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/Analyses/PostOrderCFGView.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ThreadSafety.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/Analyses/IntervalPartition.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ThreadSafetyLogical.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/Analyses/UninitializedValues.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/Analyses/LiveVariables.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/Analyses/Consumed.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ThreadSafetyCommon.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/Analyses/Dominators.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ThreadSafetyTIL.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ExprMutationAnalyzer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ThreadSafetyTraverse.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/Analyses/UnsafeBufferUsageGadgets.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ThreadSafetyUtil.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/Analyses/CalledOnceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ReachableCode.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/CallGraph.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/ConstructionContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/CFGStmtMap.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/IssueHash.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/CFG.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/Support -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/Support/BumpVector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/CloneDetection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/AnalysisDeclContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/AnyCall.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/RetainSummaryManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/MacroExpansionContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/DomainSpecific -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/DomainSpecific/CocoaConventions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/DomainSpecific/ObjCNoReturn.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/ProgramPoint.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Solver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Logger.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Transfer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/DataflowWorklist.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/DataflowValues.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/WatchedLiteralsSolver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/ControlFlowContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Arena.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Value.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Models -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Models/ChromiumCheckModel.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/DataflowLattice.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/RecordOps.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/MapLattice.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/DebugSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/NoopAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Formula.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/MatchSwitch.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/NoopLattice.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/CFGMatchSwitch.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/StorageLocation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Analysis/PathDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/DirectoryWatcher -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/DirectoryWatcher/DirectoryWatcher.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Driver -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Driver/Compilation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Driver/SanitizerArgs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Driver/InputInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Driver/Job.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Driver/Tool.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Driver/Multilib.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Driver/Options.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Driver/Action.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Driver/DriverDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Driver/MultilibBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Driver/Types.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Driver/Util.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Driver/XRayArgs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Driver/Phases.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Driver/Types.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Driver/ToolChain.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Driver/Distro.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Driver/Driver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Driver/OffloadBundler.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Driver/OptionUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Edit -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Edit/EditsReceiver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Edit/EditedSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Edit/Rewriters.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Edit/FileOffset.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Edit/Commit.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Index -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Index/IndexingOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Index/USRGeneration.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Index/DeclOccurrence.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Index/CommentToXML.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Index/IndexDataConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Index/IndexSymbol.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Index/IndexingAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/EnterExpressionEvaluationContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/ExternalSemaSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/SemaConcept.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/Lookup.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/Ownership.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/SemaLambda.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/Initialization.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/ParsedAttr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/IdentifierResolver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/SemaConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/CodeCompleteOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/CXXFieldCollector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/TemplateInstCallback.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/ParsedTemplate.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/Sema.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/Designator.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/SemaInternal.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/RISCVIntrinsicManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/Overload.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/Template.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/DeclSpec.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/MultiplexExternalSemaSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/HLSLExternalSemaSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/SemaFixItUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/CodeCompleteConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/TemplateDeduction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/CleanupInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/AnalysisBasedWarnings.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/ScopeInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/TypoCorrection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/ObjCMethodList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/Weak.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/Scope.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/SemaDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/DelayedDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/CodeGen -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/CodeGen/CodeGenABITypes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/CodeGen/ConstantInitBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/CodeGen/CGFunctionInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/CodeGen/ObjectFilePCHContainerOperations.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/CodeGen/SwiftCallingConv.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/CodeGen/BackendUtil.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/CodeGen/ConstantInitFuture.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/CodeGen/CodeGenAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/CodeGen/ModuleBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/SerializedDiagnostics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/FrontendDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/SerializedDiagnosticReader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/PrecompiledPreamble.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/MigratorOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/FrontendActions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/ASTUnit.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/CommandLineSourceLoc.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/PreprocessorOutputOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/PCHContainerOperations.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/MultiplexConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/CompilerInvocation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/SARIFDiagnosticPrinter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/TextDiagnosticPrinter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/CompilerInstance.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/TextDiagnosticBuffer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/DiagnosticRenderer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/Utils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/FrontendOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/LogDiagnosticPrinter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/SerializedDiagnosticPrinter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/ChainedDiagnosticConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/ASTConsumers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/SARIFDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/TextDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/LayoutOverrideSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/FrontendPluginRegistry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/DependencyOutputOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/VerifyDiagnosticConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Frontend/FrontendAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/ABI.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/LangStandards.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticRefactoring.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsX86_64.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsX86.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/PlistSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/Version.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/OperatorPrecedence.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/Lambda.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/TargetInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/OperatorKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsPPC.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/CLWarnings.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/MacroBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsNVPTX.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/LangOptions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/Visibility.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsSVE.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BitmaskEnum.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/OpenCLOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/TargetCXXABI.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/ObjCRuntime.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticCategories.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/TransformTypeTraits.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/IdentifierTable.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/SanitizerSpecialCaseList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsSME.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/XRayLists.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/HeaderInclude.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsVE.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/PrettyStackTrace.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/OpenMPKinds.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/MakeSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/ProfileList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/AddressSpaces.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/AllDiagnostics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsAMDGPU.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/TypeTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/FPOptions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/Linkage.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/CommentOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsAArch64NeonSVEBridge_cg.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/ExceptionSpecificationType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/AArch64SVEACLETypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/Sarif.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsWebAssembly.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/HLSLRuntime.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/XRayInstr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/Thunk.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/AlignedAllocation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticParse.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/Builtins.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticError.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/CapturedStmt.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DirectoryEntry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticOptions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/ParsedAttrInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/RISCVVTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsMips.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/PPCTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DarwinSDKInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsAArch64.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticCrossTU.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/PragmaKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinHeaders.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsRISCV.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/TokenKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/AttrKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/Specifiers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/FileSystemOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/ExpressionTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/CodeGenOptions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsHexagonDep.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsLoongArchBase.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/TokenKinds.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsBPF.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/FileManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/TemplateKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsAArch64NeonSVEBridge.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/OpenCLExtensionTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsLoongArchLSX.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/OpenMPKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticSerialization.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticAST.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/PartialDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsLoongArch.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/SourceManagerInternals.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/Builtins.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/LangStandard.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/NoSanitizeList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/TargetBuiltins.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/CodeGenOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/Module.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticLex.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsRISCVVector.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticDriver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/LLVM.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsVEVL.gen.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/CustomizableOptional.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/Diagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/FileSystemStatCache.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/Stack.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/OperatorKinds.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsXCore.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticSema.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/SourceLocation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/OpenCLExtensions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsHexagon.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/LangOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/SyncScope.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsHexagonMapCustomDep.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsARM.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/Sanitizers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/JsonSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/AttributeCommonInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsSystemZ.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/TargetID.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/Features.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/Cuda.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/FileEntry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/OpenCLImageTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/WebAssemblyReferenceTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/CharInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsLoongArchLASX.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/AttrSubjectMatchRules.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/Sanitizers.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/TargetCXXABI.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/SourceManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticIDs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/Attributes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/MSP430Target.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/TargetOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticComment.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/BuiltinsNEON.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticFrontend.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/CrossTU -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/CrossTU/CrossTranslationUnit.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/CrossTU/CrossTUDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ARCMigrate -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ARCMigrate/ARCMT.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ARCMigrate/ARCMTActions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ARCMigrate/FileRemapper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Testing -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Testing/TestAST.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Testing/CommandLineArgs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Testing/TestClangConfig.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/APINotes -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/APINotes/APINotesYAMLCompiler.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/APINotes/Types.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Support -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Support/RISCVVIntrinsicUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/FrontendTool -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/FrontendTool/Utils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Config -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ExtractAPI -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ExtractAPI/TypedefUnderlyingTypeResolver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ExtractAPI/ExtractAPIActionBase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ExtractAPI/AvailabilityInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ExtractAPI/APIIgnoresList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ExtractAPI/FrontendActions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ExtractAPI/API.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ExtractAPI/ExtractAPIVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ExtractAPI/Serialization -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ExtractAPI/Serialization/SerializerBase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ExtractAPI/DeclarationFragments.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Interpreter -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Interpreter/PartialTranslationUnit.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Interpreter/Value.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Interpreter/Interpreter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Parse -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Parse/LoopHint.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Parse/ParseAST.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Parse/ParseDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Parse/RAIIObjectsForParser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Parse/Parser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Frontend -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Frontend/ModelConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Frontend/FrontendActions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Frontend/AnalyzerHelpFlags.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Frontend/CheckerRegistry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/CheckerRegistryData.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/Analyses.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SValVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConv.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/CallDescription.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SymExpr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicExtent.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/StoreRef.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/Environment.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/WorkList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicCastInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SummaryManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/LoopUnrolling.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SimpleConstraintManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/Regions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/Checker.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/BugReporter -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/BugReporter/BugType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/CheckerManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Checkers -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Checkers/MPIFunctionClassifier.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Checkers/BuiltinCheckerRegistration.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Checkers/SValExplainer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Checkers/Taint.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Serialization -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Serialization/TypeBitCodes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Serialization/ASTWriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Serialization/ModuleFile.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Serialization/ASTReader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Serialization/SourceLocationEncoding.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Serialization/PCHContainerOperations.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Serialization/InMemoryModuleCache.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Serialization/ASTDeserializationListener.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Serialization/GlobalModuleIndex.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Serialization/ModuleFileExtension.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Serialization/ContinuousRangeMap.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Serialization/SerializationDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Serialization/ASTRecordWriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Serialization/ModuleManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Serialization/ASTBitCodes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Serialization/ASTRecordReader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Format -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Format/Format.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/IndexSerialization -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/IndexSerialization/SerializablePathCollection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ASTMatchers -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ASTMatchers/Dynamic -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ASTMatchers/Dynamic/Registry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ASTMatchers/Dynamic/Parser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ASTMatchers/Dynamic/VariantValue.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ASTMatchers/Dynamic/Diagnostics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ASTMatchers/ASTMatchFinder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ASTMatchers/ASTMatchersMacros.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ASTMatchers/GtestMatchers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ASTMatchers/ASTMatchersInternal.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/ASTMatchers/ASTMatchers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/ArgumentsAdjusters.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/ASTDiff -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/ASTDiff/ASTDiffInternal.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/ASTDiff/ASTDiff.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/FixIt.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/CompilationDatabasePluginRegistry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/NodeIntrospection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/DependencyScanning -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/DependencyScanning/DependencyScanningWorker.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/DependencyScanning/DependencyScanningService.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/AllTUsExecution.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/FileMatchTrie.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/RefactoringCallbacks.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/CommonOptionsParser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/JSONCompilationDatabase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Transformer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Transformer/Transformer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Transformer/SourceCode.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Transformer/RewriteRule.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Transformer/RangeSelector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Transformer/SourceCodeBuilders.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Transformer/Stencil.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Transformer/Parsing.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Transformer/MatchConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Core -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Core/Diagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Core/Replacement.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Execution.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/ToolExecutorPluginRegistry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/ReplacementsYaml.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Inclusions -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Inclusions/HeaderIncludes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Inclusions/StandardLibrary.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Inclusions/HeaderAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Inclusions/IncludeStyle.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Lookup.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/ASTSelection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/AtomicChange.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringActionRulesInternal.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Extract -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Extract/SourceExtraction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Extract/Extract.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringActionRuleRequirements.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringActionRules.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringActionRule.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringOption.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringRuleContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringResultConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringOptionVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Rename -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Rename/USRFindingAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Rename/USRFinder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Rename/SymbolName.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Rename/SymbolOccurrences.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Rename/USRLocFinder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Rename/RenamingAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RecursiveSymbolVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Syntax -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Syntax/Tree.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Syntax/Tokens.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Syntax/Mutations.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Syntax/TokenBufferTokenManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Syntax/TokenManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Syntax/Nodes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Syntax/BuildTree.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/CompilationDatabase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/DiagnosticsYaml.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Tooling.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/StandaloneExecution.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/Rewrite.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/FatalErrorHandler.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/CXErrorCode.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/CXFile.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/Index.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/CXString.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/CXCompilationDatabase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/BuildSystem.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/CXSourceLocation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/Platform.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/Documentation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/ExternC.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/CXDiagnostic.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/DeclNodes.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/TypeNodes.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/CommentCommandInfo.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/CommentNodes.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/AbstractTypeReader.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/AttrVisitor.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/AttrTextNodeDump.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/AttrNodeTraverse.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/AbstractTypeWriter.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/CommentHTMLNamedCharacterReferences.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/CommentCommandList.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/AbstractBasicReader.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/Attrs.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/StmtNodes.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/AttrImpl.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/CommentHTMLTagsProperties.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/AbstractBasicWriter.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/CommentHTMLTags.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/AST/StmtDataCollectors.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Driver -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Driver/Options.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/AttrParsedAttrList.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/AttrTemplateInstantiate.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/AttrSpellingListIndex.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/AttrParsedAttrKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Sema/AttrParsedAttrImpl.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticSemaKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/AttrSubMatchRulesList.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/arm_cde_builtin_aliases.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/arm_cde_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/arm_fp16.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticSerializationKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/arm_sve_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/riscv_sifive_vector_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticCrossTUKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/riscv_vector_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/Version.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticGroups.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/arm_sve_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticLexKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticCommentKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/arm_mve_builtin_aliases.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/riscv_vector_builtin_sema.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/AttrTokenKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticCommonKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticAnalysisKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/arm_neon.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/arm_mve_builtin_sema.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/arm_mve_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/riscv_vector_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/arm_sme_sema_rangechecks.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticDriverKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/arm_cde_builtin_sema.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticASTKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/arm_sve_typeflags.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticRefactoringKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/AttrList.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/riscv_sifive_vector_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/arm_sme_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/riscv_sifive_vector_builtin_sema.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticIndexName.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/AttrHasAttributeImpl.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticFrontendKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/arm_sme_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/arm_sve_sema_rangechecks.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/arm_mve_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/DiagnosticParseKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Basic/arm_cde_builtins.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Config -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Config/config.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Parse -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Parse/AttrSubMatchRulesParserStringSwitches.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Parse/AttrParserStringSwitches.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Checkers -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Checkers/Checkers.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Serialization -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Serialization/AttrPCHWrite.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Serialization/AttrPCHRead.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/NodeIntrospection.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Syntax -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Syntax/NodeClasses.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang/Tooling/Syntax/Nodes.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/bash-autocomplete.sh -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/builtins.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/float.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/inttypes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/iso646.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/limits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/module.modulemap -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/stdalign.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/stdarg.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/stdatomic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/stdbool.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/stddef.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/__stddef_max_align_t.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/stdint.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/stdnoreturn.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/tgmath.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/unwind.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/varargs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/arm_acle.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/arm_cmse.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/armintr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/arm64intr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/arm_neon_sve_bridge.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_builtin_vars.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_math.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_cmath.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_complex_builtins.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_device_functions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_intrinsics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_texture_intrinsics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_libdevice_declares.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_math_forward_declares.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_runtime_wrapper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/hexagon_circ_brev_intrinsics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/hexagon_protos.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/hexagon_types.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/hvx_hexagon_protos.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/__clang_hip_libdevice_declares.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/__clang_hip_cmath.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/__clang_hip_math.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/__clang_hip_stdlib.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/__clang_hip_runtime_wrapper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/larchintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/lasxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/lsxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/msa.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/opencl-c.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/opencl-c-base.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/altivec.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/htmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/htmxlintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/riscv_ntlh.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/sifive_vector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/s390intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/vecintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/velintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/velintrin_gen.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/velintrin_approx.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/adxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/ammintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/amxcomplexintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/amxfp16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/amxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx2intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512bf16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512bitalgintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512bwintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512cdintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512dqintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512erintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512fintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512fp16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512ifmaintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512ifmavlintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512pfintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512vbmi2intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512vbmiintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512vbmivlintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlbf16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlbitalgintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlbwintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlcdintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512vldqintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlfp16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlvbmi2intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlvnniintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlvp2intersectintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512vnniintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512vp2intersectintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512vpopcntdqintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avx512vpopcntdqvlintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avxifmaintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avxneconvertintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avxvnniint16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avxvnniint8intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/avxvnniintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/bmi2intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/bmiintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/cetintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/cldemoteintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/clflushoptintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/clwbintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/clzerointrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/cmpccxaddintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/crc32intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/emmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/enqcmdintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/f16cintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/fma4intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/fmaintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/fxsrintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/gfniintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/hresetintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/ia32intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/immintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/invpcidintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/keylockerintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/lwpintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/lzcntintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/mm3dnow.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/mmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/movdirintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/mwaitxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/nmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/pconfigintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/pkuintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/pmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/popcntintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/prfchiintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/prfchwintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/ptwriteintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/raointintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/rdpruintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/rdseedintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/rtmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/serializeintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/sgxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/sha512intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/shaintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/sm3intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/sm4intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/smmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/tbmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/tmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/tsxldtrkintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/uintrintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/vaesintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/vpclmulqdqintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/waitpkgintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/wbnoinvdintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/__wmmintrin_aes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/wmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/__wmmintrin_pclmul.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/x86gprintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/x86intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/xmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/xopintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/xsavecintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/xsaveintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/xsaveoptintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/xsavesintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/xtestintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/cet.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/cpuid.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/wasm_simd128.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/vadefs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/mm_malloc.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/arm_neon.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/arm_fp16.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/arm_sve.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/arm_sme_draft_spec_subject_to_change.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/arm_bf16.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/arm_mve.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/arm_cde.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/riscv_vector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/cuda_wrappers/algorithm -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/cuda_wrappers/cmath -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/cuda_wrappers/complex -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/cuda_wrappers/new -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/cuda_wrappers/bits/shared_ptr_base.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/cuda_wrappers/bits/basic_string.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/cuda_wrappers/bits/basic_string.tcc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/mmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/xmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/mm_malloc.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/emmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/pmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/tmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/smmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/bmiintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/bmi2intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/immintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/x86intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/x86gprintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/llvm_libc_wrappers/stdio.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/llvm_libc_wrappers/stdlib.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/llvm_libc_wrappers/string.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/llvm_libc_wrappers/ctype.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/llvm_libc_wrappers/inttypes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/openmp_wrappers/math.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/openmp_wrappers/cmath -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/openmp_wrappers/complex.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/openmp_wrappers/complex -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/openmp_wrappers/__clang_openmp_device_functions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/openmp_wrappers/complex_cmath.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/openmp_wrappers/new -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/diagtool -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-17 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang -- Creating clang++ -- Creating clang-cl -- Creating clang-cpp -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-format -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/clang-format-bbedit.applescript -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/clang-format-diff.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/clang-format-sublime.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/clang-format.el -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/clang-format.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/git-clang-format -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-linker-wrapper -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-offload-packager -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-offload-bundler -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-scan-deps -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-repl -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/c-index-test -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-rename -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/clang-rename.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/clang-rename.el -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-refactor -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/libclang-cpp.so.17 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/libclang-cpp.so -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-check -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-extdef-mapping -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/scan-build -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/libexec/ccc-analyzer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/libexec/c++-analyzer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/man/man1/scan-build.1 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/scan-build/scanview.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/scan-build/sorttable.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/analyze-build -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/intercept-build -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/scan-build-py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/libexec/analyze-c++ -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/libexec/analyze-cc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/libexec/intercept-c++ -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/libexec/intercept-cc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/libscanbuild/__init__.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/libscanbuild/analyze.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/libscanbuild/arguments.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/libscanbuild/clang.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/libscanbuild/compilation.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/libscanbuild/intercept.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/libscanbuild/report.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/libscanbuild/shell.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/libscanbuild/resources/scanview.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/libscanbuild/resources/selectable.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/libscanbuild/resources/sorttable.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/libear/__init__.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/libear/config.h.in -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/libear/ear.c -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/scan-view -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/scan-view/ScanView.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/scan-view/Reporter.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/scan-view/startfile.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/scan-view/bugcatcher.ico -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-apply-replacements -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-reorder-fields -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/modularize -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/modularize -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-tidy -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/clang-tidy-diff.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/run-clang-tidy -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/. -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./tool -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./tool/ClangTidyMain.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/StandaloneEmptyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SuspiciousMemoryComparisonCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UndefinedMemoryManipulationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UniquePtrArrayMismatchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/InaccurateEraseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/MisplacedWideningCastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/StringLiteralWithEmbeddedNulCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SuspiciousStringCompareCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/MultipleNewInOneExpressionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/BadSignalToKillThreadCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UncheckedOptionalAccessCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/LambdaFunctionNameCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SignalHandlerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/TooSmallLoopVariableCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/VirtualNearMissCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/MacroParenthesesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SuspiciousEnumUsageCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/MisplacedPointerArithmeticInAllocCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/CopyConstructorInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SharedPtrArrayMismatchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/ExceptionEscapeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/NotNullTerminatedResultCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/AssignmentInIfConditionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/MisplacedOperatorInStrlenInAllocCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/MultipleStatementMacroCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/BranchCloneCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/RedundantBranchConditionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/StringIntegerAssignmentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SmartPtrArrayMismatchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/PosixReturnCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/ImplicitWideningOfMultiplicationResultCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/DynamicStaticInitializersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SuspiciousIncludeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UndelegatedConstructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/StringviewNullptrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UnhandledExceptionAtNewCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SuspiciousReallocUsageCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/ForwardingReferenceOverloadCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/ArgumentCommentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/NonZeroEnumToBoolConversionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UnhandledSelfAssignmentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/IntegerDivisionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/FoldInitTypeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UnusedReturnValueCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SuspiciousMemsetUsageCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SuspiciousSemicolonCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/TerminatingContinueCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UnusedRaiiCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/EasilySwappableParametersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SwappedArgumentsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UnsafeFunctionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/InfiniteLoopCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SignedCharMisuseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/EmptyCatchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UseAfterMoveCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/BoolPointerImplicitConversionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/ForwardDeclarationNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/DanglingHandleCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SwitchMissingDefaultCaseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/ParentVirtualCallCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/ReservedIdentifierCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SuspiciousMissingCommaCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SizeofContainerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/IncorrectRoundingsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/MoveForwardingReferenceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/ThrowKeywordMissingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/MacroRepeatedSideEffectsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/NoEscapeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SizeofExpressionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/StringConstructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/AssertSideEffectCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SpuriouslyWakeUpFunctionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./zircon -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./zircon/TemporaryObjectsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./boost -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./boost/UseToStringCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/ReturnBracedInitListCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseEqualsDeleteCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/ReplaceAutoPtrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/MakeSharedCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseNullptrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/AvoidCArraysCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/UnaryStaticAssertCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseTrailingReturnTypeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseTransparentFunctorsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/IntegralLiteralExpressionMatcher.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseUncaughtExceptionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/MacroToEnumCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/RedundantVoidArgCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/ShrinkToFitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseEqualsDefaultCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseAutoCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/MakeSmartPtrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseNoexceptCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/DeprecatedIosBaseAliasesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/DeprecatedHeadersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/LoopConvertCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseOverrideCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/TypeTraitsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/ConcatNestedNamespacesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/LoopConvertUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/PassByValueCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseDefaultMemberInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseEmplaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseBoolLiteralsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/ReplaceRandomShuffleCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/MakeUniqueCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseStdPrintCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/AvoidBindCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseNodiscardCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/ReplaceDisallowCopyAndAssignMacroCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/RawStringLiteralCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseUsingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./hicpp -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./hicpp/ExceptionBaseclassCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./hicpp/SignedBitwiseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./hicpp/NoAssemblerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./hicpp/MultiwayPathsCoveredCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./ExpandModularHeadersPPCallbacks.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./portability -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./portability/RestrictSystemIncludesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./portability/StdAllocatorConstCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./portability/SIMDIntrinsicsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./objc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./objc/NSInvocationArgumentLifetimeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./objc/PropertyDeclarationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./objc/SuperSelfCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./objc/MissingHashCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./objc/NSDateFormatterCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./objc/ForbiddenSubclassingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./objc/AssertEquals.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./objc/AvoidNSErrorInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./objc/DeallocInCategoryCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cert -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cert/VariadicFunctionDefCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cert/MutatingCopyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cert/NonTrivialTypesLibcMemoryCallsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cert/DefaultOperatorNewAlignmentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cert/DontModifyStdNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cert/ProperlySeededRandomGeneratorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cert/FloatLoopCounter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cert/StrToNumCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cert/ThrownExceptionTypeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cert/LimitedRandomnessCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cert/CommandProcessorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cert/PostfixOperatorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cert/SetLongJmpCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cert/StaticObjectExceptionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./ClangTidyModule.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./openmp -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./openmp/ExceptionEscapeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./openmp/UseDefaultNoneCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./abseil -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationFactoryScaleCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationConversionCastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./abseil/TimeSubtractionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./abseil/FasterStrsplitDelimiterCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationRewriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationFactoryFloatCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./abseil/RedundantStrcatCallsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./abseil/StringFindStartswithCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationDivisionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./abseil/AbseilMatcher.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./abseil/CleanupCtadCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./abseil/StrCatAppendCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./abseil/TimeComparisonCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationAdditionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./abseil/NoInternalDependenciesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./abseil/StringFindStrContainsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./abseil/NoNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationUnnecessaryConversionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./abseil/UpgradeDurationConversionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationComparisonCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationSubtractionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./FileExtensionsSet.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./llvmlibc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./llvmlibc/CalleeNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./llvmlibc/ImplementationInNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./llvmlibc/RestrictSystemLibcHeadersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./llvmlibc/InlineFunctionDeclCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./performance -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./performance/UnnecessaryValueParamCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./performance/NoAutomaticMoveCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./performance/NoexceptFunctionBaseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./performance/TriviallyDestructibleCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./performance/TypePromotionInMathFnCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./performance/MoveConstructorInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./performance/UnnecessaryCopyInitialization.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./performance/ForRangeCopyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./performance/AvoidEndlCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./performance/NoexceptMoveConstructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./performance/InefficientAlgorithmCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./performance/InefficientVectorOperationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./performance/MoveConstArgCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./performance/ImplicitConversionInLoopCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./performance/NoexceptSwapCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./performance/InefficientStringConcatenationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./performance/NoIntToPtrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./performance/FasterStringFindCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./performance/NoexceptDestructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./ClangTidyDiagnosticConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/UseAnyOfAllOfCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/StaticDefinitionInAnonymousNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/ImplicitBoolConversionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/UppercaseLiteralSuffixCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/IdentifierNamingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantStringCStrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/FunctionCognitiveComplexityCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/ElseAfterReturnCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantPreprocessorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/MakeMemberFunctionConstCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/NamespaceCommentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/MisplacedArrayIndexCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantControlFlowCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/NamedParameterCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/SuspiciousCallArgumentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/ConvertMemberFunctionsToStatic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/SimplifyBooleanExprCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/MisleadingIndentationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/UniqueptrDeleteReleaseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/FunctionSizeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/IsolateDeclarationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/ContainerDataPointerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/ContainerContainsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/ContainerSizeEmptyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/InconsistentDeclarationParameterNameCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/AvoidUnconditionalPreprocessorIfCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantFunctionPtrDereferenceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/DeleteNullPointerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/AvoidConstParamsInDecls.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/NonConstParameterCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/OperatorsRepresentationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantSmartptrGetCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/MagicNumbersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantDeclarationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/QualifiedAutoCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantMemberInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantStringInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantAccessSpecifiersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/StaticAccessedThroughInstanceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/IdentifierLengthCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/SimplifySubscriptExprCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/StringCompareCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/DuplicateIncludeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/ConstReturnTypeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./readability/BracesAroundStatementsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./ClangTidyForceLinker.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./ClangTidyProfiling.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./altera -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./altera/KernelNameRestrictionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./altera/UnrollLoopsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./altera/SingleWorkItemBarrierCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./altera/IdDependentBackwardBranchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./altera/StructPackAlignCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./ClangTidy.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./misc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./misc/ConfusableTable -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./misc/RedundantExpressionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./misc/NonCopyableObjects.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./misc/StaticAssertCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./misc/UnusedAliasDeclsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./misc/DefinitionsInHeadersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./misc/NoRecursionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./misc/UseAnonymousNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./misc/HeaderIncludeCycleCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./misc/ThrowByValueCatchByReferenceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./misc/NewDeleteOverloadsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./misc/MisleadingIdentifier.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./misc/ConstCorrectnessCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./misc/UnconventionalAssignOperatorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./misc/ConfusableIdentifierCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./misc/UnusedUsingDeclsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./misc/UniqueptrResetReleaseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./misc/NonPrivateMemberVariablesInClassesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./misc/IncludeCleanerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./misc/MisleadingBidirectional.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./misc/UnusedParametersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./misc/MisplacedConstCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./plugin -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./ClangTidyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./mpi -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./mpi/TypeMismatchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./mpi/BufferDerefCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./concurrency -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./concurrency/MtUnsafeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./concurrency/ThreadCanceltypeAsynchronousCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./ClangTidyModuleRegistry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./android -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecPipe2Check.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecDupCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecEpollCreate1Check.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecSocketCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecInotifyInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecPipeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecMemfdCreateCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./android/ComparisonInTempFailureRetryCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecAccept4Check.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecInotifyInit1Check.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecAcceptCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecCreatCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecFopenCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecOpenCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecEpollCreateCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./google -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./google/AvoidCStyleCastsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./google/GlobalNamesInHeadersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./google/GlobalVariableDeclarationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./google/OverloadedUnaryAndCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./google/AvoidThrowingObjCExceptionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./google/AvoidNSObjectNewCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./google/ExplicitConstructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./google/AvoidUnderscoreInGoogletestNameCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./google/DefaultArgumentsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./google/IntegerTypesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./google/UpgradeGoogletestCaseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./google/TodoCommentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./google/FunctionNamingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./google/UnnamedNamespaceInHeaderCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./google/UsingNamespaceDirectiveCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./google/ExplicitMakePairCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./ClangTidyOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./GlobList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./darwin -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./darwin/DispatchOnceNonstaticCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./darwin/AvoidSpinlockCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/RvalueReferenceParamNotMovedCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/MisleadingCaptureDefaultByValueCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/MacroUsageCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/AvoidGotoCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeUnionAccessCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeConstCastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/PreferMemberInitializerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeReinterpretCastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeMemberInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/SlicingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeVarargCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/AvoidConstOrRefDataMembersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeStaticCastDowncastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/AvoidCapturingLambdaCoroutinesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProBoundsPointerArithmeticCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProBoundsConstantArrayIndexCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/NarrowingConversionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/AvoidNonConstGlobalVariablesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/InitVariablesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeCstyleCastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/SpecialMemberFunctionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/AvoidReferenceCoroutineParametersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/MissingStdForwardCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/VirtualClassDestructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/AvoidDoWhileCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/OwningMemoryCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/InterfacesGlobalInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/NoMallocCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./NoLintDirectiveHandler.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./llvm -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./llvm/HeaderGuardCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./llvm/TwineLocalCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./llvm/PreferRegisterOverUnsignedCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./llvm/PreferIsaOrDynCastInConditionalsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./llvm/IncludeOrderCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./utils -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./utils/TransformerClangTidyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./utils/UsingInserter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./utils/ASTUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./utils/ExceptionSpecAnalyzer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./utils/ExceptionAnalyzer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./utils/RenamerClangTidyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./utils/TypeTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./utils/DeclRefExprUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./utils/IncludeSorter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./utils/FileExtensionsUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./utils/NamespaceAliaser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./utils/Matchers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./utils/IncludeInserter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./utils/Aliasing.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./utils/FixItHintUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./utils/OptionsUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./utils/LexerUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./utils/ExprSequence.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./utils/HeaderGuard.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./utils/FormatStringConverter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./fuchsia -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./fuchsia/MultipleInheritanceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./fuchsia/DefaultArgumentsDeclarationsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./fuchsia/DefaultArgumentsCallsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./fuchsia/VirtualInheritanceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./fuchsia/OverloadedOperatorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./fuchsia/TrailingReturnCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./fuchsia/StaticallyConstructedObjectsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./linuxkernel -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/./linuxkernel/MustCheckErrsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-change-namespace -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-doc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/clang-doc-default-stylesheet.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/index.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-include-fixer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/clang-include-fixer.el -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/clang-include-fixer.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/find-all-symbols -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/run-find-all-symbols.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-move -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-query -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-include-cleaner -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/pp-trace -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-pseudo -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clangd -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/libclang.so.17.0.6 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/libclang.so.17 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/libclang.so -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/Rewrite.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/FatalErrorHandler.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/CXErrorCode.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/CXFile.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/Index.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/CXString.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/CXCompilationDatabase.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/BuildSystem.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/CXSourceLocation.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/Platform.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/Documentation.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/ExternC.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-c/CXDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/amdgpu-arch -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/nvptx-arch -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/. -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ShadowCallStack.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangFormat.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/checkers.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/user-docs.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/user-docs -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/user-docs/TaintAnalysisConfiguration.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/user-docs/CrossTranslationUnit.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs/DebugChecks.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs/RegionStore.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs/IPA.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs/nullability.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs/InitializerLists.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./HardwareAssistedAddressSanitizerDesign.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./SanitizerCoverage.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./DebuggingCoroutines.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./.buildinfo -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./AddressSanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./genindex.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./Toolchain.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./AttributeReference.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./OpenMPSupport.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./SYCLSupport.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./RefactoringEngine.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./SanitizerStats.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./APINotes.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangOffloadPackager.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangStaticAnalyzer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./index.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ReleaseNotes.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LibASTMatchersReference.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./Block-ABI-Apple.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./MemorySanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ItaniumMangleAbiTags.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangOffloadPackager.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LTOVisibility.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/Block-ABI-Apple.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/user-docs -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/user-docs/CrossTranslationUnit.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/user-docs/TaintAnalysisConfiguration.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/checkers.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/user-docs.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs/InitializerLists.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs/nullability.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs/RegionStore.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs/DebugChecks.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs/IPA.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/StandardCPlusPlusModules.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/MisExpect.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/AddressSanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangPlugins.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/CodeOwners.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/OffloadingDesign.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ConstantInterpreter.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ThinLTO.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/AMDGPUSupport.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ThreadSafetyAnalysis.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangFormat.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/OpenCLSupport.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/RAVFrontendAction.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangTransformerTutorial.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ThreadSanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/APINotes.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/DataFlowSanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/DebuggingCoroutines.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/OpenMPSupport.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/MatrixTypes.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/Modules.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/RefactoringEngine.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LibFormat.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/Toolchain.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/AttributeReference.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/SourceBasedCodeCoverage.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangTools.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LibTooling.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ControlFlowIntegrityDesign.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/SYCLSupport.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ShadowCallStack.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/Tooling.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/CrossCompilation.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/HLSL -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/HLSL/HLSLSupport.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/HLSL/HLSLIRReference.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/HLSL/ResourceTypes.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/HLSL/HLSLDocs.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/HLSL/EntryFunctions.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangCheck.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangCommandLineReference.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LanguageExtensions.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/AutomaticReferenceCounting.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/index.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/InternalsManual.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/IntroductionToTheClangAST.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/CommandGuide -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/CommandGuide/index.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/CommandGuide/diagtool.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/CommandGuide/clang.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ReleaseNotes.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangStaticAnalyzer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/SafeStack.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/UndefinedBehaviorSanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangLinkerWrapper.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ObjectiveCLiterals.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LibASTMatchersTutorial.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/DataFlowSanitizerDesign.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LibASTImporter.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/PCHInternals.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/SanitizerCoverage.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/SanitizerSpecialCaseList.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/DiagnosticsReference.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/BlockLanguageSpec.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangFormattedStatus.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/DriverInternals.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/JSONCompilationDatabase.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/HowToSetupToolingForLLVM.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LeakSanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LibASTMatchers.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangFormatStyleOptions.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/HardwareAssistedAddressSanitizerDesign.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/SanitizerStats.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ExternalClangExamples.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangOffloadBundler.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/UsersManual.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/FAQ.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/MemorySanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/MSVCCompatibility.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LibClang.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangRepl.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ControlFlowIntegrity.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/Multilib.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./PCHInternals.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images/DriverArchitecture.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images/ClangRepl_design.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images/PCHLayout.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LibASTMatchers.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./Tooling.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./DiagnosticsReference.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/alert_info_32.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/basic.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/haiku.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/pygments.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/plus.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/sphinx_highlight.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/bullet_orange.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/file.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/alert_warning_32.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/bg-page.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/documentation_options.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/doctools.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/minus.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/searchtools.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/language_data.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ControlFlowIntegrityDesign.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./OffloadingDesign.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./SanitizerSpecialCaseList.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ControlFlowIntegrity.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./SafeStack.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ConstantInterpreter.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./InternalsManual.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LibFormat.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangPlugins.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./SourceBasedCodeCoverage.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./OpenCLSupport.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./FAQ.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangOffloadBundler.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./BlockLanguageSpec.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./UsersManual.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./AutomaticReferenceCounting.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./DataFlowSanitizerDesign.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./UndefinedBehaviorSanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./HowToSetupToolingForLLVM.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./HLSL -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./HLSL/ResourceTypes.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./HLSL/EntryFunctions.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./HLSL/HLSLIRReference.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./HLSL/HLSLSupport.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./HLSL/HLSLDocs.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangTools.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LibClang.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./CommandGuide -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./CommandGuide/index.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./CommandGuide/diagtool.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./CommandGuide/clang.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ThreadSafetyAnalysis.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangRepl.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangFormattedStatus.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./objects.inv -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./searchindex.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ThinLTO.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ItaniumMangleAbiTags.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./AMDGPUSupport.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./IntroductionToTheClangAST.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LibASTMatchersTutorial.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./Multilib.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./Modules.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./StandardCPlusPlusModules.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./MatrixTypes.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ThreadSanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./MSVCCompatibility.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./RAVFrontendAction.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LibASTImporter.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangCheck.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./JSONCompilationDatabase.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ObjectiveCLiterals.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LanguageExtensions.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangLinkerWrapper.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangCommandLineReference.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./CrossCompilation.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangTransformerTutorial.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./DataFlowSanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./search.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./MisExpect.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LibTooling.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ExternalClangExamples.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./CodeOwners.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LeakSanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LTOVisibility.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./DriverInternals.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangFormatStyleOptions.html -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/man/man1 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/man/man1/diagtool.1 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/man/man1/clang.1 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/cmake/clang/ClangTargets.cmake -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/cmake/clang/ClangTargets-relwithdebinfo.cmake -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/cmake/clang/ClangConfig.cmake -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/cmake/clang/ClangConfigVersion.cmake -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/cmake/clang/AddClang.cmake -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/hmaptool + rm -rf '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/*.a' + mkdir -p /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/ + install -p -m644 bindings/python/clang/__init__.py bindings/python/clang/cindex.py bindings/python/clang/enumerations.py /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/ + [[ /usr/bin/python3 =~ - ]] ++ /usr/bin/python3 -c 'import sys; sys.stdout.write('\''{0.major}{0.minor}'\''.format(sys.version_info))' + python_version=311 + py3_byte_compile /usr/bin/python3 /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/clang + python_binary='env PYTHONHASHSEED=0 /usr/bin/python3' + bytecode_compilation_path=/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/clang + env PYTHONHASHSEED=0 /usr/bin/python3 -s -B -m compileall -o 0 -o 1 -s /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64 -p / /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/clang Listing '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/clang'... Compiling '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/__init__.py'... Compiling '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/cindex.py'... Compiling '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/enumerations.py'... + mv /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/libear /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/libscanbuild /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages + [[ /usr/bin/python3 =~ - ]] ++ /usr/bin/python3 -c 'import sys; sys.stdout.write('\''{0.major}{0.minor}'\''.format(sys.version_info))' + python_version=311 + py3_byte_compile /usr/bin/python3 '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/{libear,libscanbuild}' + python_binary='env PYTHONHASHSEED=0 /usr/bin/python3' + bytecode_compilation_path='/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/{libear,libscanbuild}' + env PYTHONHASHSEED=0 /usr/bin/python3 -s -B -m compileall -o 0 -o 1 -s /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64 -p / '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/{libear,libscanbuild}' Listing '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/{libear,libscanbuild}'... Can't list '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/{libear,libscanbuild}' + chmod a+x /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/scan-view/Reporter.py /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/scan-view/startfile.py + mkdir -p /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/emacs/site-lisp/site-start.d + for f in clang-format.el clang-rename.el clang-include-fixer.el + mv /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/clang-format.el /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/emacs/site-lisp/site-start.d/clang-format.el + for f in clang-format.el clang-rename.el clang-include-fixer.el + mv /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/clang-rename.el /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/emacs/site-lisp/site-start.d/clang-rename.el + for f in clang-format.el clang-rename.el clang-include-fixer.el + mv /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/clang-include-fixer.el /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/emacs/site-lisp/site-start.d/clang-include-fixer.el + rm -vf /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/clang-format-bbedit.applescript removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/clang-format-bbedit.applescript' + rm -vf /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/clang-format-sublime.py removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/clang-format-sublime.py' + rm -Rvf /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/ShadowCallStack.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangFormat.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/checkers.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/user-docs.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/user-docs/TaintAnalysisConfiguration.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/user-docs/CrossTranslationUnit.html' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/user-docs' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs/DebugChecks.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs/RegionStore.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs/IPA.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs/nullability.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs/InitializerLists.html' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/HardwareAssistedAddressSanitizerDesign.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/SanitizerCoverage.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/DebuggingCoroutines.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/.buildinfo' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/AddressSanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/genindex.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/Toolchain.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/AttributeReference.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/OpenMPSupport.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/SYCLSupport.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/RefactoringEngine.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/SanitizerStats.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/APINotes.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangOffloadPackager.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangStaticAnalyzer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/index.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/ReleaseNotes.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/LibASTMatchersReference.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/Block-ABI-Apple.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/MemorySanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ItaniumMangleAbiTags.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangOffloadPackager.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LTOVisibility.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/Block-ABI-Apple.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/user-docs/CrossTranslationUnit.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/user-docs/TaintAnalysisConfiguration.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/user-docs' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/checkers.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/user-docs.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs/InitializerLists.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs/nullability.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs/RegionStore.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs/DebugChecks.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs/IPA.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/StandardCPlusPlusModules.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/MisExpect.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/AddressSanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangPlugins.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/CodeOwners.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/OffloadingDesign.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ConstantInterpreter.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ThinLTO.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/AMDGPUSupport.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ThreadSafetyAnalysis.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangFormat.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/OpenCLSupport.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/RAVFrontendAction.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangTransformerTutorial.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ThreadSanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/APINotes.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/DataFlowSanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/DebuggingCoroutines.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/OpenMPSupport.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/MatrixTypes.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/Modules.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/RefactoringEngine.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LibFormat.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/Toolchain.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/AttributeReference.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/SourceBasedCodeCoverage.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangTools.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LibTooling.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ControlFlowIntegrityDesign.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/SYCLSupport.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ShadowCallStack.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/Tooling.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/CrossCompilation.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/HLSL/HLSLSupport.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/HLSL/HLSLIRReference.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/HLSL/ResourceTypes.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/HLSL/HLSLDocs.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/HLSL/EntryFunctions.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/HLSL' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangCheck.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangCommandLineReference.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LanguageExtensions.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/AutomaticReferenceCounting.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/index.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/InternalsManual.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/IntroductionToTheClangAST.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/CommandGuide/index.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/CommandGuide/diagtool.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/CommandGuide/clang.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/CommandGuide' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ReleaseNotes.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangStaticAnalyzer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/SafeStack.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/UndefinedBehaviorSanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangLinkerWrapper.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ObjectiveCLiterals.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LibASTMatchersTutorial.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/DataFlowSanitizerDesign.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LibASTImporter.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/PCHInternals.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/SanitizerCoverage.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/SanitizerSpecialCaseList.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/DiagnosticsReference.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/BlockLanguageSpec.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangFormattedStatus.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/DriverInternals.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/JSONCompilationDatabase.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/HowToSetupToolingForLLVM.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LeakSanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LibASTMatchers.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangFormatStyleOptions.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/HardwareAssistedAddressSanitizerDesign.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/SanitizerStats.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ExternalClangExamples.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangOffloadBundler.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/UsersManual.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/FAQ.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/MemorySanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/MSVCCompatibility.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LibClang.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangRepl.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ControlFlowIntegrity.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/Multilib.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/PCHInternals.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images/DriverArchitecture.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images/ClangRepl_design.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images/PCHLayout.png' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/LibASTMatchers.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/Tooling.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/DiagnosticsReference.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/alert_info_32.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/basic.css' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/haiku.css' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/pygments.css' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/plus.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/sphinx_highlight.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/bullet_orange.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/file.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/alert_warning_32.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/bg-page.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/documentation_options.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/doctools.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/minus.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/searchtools.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/language_data.js' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/ControlFlowIntegrityDesign.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/OffloadingDesign.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/SanitizerSpecialCaseList.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/ControlFlowIntegrity.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/SafeStack.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/ConstantInterpreter.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/InternalsManual.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/LibFormat.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangPlugins.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/SourceBasedCodeCoverage.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/OpenCLSupport.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/FAQ.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangOffloadBundler.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/BlockLanguageSpec.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/UsersManual.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/AutomaticReferenceCounting.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/DataFlowSanitizerDesign.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/UndefinedBehaviorSanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/HowToSetupToolingForLLVM.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/HLSL/ResourceTypes.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/HLSL/EntryFunctions.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/HLSL/HLSLIRReference.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/HLSL/HLSLSupport.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/HLSL/HLSLDocs.html' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/HLSL' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangTools.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/LibClang.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/CommandGuide/index.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/CommandGuide/diagtool.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/CommandGuide/clang.html' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/CommandGuide' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/ThreadSafetyAnalysis.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangRepl.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangFormattedStatus.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/objects.inv' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/searchindex.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/ThinLTO.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/ItaniumMangleAbiTags.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/AMDGPUSupport.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/IntroductionToTheClangAST.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/LibASTMatchersTutorial.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/Multilib.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/Modules.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/StandardCPlusPlusModules.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/MatrixTypes.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/ThreadSanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/MSVCCompatibility.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/RAVFrontendAction.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/LibASTImporter.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangCheck.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/JSONCompilationDatabase.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/ObjectiveCLiterals.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/LanguageExtensions.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangLinkerWrapper.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangCommandLineReference.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/CrossCompilation.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangTransformerTutorial.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/DataFlowSanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/search.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/MisExpect.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/LibTooling.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/ExternalClangExamples.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/CodeOwners.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/LeakSanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/LTOVisibility.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/DriverInternals.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangFormatStyleOptions.html' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/doc/Clang/clang/html' + rm -Rvf /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/clang-doc-default-stylesheet.css + rm -Rvf /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/index.js removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/clang-doc-default-stylesheet.css' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/index.js' + rm -Rvf /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/ removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/tool/ClangTidyMain.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/tool' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/StandaloneEmptyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/SuspiciousMemoryComparisonCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/UndefinedMemoryManipulationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/UniquePtrArrayMismatchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/InaccurateEraseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/MisplacedWideningCastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/StringLiteralWithEmbeddedNulCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/SuspiciousStringCompareCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/MultipleNewInOneExpressionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/BadSignalToKillThreadCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/UncheckedOptionalAccessCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/LambdaFunctionNameCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/SignalHandlerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/TooSmallLoopVariableCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/VirtualNearMissCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/MacroParenthesesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/SuspiciousEnumUsageCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/MisplacedPointerArithmeticInAllocCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/CopyConstructorInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/SharedPtrArrayMismatchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/ExceptionEscapeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/NotNullTerminatedResultCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/AssignmentInIfConditionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/MisplacedOperatorInStrlenInAllocCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/MultipleStatementMacroCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/BranchCloneCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/RedundantBranchConditionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/StringIntegerAssignmentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/SmartPtrArrayMismatchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/PosixReturnCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/ImplicitWideningOfMultiplicationResultCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/DynamicStaticInitializersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/SuspiciousIncludeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/UndelegatedConstructorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/StringviewNullptrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/UnhandledExceptionAtNewCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/SuspiciousReallocUsageCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/ForwardingReferenceOverloadCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/ArgumentCommentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/NonZeroEnumToBoolConversionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/UnhandledSelfAssignmentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/IntegerDivisionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/FoldInitTypeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/UnusedReturnValueCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/SuspiciousMemsetUsageCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/SuspiciousSemicolonCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/TerminatingContinueCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/UnusedRaiiCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/EasilySwappableParametersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/SwappedArgumentsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/UnsafeFunctionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/InfiniteLoopCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/SignedCharMisuseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/EmptyCatchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/UseAfterMoveCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/BoolPointerImplicitConversionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/ForwardDeclarationNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/DanglingHandleCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/SwitchMissingDefaultCaseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/ParentVirtualCallCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/ReservedIdentifierCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/SuspiciousMissingCommaCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/SizeofContainerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/IncorrectRoundingsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/MoveForwardingReferenceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/ThrowKeywordMissingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/MacroRepeatedSideEffectsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/NoEscapeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/SizeofExpressionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/StringConstructorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/AssertSideEffectCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone/SpuriouslyWakeUpFunctionsCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/bugprone' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/zircon/TemporaryObjectsCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/zircon' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/boost/UseToStringCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/boost' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/ReturnBracedInitListCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/UseEqualsDeleteCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/ReplaceAutoPtrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/MakeSharedCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/UseNullptrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/AvoidCArraysCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/UnaryStaticAssertCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/UseTrailingReturnTypeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/UseTransparentFunctorsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/IntegralLiteralExpressionMatcher.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/UseUncaughtExceptionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/MacroToEnumCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/RedundantVoidArgCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/ShrinkToFitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/UseEqualsDefaultCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/UseAutoCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/MakeSmartPtrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/UseNoexceptCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/DeprecatedIosBaseAliasesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/DeprecatedHeadersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/LoopConvertCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/UseOverrideCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/TypeTraitsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/ConcatNestedNamespacesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/LoopConvertUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/PassByValueCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/UseDefaultMemberInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/UseEmplaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/UseBoolLiteralsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/ReplaceRandomShuffleCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/MakeUniqueCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/UseStdPrintCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/AvoidBindCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/UseNodiscardCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/ReplaceDisallowCopyAndAssignMacroCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/RawStringLiteralCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize/UseUsingCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/modernize' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/hicpp/ExceptionBaseclassCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/hicpp/SignedBitwiseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/hicpp/NoAssemblerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/hicpp/MultiwayPathsCoveredCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/hicpp' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/ExpandModularHeadersPPCallbacks.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/portability/RestrictSystemIncludesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/portability/StdAllocatorConstCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/portability/SIMDIntrinsicsCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/portability' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/objc/NSInvocationArgumentLifetimeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/objc/PropertyDeclarationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/objc/SuperSelfCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/objc/MissingHashCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/objc/NSDateFormatterCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/objc/ForbiddenSubclassingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/objc/AssertEquals.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/objc/AvoidNSErrorInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/objc/DeallocInCategoryCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/objc' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cert/VariadicFunctionDefCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cert/MutatingCopyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cert/NonTrivialTypesLibcMemoryCallsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cert/DefaultOperatorNewAlignmentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cert/DontModifyStdNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cert/FloatLoopCounter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cert/StrToNumCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cert/ThrownExceptionTypeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cert/LimitedRandomnessCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cert/CommandProcessorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cert/PostfixOperatorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cert/SetLongJmpCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cert/StaticObjectExceptionCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cert' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/ClangTidyModule.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/openmp/ExceptionEscapeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/openmp/UseDefaultNoneCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/openmp' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationFactoryScaleCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationConversionCastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/abseil/TimeSubtractionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/abseil/FasterStrsplitDelimiterCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationRewriter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationFactoryFloatCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/abseil/RedundantStrcatCallsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/abseil/StringFindStartswithCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationDivisionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/abseil/AbseilMatcher.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/abseil/CleanupCtadCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/abseil/StrCatAppendCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/abseil/TimeComparisonCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationAdditionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/abseil/NoInternalDependenciesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/abseil/StringFindStrContainsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/abseil/NoNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationUnnecessaryConversionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/abseil/UpgradeDurationConversionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationComparisonCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationSubtractionCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/abseil' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/FileExtensionsSet.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/llvmlibc/CalleeNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/llvmlibc/ImplementationInNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/llvmlibc/RestrictSystemLibcHeadersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/llvmlibc/InlineFunctionDeclCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/llvmlibc' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/performance/UnnecessaryValueParamCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/performance/NoAutomaticMoveCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/performance/NoexceptFunctionBaseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/performance/TriviallyDestructibleCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/performance/TypePromotionInMathFnCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/performance/MoveConstructorInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/performance/UnnecessaryCopyInitialization.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/performance/ForRangeCopyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/performance/AvoidEndlCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/performance/NoexceptMoveConstructorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/performance/InefficientAlgorithmCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/performance/InefficientVectorOperationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/performance/MoveConstArgCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/performance/ImplicitConversionInLoopCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/performance/NoexceptSwapCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/performance/InefficientStringConcatenationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/performance/NoIntToPtrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/performance/FasterStringFindCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/performance/NoexceptDestructorCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/performance' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/ClangTidyDiagnosticConsumer.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/UseAnyOfAllOfCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/StaticDefinitionInAnonymousNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/ImplicitBoolConversionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/UppercaseLiteralSuffixCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/IdentifierNamingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantStringCStrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/FunctionCognitiveComplexityCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/ElseAfterReturnCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantPreprocessorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/MakeMemberFunctionConstCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/NamespaceCommentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/MisplacedArrayIndexCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantControlFlowCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/NamedParameterCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/SuspiciousCallArgumentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/ConvertMemberFunctionsToStatic.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/SimplifyBooleanExprCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/MisleadingIndentationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/UniqueptrDeleteReleaseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/FunctionSizeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/IsolateDeclarationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/ContainerDataPointerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/ContainerContainsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/ContainerSizeEmptyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/AvoidUnconditionalPreprocessorIfCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantFunctionPtrDereferenceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/DeleteNullPointerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/AvoidConstParamsInDecls.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/NonConstParameterCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/OperatorsRepresentationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantSmartptrGetCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/MagicNumbersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantDeclarationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/QualifiedAutoCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantMemberInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantStringInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantAccessSpecifiersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/StaticAccessedThroughInstanceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/IdentifierLengthCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/SimplifySubscriptExprCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/StringCompareCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/DuplicateIncludeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/ConstReturnTypeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability/BracesAroundStatementsCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/readability' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/ClangTidyForceLinker.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/ClangTidyProfiling.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/altera/KernelNameRestrictionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/altera/UnrollLoopsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/altera/SingleWorkItemBarrierCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/altera/IdDependentBackwardBranchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/altera/StructPackAlignCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/altera' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/ClangTidy.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/misc/ConfusableTable' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/misc/RedundantExpressionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/misc/NonCopyableObjects.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/misc/StaticAssertCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/misc/UnusedAliasDeclsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/misc/DefinitionsInHeadersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/misc/NoRecursionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/misc/UseAnonymousNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/misc/HeaderIncludeCycleCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/misc/NewDeleteOverloadsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/misc/MisleadingIdentifier.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/misc/ConstCorrectnessCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/misc/UnconventionalAssignOperatorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/misc/ConfusableIdentifierCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/misc/UnusedUsingDeclsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/misc/UniqueptrResetReleaseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/misc/NonPrivateMemberVariablesInClassesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/misc/IncludeCleanerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/misc/MisleadingBidirectional.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/misc/UnusedParametersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/misc/MisplacedConstCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/misc' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/plugin' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/ClangTidyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/mpi/TypeMismatchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/mpi/BufferDerefCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/mpi' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/concurrency/MtUnsafeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/concurrency/ThreadCanceltypeAsynchronousCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/concurrency' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/ClangTidyModuleRegistry.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/android/CloexecPipe2Check.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/android/CloexecDupCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/android/CloexecEpollCreate1Check.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/android/CloexecSocketCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/android/CloexecInotifyInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/android/CloexecPipeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/android/CloexecMemfdCreateCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/android/ComparisonInTempFailureRetryCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/android/CloexecAccept4Check.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/android/CloexecInotifyInit1Check.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/android/CloexecAcceptCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/android/CloexecCreatCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/android/CloexecFopenCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/android/CloexecOpenCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/android/CloexecEpollCreateCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/android/CloexecCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/android' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/google/AvoidCStyleCastsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/google/GlobalNamesInHeadersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/google/GlobalVariableDeclarationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/google/OverloadedUnaryAndCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/google/AvoidThrowingObjCExceptionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/google/AvoidNSObjectNewCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/google/ExplicitConstructorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/google/AvoidUnderscoreInGoogletestNameCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/google/DefaultArgumentsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/google/IntegerTypesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/google/UpgradeGoogletestCaseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/google/TodoCommentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/google/FunctionNamingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/google/UnnamedNamespaceInHeaderCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/google/UsingNamespaceDirectiveCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/google/ExplicitMakePairCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/google' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/ClangTidyOptions.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/GlobList.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/darwin/DispatchOnceNonstaticCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/darwin/AvoidSpinlockCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/darwin' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/RvalueReferenceParamNotMovedCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/MisleadingCaptureDefaultByValueCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/MacroUsageCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/AvoidGotoCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeUnionAccessCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeConstCastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/PreferMemberInitializerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeReinterpretCastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/SlicingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/AvoidConstOrRefDataMembersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeStaticCastDowncastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/AvoidCapturingLambdaCoroutinesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProBoundsPointerArithmeticCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/AvoidNonConstGlobalVariablesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/InitVariablesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/AvoidReferenceCoroutineParametersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/MissingStdForwardCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/VirtualClassDestructorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/AvoidDoWhileCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/OwningMemoryCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/InterfacesGlobalInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/NoMallocCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/NoLintDirectiveHandler.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/llvm/HeaderGuardCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/llvm/TwineLocalCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/llvm/PreferRegisterOverUnsignedCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/llvm/PreferIsaOrDynCastInConditionalsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/llvm/IncludeOrderCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/llvm' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/utils/TransformerClangTidyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/utils/UsingInserter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/utils/ASTUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/utils/ExceptionSpecAnalyzer.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/utils/ExceptionAnalyzer.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/utils/RenamerClangTidyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/utils/TypeTraits.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/utils/DeclRefExprUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/utils/IncludeSorter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/utils/FileExtensionsUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/utils/NamespaceAliaser.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/utils/Matchers.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/utils/IncludeInserter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/utils/Aliasing.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/utils/FixItHintUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/utils/OptionsUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/utils/LexerUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/utils/ExprSequence.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/utils/HeaderGuard.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/utils/FormatStringConverter.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/utils' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/fuchsia/MultipleInheritanceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/fuchsia/DefaultArgumentsDeclarationsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/fuchsia/DefaultArgumentsCallsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/fuchsia/VirtualInheritanceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/fuchsia/OverloadedOperatorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/fuchsia/TrailingReturnCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/fuchsia/StaticallyConstructedObjectsCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/fuchsia' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/linuxkernel/MustCheckErrsCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/linuxkernel' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/include/clang-tidy/' removed '/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/bash-autocomplete.sh' + rm -vf /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/clang/bash-autocomplete.sh + ln -s clang.1.gz /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/man/man1/clang++.1.gz + ln -s clang.1.gz /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/man/man1/clang-17.1.gz + ln -s clang.1.gz /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/man/man1/clang++-17.1.gz + ln -s clang++ /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang++-17 + chmod u-x /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/man/man1/scan-build.1 + mkdir -p /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/include/ /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/lib/ /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/clang/17/share/ + ln -s /usr/share/clang/clang-format-diff.py /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-format-diff + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 17.0.6-8.ocs23 --unique-debug-suffix -17.0.6-8.ocs23.aarch64 --unique-debug-src-base clang-17.0.6-8.ocs23.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/clang-17.0.6.src extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-check extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang++ extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-change-namespace extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/c-index-test extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-extdef-mapping extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-pseudo extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-17 extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-include-cleaner extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-repl extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-query extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clangd extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-apply-replacements extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-include-fixer extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-format extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-move extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-doc extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-cl extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/modularize extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/amdgpu-arch extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-offload-bundler extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-refactor extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/find-all-symbols extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-offload-packager extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-tidy extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-linker-wrapper extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/nvptx-arch extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-cpp extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-scan-deps extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-rename extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/diagtool extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-reorder-fields extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/pp-trace extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/libclang-cpp.so.17 extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib64/libclang.so.17.0.6 134214 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/libexec/c++-analyzer from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/libexec/ccc-analyzer from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/bin/scan-build from /usr/bin/env perl to #!/usr/bin/perl + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-fix-pyc-reproducibility /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages Removed 44 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/shell.cpython-311.pyc Removed 107 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/intercept.cpython-311.opt-1.pyc Removed 91 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/arguments.cpython-311.opt-1.pyc Removed 82 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/__init__.cpython-311.opt-1.pyc Removed 185 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/analyze.cpython-311.pyc Removed 42 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/compilation.cpython-311.opt-1.pyc Removed 69 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/clang.cpython-311.opt-1.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/__init__.cpython-311.pyc Removed 185 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/analyze.cpython-311.opt-1.pyc Removed 171 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/report.cpython-311.opt-1.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/shell.cpython-311.opt-1.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/arguments.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/compilation.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/clang.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/report.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/intercept.cpython-311.pyc Removed 130 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/libear/__pycache__/__init__.cpython-311.opt-1.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/libear/__pycache__/__init__.cpython-311.pyc Removed 1001 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/__pycache__/cindex.cpython-311.opt-1.pyc Removed 7 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/__pycache__/__init__.cpython-311.opt-1.pyc Removed 16 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/__pycache__/enumerations.cpython-311.opt-1.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/__pycache__/__init__.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/__pycache__/enumerations.cpython-311.pyc Removed 997 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/__pycache__/cindex.cpython-311.pyc + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.z8cW7E + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd clang-17.0.6.src + LD_LIBRARY_PATH=/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64//usr/lib64 + /usr/bin/ninja check-all -C aarch64-OpenCloudOS-linux-gnu ninja: Entering directory `aarch64-OpenCloudOS-linux-gnu' [1/441] Building CXX object lib/Testing/CMakeFiles/clangTesting.dir/CommandLineArgs.cpp.o [2/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/CXXTest.cpp.o [3/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/BracketTest.cpp.o [4/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/DisambiguateTest.cpp.o [5/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/ForestTest.cpp.o [6/441] Building CXX object tools/extra/unittests/clang-include-fixer/CMakeFiles/ClangIncludeFixerTests.dir/FuzzySymbolIndexTests.cpp.o [7/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/LRTableTest.cpp.o [8/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/TypesTest.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] Building CXX object lib/Testing/CMakeFiles/clangTesting.dir/TestAST.cpp.o [17/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/OptionsProviderTest.cpp.o [18/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/ClangDocTest.cpp.o [19/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/GeneratorTest.cpp.o [20/441] Building CXX object tools/extra/unittests/clang-include-fixer/CMakeFiles/ClangIncludeFixerTests.dir/IncludeFixerTest.cpp.o [21/441] Linking CXX executable tools/extra/unittests/clang-apply-replacements/ClangApplyReplacementsTests [22/441] Linking CXX static library lib64/libclangTesting.a [23/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/WalkASTTest.cpp.o [24/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/MergeTest.cpp.o [25/441] Generating code completion model runtime... [26/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/YAMLGeneratorTest.cpp.o [27/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/BitcodeTest.cpp.o [28/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/RecordTest.cpp.o [29/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/HTMLGeneratorTest.cpp.o [30/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/MDGeneratorTest.cpp.o [31/441] Building CXX object tools/extra/unittests/clang-query/CMakeFiles/ClangQueryTests.dir/QueryEngineTest.cpp.o [32/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/DarwinSDKInfoTest.cpp.o [33/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/AnalysisTest.cpp.o [34/441] Building CXX object tools/extra/unittests/clang-query/CMakeFiles/ClangQueryTests.dir/QueryParserTest.cpp.o [35/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 &); | ^~~~~~~~~~~~~~~~~~~~~ [36/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/CharInfoTest.cpp.o [37/441] Building CXX object tools/extra/unittests/clang-include-fixer/find-all-symbols/CMakeFiles/FindAllSymbolsTests.dir/FindAllSymbolsTests.cpp.o [38/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/Annotations.cpp.o [39/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CanonicalIncludesTests.cpp.o [40/441] Linking CXX executable tools/extra/pseudo/unittests/ClangPseudoTests [41/441] Building CXX object tools/extra/unittests/clang-change-namespace/CMakeFiles/ClangChangeNamespaceTests.dir/ChangeNamespaceTests.cpp.o [42/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/ClangTidyDiagnosticConsumerTest.cpp.o [43/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DecisionForestTests.cpp.o [44/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/ClangTidyOptionsTest.cpp.o [45/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/DeclRefExprUtilsTest.cpp.o [46/441] Building CXX object tools/extra/unittests/clang-move/CMakeFiles/ClangMoveTests.dir/ClangMoveTests.cpp.o [47/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/LocateSymbolTest.cpp.o [48/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/IncludeCleanerTest.cpp.o [49/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/ModernizeModuleTest.cpp.o [50/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/SerializeTest.cpp.o [51/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/LLVMModuleTest.cpp.o [52/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CompileCommandsTests.cpp.o [53/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DraftStoreTests.cpp.o [54/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/GoogleModuleTest.cpp.o [55/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ConfigProviderTests.cpp.o [56/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/NamespaceAliaserTest.cpp.o [57/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/ObjCModuleTest.cpp.o [58/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ConfigYAMLTests.cpp.o [59/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FileDistanceTests.cpp.o [60/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/IncludeInserterTest.cpp.o [61/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/AddConstTest.cpp.o [62/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ASTTests.cpp.o [63/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ASTSignalsTests.cpp.o [64/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ConfigCompileTests.cpp.o [65/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FSTests.cpp.o [66/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CallHierarchyTests.cpp.o [67/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CollectMacrosTests.cpp.o [68/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/FindHeadersTest.cpp.o [69/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/UsingInserterTest.cpp.o [70/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FuzzyMatchTests.cpp.o [71/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CompilerTests.cpp.o [72/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CodeCompletionStringsTests.cpp.o [73/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/ReadabilityModuleTest.cpp.o [74/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/LoggerTests.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/JSONTransportTests.cpp.o [77/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/GlobalCompilationDatabaseTests.cpp.o [78/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ClangdLSPServerTests.cpp.o [79/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DexTests.cpp.o [80/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/LSPClient.cpp.o [81/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/PathMappingTests.cpp.o [82/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ExpectedTypeTest.cpp.o [83/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/RIFFTests.cpp.o [84/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ProjectAwareIndexTests.cpp.o [85/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FeatureModulesTests.cpp.o [86/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/TransformerClangTidyCheckTest.cpp.o [87/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/LSPBinderTests.cpp.o [88/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DumpASTTests.cpp.o [89/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/OverlappingReplacementsTest.cpp.o [90/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TestFS.cpp.o [91/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"); | ^ [92/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/BackgroundIndexTests.cpp.o [93/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ModulesTests.cpp.o [94/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TestIndex.cpp.o [95/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ClangdTests.cpp.o [96/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/HeaderSourceSwitchTests.cpp.o [97/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/IndexActionTests.cpp.o [98/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DecisionForestRuntimeTest.cpp.o [99/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/InsertionPointTests.cpp.o [100/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ThreadCrashReporterTests.cpp.o [101/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/HeadersTests.cpp.o [102/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/IncludeCleanerTests.cpp.o [103/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TidyProviderTests.cpp.o [104/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/ContextTests.cpp.o [105/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/FunctionTests.cpp.o [106/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/CancellationTests.cpp.o [107/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FindSymbolsTests.cpp.o [108/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/TestTracer.cpp.o [109/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/FileCacheTests.cpp.o [110/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/QualityTests.cpp.o [111/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/PathTests.cpp.o [112/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/URITests.cpp.o [113/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FileIndexTests.cpp.o [114/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/MarkupTests.cpp.o [115/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SemanticHighlightingTests.cpp.o [116/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/MemoryTreeTests.cpp.o [117/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/IndexTests.cpp.o [118/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/ThreadingTests.cpp.o [119/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/InlayHintTests.cpp.o [120/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SemanticSelectionTests.cpp.o [121/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/HoverTests.cpp.o [122/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SerializationTests.cpp.o [123/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/TraceTests.cpp.o [124/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DiagnosticsTests.cpp.o [125/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SelectionTests.cpp.o [126/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SyncAPI.cpp.o [127/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SymbolInfoTests.cpp.o [128/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TestWorkspace.cpp.o [129/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/RenameTests.cpp.o [130/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/PreambleTests.cpp.o [131/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ReplayPeambleTests.cpp.o [132/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/StdLibTests.cpp.o [133/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SourceCodeTests.cpp.o [134/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/AnnotateHighlightingsTests.cpp.o [135/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CodeCompleteTests.cpp.o [136/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/FileEntryTest.cpp.o [137/441] Linking CXX executable tools/extra/unittests/clang-include-fixer/ClangIncludeFixerTests [138/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ParsedASTTests.cpp.o [139/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/LineOffsetMappingTest.cpp.o [140/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/DefineInlineTests.cpp.o [141/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ExpandMacroTests.cpp.o [142/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/SanitizersTest.cpp.o [143/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/DumpSymbolTests.cpp.o [144/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/FileManagerTest.cpp.o [145/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/DumpASTTests.cpp.o [146/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/PrintASTTests.cpp.o [147/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/RemoveUsingNamespaceTests.cpp.o [148/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/AddUsingTests.cpp.o [149/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/DefineOutlineTests.cpp.o [150/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ObjCMemberwiseInitializerTests.cpp.o [151/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ExtractVariableTests.cpp.o [152/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TypeHierarchyTests.cpp.o [153/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ObjCLocalizeStringLiteralTests.cpp.o [154/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ExtractFunctionTests.cpp.o [155/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/HeaderMapTest.cpp.o [156/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ExpandDeducedTypeTests.cpp.o [157/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/DumpRecordLayoutTests.cpp.o [158/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/DependencyDirectivesScannerTest.cpp.o [159/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/RawStringLiteralTests.cpp.o [160/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/SpecialMembersTests.cpp.o [161/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/SwapIfBranchesTests.cpp.o [162/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/SarifTest.cpp.o [163/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ShowSelectionTreeTests.cpp.o [164/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/PopulateSwitchTests.cpp.o [165/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/MemberwiseConstructorTests.cpp.o [166/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/ModuleCacheTest.cpp.o [167/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/DistroTest.cpp.o [168/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/TweakTesting.cpp.o [169/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/HeaderSearchTest.cpp.o [170/441] Linking CXX executable tools/extra/include-cleaner/unittests/ClangIncludeCleanerTests [171/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/XRefsTests.cpp.o [172/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/SourceManagerTest.cpp.o [173/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/MultilibBuilderTest.cpp.o [174/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TestTU.cpp.o [175/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) | ^ [176/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/TweakTests.cpp.o [177/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/SanitizerArgsTest.cpp.o [178/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/PPConditionalDirectiveRecordTest.cpp.o [179/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/MultilibTest.cpp.o [180/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()) | ^ [181/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/PPMemoryAllocationsTest.cpp.o [182/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/PPDependencyDirectivesTest.cpp.o [183/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/ModuleDeclStateTest.cpp.o [184/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/ArenaTest.cpp.o [185/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/UnsafeBufferUsageTest.cpp.o [186/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/LexerTest.cpp.o [187/441] Linking CXX executable tools/extra/unittests/clang-change-namespace/ClangChangeNamespaceTests [188/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/DataflowAnalysisContextTest.cpp.o [189/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/ValueTest.cpp.o [190/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/DXCModeTest.cpp.o [191/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/MapLatticeTest.cpp.o [192/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/AnalyzerOptionsTest.cpp.o [193/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/PPCallbacksTest.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/CloneDetectionTest.cpp.o [199/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/DeterminismTest.cpp.o [200/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/DebugSupportTest.cpp.o [201/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/CFGMatchSwitchTest.cpp.o [202/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/CFGTest.cpp.o [203/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/ConflictingEvalCallsTest.cpp.o [204/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/CallEventTest.cpp.o [205/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/CFGDominatorTree.cpp.o [206/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/MatchSwitchTest.cpp.o [207/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/RecordOpsTest.cpp.o [208/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/DataflowEnvironmentTest.cpp.o [209/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/ChromiumCheckModelTest.cpp.o [210/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/LoggerTest.cpp.o [211/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TransferBranchTest.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/TestingSupport.cpp.o [214/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/SolverTest.cpp.o [215/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/ExprMutationAnalyzerTest.cpp.o [216/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TestingSupportTest.cpp.o [217/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/SignAnalysisTest.cpp.o [218/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/BugReportInterestingnessTest.cpp.o [219/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/MultiVarConstantPropagationTest.cpp.o [220/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/RegisterCustomCheckersTest.cpp.o [221/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/CallDescriptionTest.cpp.o [222/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/SingleVarConstantPropagationTest.cpp.o [223/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/ParamRegionTest.cpp.o [224/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/TestReturnValueUnderConstruction.cpp.o [225/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/UncheckedOptionalAccessModelTest.cpp.o [226/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/CommentTextTest.cpp.o [227/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/FalsePositiveRefutationBRVisitorTest.cpp.o [228/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTVectorTest.cpp.o [229/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TypeErasedDataflowAnalysisTest.cpp.o [230/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/StoreTest.cpp.o [231/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/SymbolReaperTest.cpp.o [232/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/SValTest.cpp.o [233/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/CommentParser.cpp.o [234/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTExprTest.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/AST/CMakeFiles/ASTTests.dir/CommentLexer.cpp.o [238/441] Building CXX object unittests/ASTMatchers/Dynamic/CMakeFiles/DynamicASTMatchersTests.dir/ParserTest.cpp.o [239/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTContextParentMapTest.cpp.o [240/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/RangeSetTest.cpp.o [241/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterObjCTest.cpp.o [242/441] Building CXX object unittests/ASTMatchers/Dynamic/CMakeFiles/DynamicASTMatchersTests.dir/RegistryTest.cpp.o [243/441] Building CXX object unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/ASTMatchersInternalTest.cpp.o [244/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterFixtures.cpp.o [245/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TransferTest.cpp.o [246/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ExternalASTSourceTest.cpp.o [247/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/UnresolvedSetTest.cpp.o [248/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/SizelessTypesTest.cpp.o [249/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/AttrTest.cpp.o [250/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTTypeTraitsTest.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/AST/CMakeFiles/ASTTests.dir/RandstructTest.cpp.o [254/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/HeaderIncludesTest.cpp.o [255/441] Building CXX object unittests/CrossTU/CMakeFiles/CrossTUTests.dir/CrossTranslationUnitTest.cpp.o [256/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/DeclTest.cpp.o [257/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/RecursiveASTVisitorTest.cpp.o [258/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTTraverserTest.cpp.o [259/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/DiagnosticsYamlTest.cpp.o [260/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/HeaderAnalysisTest.cpp.o [261/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/TemplateNameTest.cpp.o [262/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/StmtPrinterTest.cpp.o [263/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/DeclPrinterTest.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/Tooling/CMakeFiles/ToolingTests.dir/StandardLibraryTest.cpp.o [267/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/DependencyScannerTest.cpp.o [268/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/EvaluateAsRValueTest.cpp.o [269/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterVisibilityTest.cpp.o [270/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/CastExprTest.cpp.o [271/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterGenericRedeclTest.cpp.o [272/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/FixItTest.cpp.o [273/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterODRStrategiesTest.cpp.o [274/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/SourceLocationTest.cpp.o [275/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/CommentHandlerTest.cpp.o [276/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/ExecutionTest.cpp.o [277/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/ASTSelectionTest.cpp.o [278/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/StructuralEquivalenceTest.cpp.o [279/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/LookupTest.cpp.o [280/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/QualTypeNamesTest.cpp.o [281/441] Building CXX object unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/ASTMatchersNodeTest.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/Attr.cpp.o [284/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/Class.cpp.o [285/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/ConstructExpr.cpp.o [286/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CXXBoolLiteralExpr.cpp.o [287/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CXXMemberCall.cpp.o [288/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RangeSelectorTest.cpp.o [289/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CXXOperatorCallExprTraverser.cpp.o [290/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CXXMethodDecl.cpp.o [291/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/DeclRefExpr.cpp.o [292/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/ImplicitCtor.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/RecursiveASTVisitorTests/InitListExprPreOrder.cpp.o [296/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RewriterTest.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/Concept.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/LambdaDefaultCapture.cpp.o [301/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/LambdaExpr.cpp.o [302/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/InitListExprPreOrderNoQueue.cpp.o [303/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/ReplacementsYamlTest.cpp.o [304/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RefactoringActionRulesTest.cpp.o [305/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/LambdaTemplateParams.cpp.o [306/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/NestedNameSpecifiers.cpp.o [307/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/ParenExpr.cpp.o [308/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/BracesInserterTest.cpp.o [309/441] Building CXX object unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/ASTMatchersNarrowingTest.cpp.o [310/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/BracesRemoverTest.cpp.o [311/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/MemberPointerTypeLoc.cpp.o [312/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CallbacksUnaryOperator.cpp.o [313/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/TemplateArgumentLocTraverser.cpp.o [314/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CallbacksBinaryOperator.cpp.o [315/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/TraversalScope.cpp.o [316/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CallbacksCallExpr.cpp.o [317/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CallbacksCompoundAssignOperator.cpp.o [318/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTestPostOrderVisitor.cpp.o [319/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RefactoringCallbacksTest.cpp.o [320/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CallbacksLeaf.cpp.o [321/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/MutationsTest.cpp.o [322/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/DefinitionBlockSeparatorTest.cpp.o [323/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestJava.cpp.o [324/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestCSharp.cpp.o [325/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTestTypeLocVisitor.cpp.o [326/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/SynthesisTest.cpp.o [327/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestJson.cpp.o [328/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestProto.cpp.o [329/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/CleanupTest.cpp.o [330/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestMacroExpansion.cpp.o [331/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/ToolingTest.cpp.o [332/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestTableGen.cpp.o [333/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestJS.cpp.o [334/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestObjC.cpp.o [335/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestTextProto.cpp.o [336/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/TreeTest.cpp.o [337/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestSelective.cpp.o [338/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/IntegerLiteralSeparatorTest.cpp.o [339/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestRawStrings.cpp.o [340/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/SortImportsTestJS.cpp.o [341/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/TreeTestBase.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/Frontend/CMakeFiles/FrontendTests.dir/FixedPointString.cpp.o [346/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/ParsedSourceLocationTest.cpp.o [347/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/SortImportsTestJava.cpp.o [348/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/NamespaceEndCommentsFixerTest.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/FormatTokenSourceTest.cpp.o [351/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/BuildTreeTest.cpp.o [352/441] Building CXX object unittests/Rewrite/CMakeFiles/RewriteTests.dir/RewriteBufferTest.cpp.o [353/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/SortIncludesTest.cpp.o [354/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/MacroExpanderTest.cpp.o [355/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/TextDiagnosticTest.cpp.o [356/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/MacroCallReconstructorTest.cpp.o [357/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestComments.cpp.o [358/441] Building CXX object unittests/CodeGen/CMakeFiles/ClangCodeGenTests.dir/CheckTargetFeaturesTest.cpp.o [359/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/CompilerInstanceTest.cpp.o [360/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTestDeclVisitor.cpp.o [361/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/StencilTest.cpp.o [362/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/TokensTest.cpp.o [363/441] Building CXX object unittests/Rewrite/CMakeFiles/RewriteTests.dir/RewriterTest.cpp.o [364/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/QualifierFixerTest.cpp.o [365/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/ASTUnitTest.cpp.o [366/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/ReparseWorkingDirTest.cpp.o [367/441] Building CXX object unittests/libclang/CrashTests/CMakeFiles/libclangCrashTests.dir/LibclangCrashTest.cpp.o [368/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/UtilsTest.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/OutputStreamTest.cpp.o [371/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/CodeGenActionTest.cpp.o [372/441] Building CXX object unittests/libclang/CMakeFiles/libclangTests.dir/LibclangTest.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/Sema/CMakeFiles/SemaTests.dir/SemaLookupTest.cpp.o [376/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); | ~~~~^~~ [377/441] Building CXX object unittests/Sema/CMakeFiles/SemaTests.dir/ExternalSemaSourceTest.cpp.o [378/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/TransformerTest.cpp.o [379/441] Building CXX object unittests/Introspection/CMakeFiles/IntrospectionTests.dir/IntrospectionTest.cpp.o [380/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/CompilerInvocationTest.cpp.o [381/441] Building CXX object unittests/Sema/CMakeFiles/SemaTests.dir/CodeCompleteTest.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/CodeGen/CMakeFiles/ClangCodeGenTests.dir/CodeGenExternalTest.cpp.o [385/441] Building CXX object unittests/CodeGen/CMakeFiles/ClangCodeGenTests.dir/BufferSourceTest.cpp.o [386/441] Building CXX object unittests/Sema/CMakeFiles/SemaTests.dir/GslOwnerPointerInference.cpp.o [387/441] Building CXX object unittests/Sema/CMakeFiles/SemaTests.dir/SemaNoloadLookupTest.cpp.o [388/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterTest.cpp.o [389/441] Building CXX object unittests/Interpreter/ExceptionTests/CMakeFiles/ClangReplInterpreterExceptionTests.dir/InterpreterExceptionTest.cpp.o [390/441] Building CXX object unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/ASTMatchersTraversalTest.cpp.o [391/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/FrontendActionTest.cpp.o [392/441] Building CXX object unittests/Serialization/CMakeFiles/SerializationTests.dir/ModuleCacheTest.cpp.o [393/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RefactoringTest.cpp.o [394/441] Building CXX object unittests/Index/CMakeFiles/IndexTests.dir/IndexTests.cpp.o [395/441] Building CXX object unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/InterpreterTest.cpp.o [396/441] Building CXX object unittests/Support/CMakeFiles/ClangSupportTests.dir/TimeProfilerTest.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/RenameFunctionTest.cpp.o [399/441] Building CXX object unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameEnumTest.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/RenameClassTest.cpp.o [402/441] Building CXX object unittests/Serialization/CMakeFiles/SerializationTests.dir/VarDeclConstantInitTest.cpp.o [403/441] Building CXX object unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameMemberTest.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 In file included from /usr/include/llvm-gtest/gtest/gtest-printers.h:114, from /usr/include/llvm-gtest/gtest/gtest-matchers.h:47, from /usr/include/llvm-gtest/gtest/internal/gtest-death-test-internal.h:43, from /usr/include/llvm-gtest/gtest/gtest-death-test.h:45, from /usr/include/llvm-gtest/gtest/gtest.h:61, from /builddir/build/BUILD/clang-17.0.6.src/unittests/Format/ConfigParseTest.cpp:12: /builddir/build/BUILD/clang-17.0.6.src/unittests/Format/ConfigParseTest.cpp: In member function 'clang::format::(anonymous namespace)::ConfigParseTest_ParsesConfiguration_Test::TestBody()': /builddir/build/BUILD/clang-17.0.6.src/unittests/Format/ConfigParseTest.cpp:233:6: note: variable tracking size limit exceeded with '-fvar-tracking-assignments', retrying without 233 | TEST(ConfigParseTest, ParsesConfiguration) { | ^~~~~~~~~~~~~~~ [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; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobalTemp.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [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/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [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 /builddir/build/BUILD/clang-17.0.6.src/unittests/Format/ConfigParseTest.cpp: In member function 'TestBody': /builddir/build/BUILD/clang-17.0.6.src/unittests/Format/ConfigParseTest.cpp:233:1: note: variable tracking size limit exceeded with '-fvar-tracking-assignments', retrying without 233 | TEST(ConfigParseTest, ParsesConfiguration) { | ^ [428/441] Linking CXX executable unittests/Frontend/FrontendTests [429/441] Linking CXX executable unittests/Rewrite/RewriteTests [430/441] Linking CXX executable unittests/Sema/SemaTests [431/441] Linking CXX executable unittests/CodeGen/ClangCodeGenTests [432/441] Linking CXX executable unittests/Interpreter/ClangReplInterpreterTests /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:0, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:0, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:0: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:0, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:0, inlined from 'InitGlobalTemp.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:0: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp: In member function 'setDecompositionBindings': /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp:317:63: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 317 | new DecompositionDeclarator::Binding[Bindings.size()]; | ^ /usr/include/c++/12/new:128: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp: In function 'getFunction': /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp:286:69: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 286 | I.Fun.DeclsInPrototype = new NamedDecl *[DeclsInPrototype.size()]; | ^ /usr/include/c++/12/new:128: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32, inlined from 'emitInitGlobalFloat' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10663:30, inlined from 'emitInitGlobalFloat' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10660:0: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalFloat': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | [433/441] Linking CXX executable unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:16, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:14, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:0, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:0, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:0: /usr/include/c++/12/bits/unique_ptr.h:670: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:16, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:14, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:0, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:0, inlined from 'InitGlobalTemp.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:0: /usr/include/c++/12/bits/unique_ptr.h:670: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp: In function 'getFunction.isra': /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp:286: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 286 | I.Fun.DeclsInPrototype = new NamedDecl *[DeclsInPrototype.size()]; | /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from '__dt_base ' at /usr/include/llvm/ADT/APSInt.h:23:0, inlined from 'checkOMPArraySectionConstantForReduction' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19108:0, inlined from 'actOnOMPReductionKindClause.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:0: /usr/include/llvm/ADT/APInt.h:170:18: warning: 'operator delete []' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | ^ In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from '__dt_base ' at /usr/include/llvm/ADT/APSInt.h:23:0, inlined from 'checkOMPArraySectionConstantForReduction' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19127:0, inlined from 'actOnOMPReductionKindClause.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:0: /usr/include/llvm/ADT/APInt.h:170:18: warning: 'operator delete []' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:0, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:0, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:0, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:0, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:0, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:0, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:0, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:0, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:0, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:0, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ [434/441] Linking CXX executable unittests/libclang/libclangTests [435/441] Linking CXX executable unittests/libclang/CrashTests/libclangCrashTests [436/441] Linking CXX executable unittests/DirectoryWatcher/DirectoryWatcherTests [437/441] Linking CXX executable unittests/Rename/ClangRenameTests [438/441] Linking CXX executable unittests/Index/IndexTests [439/441] Linking CXX executable unittests/Serialization/SerializationTests [440/441] Linking CXX executable unittests/Support/ClangSupportTests [440/441] Running all regression tests lit: /usr/lib/python3.11/site-packages/lit/llvm/config.py:459: note: using clang: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang lit: /usr/lib/python3.11/site-packages/lit/llvm/config.py:459: note: using clang: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang lit: /usr/lib/python3.11/site-packages/lit/llvm/config.py:459: note: using clang: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -- Testing: 19719 tests, 32 workers -- Testing: FAIL: Clang :: Analysis/NewDeleteLeaks-PR18394.cpp (393 of 19719) ******************** TEST 'Clang :: Analysis/NewDeleteLeaks-PR18394.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-config graph-trim-interval=1 -analyzer-max-loop 1 -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks-PR18394.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-config graph-trim-interval=1 -analyzer-max-loop 1 -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks-PR18394.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling error() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks-PR18394.cpp:14:10: Error evaluating New Allocator Call #0 0x0000ffffa174ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa1749180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa174b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffaa70d7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa9a00e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa9a00e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa9a00e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa9a00e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa9a00e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa9a00e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa9a00e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa9a00e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa96ae018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa96ae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa96ae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa96ae018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa96aeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa96aeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa96aeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa96aeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa96c1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa96c1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa96c1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa96c2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa96c2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa96c2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa96c24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa96c24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa96c24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa96ceb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa96ceb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa96ceb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa96d8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa96d8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa96d8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa963c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa963c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa963c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa963c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa963cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa963cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa963cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa9666f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffa9666f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffa9666f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffa9666f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffa9666f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffa966735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffa966735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffa966735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffa966735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffa966735c 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 0x0000ffffa966a5dc clang::ento::ExprEngine::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 0x0000ffffa966a6c0 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 0x0000ffffa966a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffa966ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffa966ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffa966ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffa966ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffa966ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffffa99352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffa99352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffa99352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffa99352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffa99352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffa9936278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffffa9936278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffa9936278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffa993a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffa993a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffa993a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffa993a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffa993a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffa7d91b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffffa7d91b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffa7d91b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffffa7d91b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffa9455600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffa940d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffa940d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffa940d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffa94936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaae84c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaae84c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaae84caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaae84c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffffa099098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffffa0990a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaae84c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDeleteLeaks-PR18394.cpp.script: line 1: 35769 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-config graph-trim-interval=1 -analyzer-max-loop 1 -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks-PR18394.cpp -- ******************** Testing: FAIL: Clang :: Analysis/DeallocMissingRelease.m (394 of 19719) ******************** TEST 'Clang :: Analysis/DeallocMissingRelease.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -triple x86_64-apple-ios4.0 -DMACOS=0 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeallocMissingRelease.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -triple x86_64-apple-macosx10.6.0 -DMACOS=1 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeallocMissingRelease.m : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -triple x86_64-apple-darwin10 -fobjc-arc -fobjc-runtime-has-weak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeallocMissingRelease.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -triple x86_64-apple-ios4.0 -DMACOS=0 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeallocMissingRelease.m 1. parser at end of file #0 0x0000ffffaa86ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffaa869180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffaa86b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb38267e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb2b20e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb2b20e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb2b20e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb2b20e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb2b20e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb2b20e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb2b20e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb2b20e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb27ce018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb27ce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb27ce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb27ce018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb27ceef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb27ceef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb27ceef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb27ceef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb27e1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb27e1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb27e1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb27e2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb27e2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb27e2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb27e24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb27e24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb27e24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb27eeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb27eeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb27eeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb27f8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb27f8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb27f8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb275c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb275c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb275c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb275c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb275cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb275cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb275cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb2730400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb2730400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb2730400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb276cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb276cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb276cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffb278ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb278ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb278ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb2a552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb2a552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb2a552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb2a552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb2a552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb2a56278 llvm::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 0x0000ffffb2a56278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb2a56278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb2a5a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb2a5a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb2a5a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb2a5a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb2a5a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb0eb1b88 __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 0x0000ffffb0eb1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb0eb1b88 void clang::finalize>, 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 0x0000ffffb0eb1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb2575600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb252d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb252d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb252d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb25b36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaab93359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaab93394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaab933aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaab9331fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa9ab098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa9ab0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaab93320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/DeallocMissingRelease.m.script: line 3: 35687 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -triple x86_64-apple-ios4.0 -DMACOS=0 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeallocMissingRelease.m -- ******************** Testing: FAIL: Clang :: Analysis/CFRetainRelease_NSAssertionHandler.m (395 of 19719) ******************** TEST 'Clang :: Analysis/CFRetainRelease_NSAssertionHandler.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFRetainRelease_NSAssertionHandler.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFRetainRelease_NSAssertionHandler.m 1. parser at end of file 2. While analyzing stack: #0 Calling pointerFunction 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFRetainRelease_NSAssertionHandler.m:70:15: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFRetainRelease_NSAssertionHandler.m:70:15: Error evaluating statement #0 0x0000ffffa700ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa7009180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa700b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffaffc77e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffaf2c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaf2c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaf2c0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaf2c0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaf2c0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaf2c0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaf2c0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaf2c0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaef6e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaef6e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaef6e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaef6e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaef6eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaef6eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaef6eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaef6eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaef81aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaef81aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaef81aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffaef82ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaef82ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaef82ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffaef824c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaef824c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaef824c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaef8eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaef8eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaef8eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaef98484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaef98484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaef98484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaeefc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaeefc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaeefc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaeefc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffaf3eb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaf3eb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaf3eb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffaef0fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffaef0fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffaef0fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffaef2a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffaef2a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffaef2a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffaef2a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffaef2a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffaef2a2b8 clang::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 0x0000ffffaef2a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffaef2a7cc clang::ento::CoreEngine::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 0x0000ffffaef2ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffaef2ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffaef2ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffaef2ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffaef2ab14 clang::ento::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 0x0000ffffaf1f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffaf1f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffaf1f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffaf1f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffaf1f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffaf1f6278 llvm::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 0x0000ffffaf1f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffaf1f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffaf1fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffaf1fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffaf1fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffaf1fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffaf1fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffad651b88 __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 0x0000ffffad651b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffad651b88 void clang::finalize>, 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 0x0000ffffad651b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffaed15600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffaeccd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffaeccd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffaeccd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffaed536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac7bb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac7bb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac7bbaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac7bb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa625098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa6250a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac7bb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/CFRetainRelease_NSAssertionHandler.m.script: line 1: 35626 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFRetainRelease_NSAssertionHandler.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/NSString.m (396 of 19719) ******************** TEST 'Clang :: Analysis/NSString.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSString.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount,alpha.core -analyzer-config mode=shallow -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSString.m : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DTEST_64 -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSString.m : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DOSATOMIC_USE_INLINED -triple i386-apple-darwin10 -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSString.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSString.m 1. parser at end of file #0 0x0000ffff9a4bad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9a4b9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9a4bb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa347e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa2770e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa2770e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa2770e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa2770e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa2770e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa2770e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa2770e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa2770e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa241e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa241e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa241e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa241e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa241eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa241eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa241eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa241eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa2431aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa2431aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa2431aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa2432ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa2432ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa2432ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa24324c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa24324c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa24324c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa243eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa243eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa243eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa2448484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa2448484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa2448484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa23ac9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa23ac9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa23ac9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa23ac9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa23acec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa23acec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa23acec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa2380400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa2380400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa2380400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa23bcea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa23bcea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa23bcea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa23dae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa23dae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa23dae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa26a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa26a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa26a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa26a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa26a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa26a6278 llvm::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 0x0000ffffa26a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa26a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa26aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa26aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa26aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa26aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa26aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa0b01b88 __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 0x0000ffffa0b01b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa0b01b88 void clang::finalize>, 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 0x0000ffffa0b01b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa21c5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa217d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa217d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa217d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa22036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaabd9959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaabd9994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaabd99aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaabd991fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9970098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff99700a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaabd9920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NSString.m.script: line 4: 35729 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSString.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete-intersections.mm (397 of 19719) ******************** TEST 'Clang :: Analysis/NewDelete-intersections.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-intersections.mm -verify=newdelete -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -DLEAKS -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-intersections.mm -verify=leak -analyzer-checker=core -analyzer-checker=cplusplus.NewDeleteLeaks : 'RUN: at line 13'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -DLEAKS -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-intersections.mm -verify=mismatch -analyzer-checker=core -analyzer-checker=unix.MismatchedDeallocator -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-intersections.mm -verify=newdelete -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete 1. parser at end of file 2. While analyzing stack: #0 Calling testStandardPlacementNewAfterDelete() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-intersections.mm:85:12: Error evaluating New Allocator Call #0 0x0000ffff92e7ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff92e79180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff92e7b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9be377e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9b130e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9b130e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9b130e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9b130e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9b130e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9b130e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9b130e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9b130e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9adde018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9adde018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9adde018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9adde018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9addeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9addeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9addeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9addeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9adf1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9adf1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9adf1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9adf2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9adf2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9adf2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9adf24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9adf24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9adf24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9adfeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9adfeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9adfeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9ae08484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9ae08484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9ae08484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9ad6c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9ad6c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9ad6c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9ad6c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9ad6cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9ad6cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9ad6cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9ad96f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff9ad96f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff9ad96f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff9ad96f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff9ad96f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff9ad9735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff9ad9735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff9ad9735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff9ad9735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff9ad9735c 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 0x0000ffff9ad9a5dc clang::ento::ExprEngine::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 0x0000ffff9ad9a6c0 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 0x0000ffff9ad9a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffff9ad9ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffff9ad9ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffff9ad9ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffff9ad9ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffff9ad9ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffff9b0652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffff9b0652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffff9b0652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffff9b0652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffff9b0652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffff9b066278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffff9b066278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffff9b066278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffff9b06a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffff9b06a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffff9b06a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffff9b06a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffff9b06a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff994c1b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffff994c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff994c1b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffff994c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffff9ab85600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffff9ab3d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffff9ab3d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffff9ab3d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffff9abc36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaac31559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaac31594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaac315aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaac3151fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff920c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff920c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaac31520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-intersections.mm.script: line 3: 35748 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-intersections.mm -verify=newdelete -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete-custom.cpp (398 of 19719) ******************** TEST 'Clang :: Analysis/NewDelete-custom.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,unix.Malloc -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-custom.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,unix.Malloc -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-custom.cpp -analyzer-config c++-allocator-inlining=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,unix.Malloc -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-custom.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testNewExprPlacement() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-custom.cpp:61:12: Error evaluating New Allocator Call #0 0x0000ffff92bfad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff92bf9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff92bfb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9bbbc7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9aeb0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9aeb0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9aeb0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9aeb0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9aeb0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9aeb0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9aeb0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9aeb0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9ab5e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9ab5e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9ab5e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9ab5e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9ab5eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9ab5eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9ab5eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9ab5eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9ab71aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9ab71aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9ab71aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9ab72ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9ab72ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9ab72ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9ab724c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9ab724c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9ab724c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9ab7eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9ab7eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9ab7eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9ab88484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9ab88484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9ab88484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9aaec9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9aaec9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9aaec9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9aaec9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9aaecec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9aaecec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9aaecec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9ab16f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff9ab16f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff9ab16f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff9ab16f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff9ab16f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff9ab1735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff9ab1735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff9ab1735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff9ab1735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff9ab1735c 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 0x0000ffff9ab1a5dc clang::ento::ExprEngine::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 0x0000ffff9ab1a7cc clang::ento::CoreEngine::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 0x0000ffff9ab1ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff9ab1ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff9ab1ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff9ab1ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff9ab1ab14 clang::ento::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 0x0000ffff9ade52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff9ade52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff9ade52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff9ade52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff9ade52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff9ade6278 llvm::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 0x0000ffff9ade6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff9ade6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff9adea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff9adea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff9adea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff9adea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff9adea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff99241b88 __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 0x0000ffff99241b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff99241b88 void clang::finalize>, 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 0x0000ffff99241b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff9a905600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff9a8bd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff9a8bd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff9a8bd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff9a9436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaac53359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaac53394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaac533aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaac5331fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff91e4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff91e40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaac53320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-custom.cpp.script: line 2: 35747 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,unix.Malloc -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-custom.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/DeallocUseAfterFreeErrors.m (399 of 19719) ******************** TEST 'Clang :: Analysis/DeallocUseAfterFreeErrors.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.SuperDealloc,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeallocUseAfterFreeErrors.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.SuperDealloc,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeallocUseAfterFreeErrors.m 1. parser at end of file #0 0x0000ffff76adad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff76ad9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff76adb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff7fa957e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff7ed90e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7ed90e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7ed90e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7ed90e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff7ed90e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff7ed90e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff7ed90e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff7ed90e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff7ea3e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff7ea3e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff7ea3e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff7ea3e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff7ea3eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff7ea3eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff7ea3eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff7ea3eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff7ea51aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff7ea51aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff7ea51aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff7ea52ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff7ea52ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff7ea52ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff7ea524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7ea524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7ea524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff7ea5eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff7ea5eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff7ea5eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff7ea68484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff7ea68484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff7ea68484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff7e9cc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff7e9cc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff7e9cc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff7e9cc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff7e9ccec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff7e9ccec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff7e9ccec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff7e9a0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff7e9a0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff7e9a0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff7e9dcea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff7e9dcea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff7e9dcea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff7e9fae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff7e9fae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff7e9fae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff7ecc52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff7ecc52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff7ecc52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff7ecc52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff7ecc52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff7ecc6278 llvm::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 0x0000ffff7ecc6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff7ecc6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff7ecca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff7ecca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff7ecca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff7ecca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff7ecca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff7d121b88 __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 0x0000ffff7d121b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff7d121b88 void clang::finalize>, 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 0x0000ffff7d121b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff7e7e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff7e79d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff7e79d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff7e79d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff7e8236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaabe8659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaabe8694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaabe86aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaabe861fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff75d2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff75d20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaabe8620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/DeallocUseAfterFreeErrors.m.script: line 1: 35693 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.SuperDealloc,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeallocUseAfterFreeErrors.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/MissingDealloc.m (400 of 19719) ******************** TEST 'Clang :: Analysis/MissingDealloc.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MissingDealloc.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -verify -triple x86_64-apple-darwin10 -fobjc-arc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MissingDealloc.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MissingDealloc.m 1. parser at end of file #0 0x0000ffffa801ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa8019180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa801b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb0fda7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb02d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb02d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb02d0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb02d0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb02d0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb02d0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb02d0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb02d0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaff7e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaff7e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaff7e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaff7e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaff7eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaff7eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaff7eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaff7eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaff91aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaff91aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaff91aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffaff92ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaff92ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaff92ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffaff924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaff924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaff924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaff9eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaff9eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaff9eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaffa8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaffa8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaffa8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaff0c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaff0c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaff0c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaff0c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffaff0cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaff0cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaff0cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffafee0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffafee0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffafee0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffaff1cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffaff1cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffaff1cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffaff3ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffaff3ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffaff3ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb02052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb02052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb02052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb02052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb02052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb0206278 llvm::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 0x0000ffffb0206278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb0206278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb020a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb020a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb020a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb020a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb020a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffae661b88 __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 0x0000ffffae661b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffae661b88 void clang::finalize>, 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 0x0000ffffae661b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffafd25600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffafcdd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffafcdd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffafcdd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffafd636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaace1959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaace1994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaace19aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaace191fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa726098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa7260a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaace1920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/MissingDealloc.m.script: line 2: 35720 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MissingDealloc.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp (401 of 19719) ******************** TEST 'Clang :: Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,unix.MismatchedDeallocator,cplusplus.NewDelete -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,unix.MismatchedDeallocator,cplusplus.NewDelete,cplusplus.NewDeleteLeaks -DLEAKS -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,unix.MismatchedDeallocator,cplusplus.NewDelete -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling allocIntArray(unsigned int) at line 104 #1 Calling testMismatchedChangePointeeThroughAssignment() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp:101:10: Error evaluating New Allocator Call #0 0x0000ffffaddead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffadde9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffaddeb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb6da67e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb60a0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb60a0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb60a0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb60a0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb60a0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb60a0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb60a0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb60a0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb5d4e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb5d4e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb5d4e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb5d4e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb5d4eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb5d4eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb5d4eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb5d4eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb5d61aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb5d61aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb5d61aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb5d62ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb5d62ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb5d62ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb5d624c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb5d624c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb5d624c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb5d6eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb5d6eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb5d6eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb5d78484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb5d78484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb5d78484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb5cdc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb5cdc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb5cdc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb5cdc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb5cdcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb5cdcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb5cdcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb5d06f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffb5d06f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffb5d06f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb5d06f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffb5d06f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffb5d0735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffb5d0735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffb5d0735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffb5d0735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffb5d0735c 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 0x0000ffffb5d0a5dc clang::ento::ExprEngine::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 0x0000ffffb5d0a7cc clang::ento::CoreEngine::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 0x0000ffffb5d0ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffffb5d0ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffffb5d0ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffffb5d0ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffffb5d0ab14 clang::ento::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 0x0000ffffb5fd52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffffb5fd52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffffb5fd52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffffb5fd52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffffb5fd52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffffb5fd6278 llvm::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 0x0000ffffb5fd6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffffb5fd6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffffb5fda900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffb5fda900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffb5fda900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffffb5fda900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffffb5fda900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffffb4431b88 __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 0x0000ffffb4431b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffffb4431b88 void clang::finalize>, 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 0x0000ffffb4431b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffffb5af5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffffb5aad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffffb5aad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffffb5aad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffffb5b336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaac5c159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaac5c194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaac5c1aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaac5c11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffffad03098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffffad030a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaac5c120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/Malloc+MismatchedDeallocator+NewDelete.cpp.script: line 2: 35735 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,unix.MismatchedDeallocator,cplusplus.NewDelete -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/MismatchedDeallocator-path-notes.cpp (402 of 19719) ******************** TEST 'Clang :: Analysis/MismatchedDeallocator-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.MismatchedDeallocator -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-path-notes.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.MismatchedDeallocator -analyzer-output=plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-path-notes.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/MismatchedDeallocator-path-notes.cpp.tmp.plist : 'RUN: at line 3'; tail -n +11 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/MismatchedDeallocator-path-notes.cpp.tmp.plist | grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' | diff -ub /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/Inputs/expected-plists/MismatchedDeallocator-path-notes.cpp.plist - -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.MismatchedDeallocator -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-path-notes.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling allocIntArray(unsigned int) at line 10 #1 Calling test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-path-notes.cpp:7:10: Error evaluating New Allocator Call #0 0x0000ffffa40aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa40a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa40ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffad06a7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffac360e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffac360e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffac360e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffac360e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffac360e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffac360e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffac360e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffac360e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffac00e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffac00e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffac00e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffac00e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffac00eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffac00eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffac00eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffac00eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffac021aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffac021aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffac021aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffac022ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffac022ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffac022ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffac0224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffac0224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffac0224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffac02eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffac02eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffac02eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffac038484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffac038484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffac038484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffabf9c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffabf9c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffabf9c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffabf9c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffabf9cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffabf9cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffabf9cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffabfc6f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffabfc6f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffabfc6f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffabfc6f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffabfc6f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffabfc735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffabfc735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffabfc735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffabfc735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffabfc735c 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 0x0000ffffabfca5dc clang::ento::ExprEngine::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 0x0000ffffabfca7cc clang::ento::CoreEngine::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 0x0000ffffabfcab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffffabfcab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffffabfcab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffffabfcab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffffabfcab14 clang::ento::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 0x0000ffffac2952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffffac2952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffffac2952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffffac2952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffffac2952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffffac296278 llvm::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 0x0000ffffac296278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffffac296278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffffac29a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffac29a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffac29a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffffac29a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffffac29a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffffaa6f1b88 __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 0x0000ffffaa6f1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffffaa6f1b88 void clang::finalize>, 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 0x0000ffffaa6f1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffffabdb5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffffabd6d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffffabd6d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffffabd6d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffffabdf36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaadc9c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaadc9c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaadc9caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaadc9c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffffa32f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffffa32f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaadc9c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/MismatchedDeallocator-path-notes.cpp.script: line 3: 35719 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.MismatchedDeallocator -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-path-notes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/NSPanel.m (403 of 19719) ******************** TEST 'Clang :: Analysis/NSPanel.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSPanel.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSPanel.m 1. parser at end of file #0 0x0000ffffa26bad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa26b9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa26bb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffab67d7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffaa970e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaa970e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaa970e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaa970e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaa970e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaa970e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaa970e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaa970e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaa61e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaa61e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaa61e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaa61e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaa61eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaa61eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaa61eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaa61eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaa631aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaa631aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaa631aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffaa632ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaa632ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaa632ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffaa6324c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaa6324c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaa6324c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaa63eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaa63eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaa63eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaa648484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaa648484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaa648484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaa5ac9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaa5ac9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaa5ac9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaa5ac9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffaa5acec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaa5acec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaa5acec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffaa580400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffaa580400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffaa580400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffaa5bcea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffaa5bcea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffaa5bcea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffaa5dae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffaa5dae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffaa5dae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffaa8a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffaa8a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffaa8a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffaa8a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffaa8a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffaa8a6278 llvm::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 0x0000ffffaa8a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffaa8a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffaa8aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffaa8aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffaa8aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffaa8aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffaa8aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa8d01b88 __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 0x0000ffffa8d01b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa8d01b88 void clang::finalize>, 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 0x0000ffffa8d01b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffaa3c5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffaa37d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffaa37d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffaa37d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffaa4036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae84259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae84294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae842aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae8421fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa190098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa1900a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae84220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NSPanel.m.script: line 1: 35722 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSPanel.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete+MismatchedDeallocator_intersections.cpp (404 of 19719) ******************** TEST 'Clang :: Analysis/NewDelete+MismatchedDeallocator_intersections.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=unix.MismatchedDeallocator : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.NewDeleteLeaks -analyzer-checker=unix.MismatchedDeallocator -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=unix.MismatchedDeallocator 1. parser at end of file 2. While analyzing stack: #0 Calling testMallocFreeNoWarn() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp:26:20: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp:26:20: Error evaluating statement #0 0x0000ffff81b3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff81b39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff81b3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8aaf47e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff89dd76d0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff89dd76d0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff89dd76d0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff89dd76d0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff89dd76d0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff89dd76d0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff89dd76d0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff89dd76d0 (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 0x0000ffff89be5990 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff89be5990 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff89be5990 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 0x0000ffff899f95a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff899f95a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff899f95a8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff899f95a8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff89abebf4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff89abebf4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff89abebf4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff89abebf4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff89ac8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff89ac8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff89ac8484 clang::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 0x0000ffff89a2cae8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff89a2cae8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff89a2cae8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff89a2cae8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff89f1b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff89f1b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff89f1b004 clang::ento::ProgramState::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 0x0000ffff89bf1ba0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff89bf1ba0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff89bf1ba0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff89bf1ba0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff89bf1ba0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff89bf1ba0 (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 0x0000ffff89bf1ff0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff89bf1ff0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff89bf1ff0 (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 0x0000ffff89bfe4d0 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff89bfe4d0 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 0x0000ffff89a167b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff89a167b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff89a167b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff89a167b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff89a167b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff89a76c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff89a76c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff89a76c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff89a76c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff89a76c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff89a76c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff89a774f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff89a59250 clang::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 0x0000ffff89a59250 clang::ento::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 0x0000ffff89a5a2b8 clang::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 0x0000ffff89a5a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff89a5a7cc clang::ento::CoreEngine::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 0x0000ffff89a5ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff89a5ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff89a5ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff89a5ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff89a5ab14 clang::ento::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 0x0000ffff89d252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff89d252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff89d252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff89d252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff89d252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff89d26278 llvm::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 0x0000ffff89d26278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff89d26278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff89d2a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff89d2a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff89d2a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff89d2a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff89d2a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff88181b88 __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 0x0000ffff88181b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff88181b88 void clang::finalize>, 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 0x0000ffff88181b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff89845600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff897fd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff897fd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff897fd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff898836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaaaad459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaaaad494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaaaad4aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaaaad41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff80d8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff80d80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaaaad420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete+MismatchedDeallocator_intersections.cpp.script: line 2: 35736 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=unix.MismatchedDeallocator -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete-checker-test.cpp (406 of 19719) ******************** TEST 'Clang :: Analysis/NewDelete-checker-test.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp -verify=expected,newdelete -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DLEAKS -std=c++11 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp -verify=expected,newdelete,leak -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.NewDeleteLeaks : 'RUN: at line 12'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp -verify=expected,leak -analyzer-checker=core -analyzer-checker=cplusplus.NewDeleteLeaks : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp -verify=expected,newdelete -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete : 'RUN: at line 22'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DLEAKS -std=c++17 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp -verify=expected,newdelete,leak -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.NewDeleteLeaks : 'RUN: at line 28'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp -verify=expected,leak -analyzer-checker=core -analyzer-checker=cplusplus.NewDeleteLeaks -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp -verify=expected,newdelete -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete 1. parser at end of file 2. While analyzing stack: #0 Calling testLeakBecauseNTTPIsNotDeallocation() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp:458:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp:458:13: Error evaluating statement #0 0x0000ffffb4d7ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb4d79180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb4d7b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbdd367e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbd0176d0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbd0176d0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbd0176d0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbd0176d0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbd0176d0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbd0176d0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbd0176d0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbd0176d0 (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 0x0000ffffbce25990 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffbce25990 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffbce25990 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 0x0000ffffbcc395a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffbcc395a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffbcc395a8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffbcc395a8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffbccfebf4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffbccfebf4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffbccfebf4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffbccfebf4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffbcd08484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffbcd08484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffbcd08484 clang::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 0x0000ffffbcc6cae8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbcc6cae8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbcc6cae8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffbcc6cae8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffbd15b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffbd15b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffbd15b004 clang::ento::ProgramState::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 0x0000ffffbce31ba0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffbce31ba0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffbce31ba0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffbce31ba0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffbce31ba0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffbce31ba0 (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 0x0000ffffbce3e6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffbce3e6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffbce3e6c8 checkCXXNewOrCXXDelete /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1361:0 #42 0x0000ffffbce3e6c8 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1484:0 #43 0x0000ffffbce3e6c8 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 0x0000ffffbcc567b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffbcc567b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffbcc567b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffbcc567b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffbcc567b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffbccb6c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffbccb6c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffbccb6c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffbccb6c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffbccb6c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffbccb6c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffbccb74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffbcc99250 clang::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 0x0000ffffbcc99250 clang::ento::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 0x0000ffffbcc9a2b8 clang::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 0x0000ffffbcc9a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbcc9a7cc clang::ento::CoreEngine::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 0x0000ffffbcc9ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffbcc9ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffbcc9ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffbcc9ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffbcc9ab14 clang::ento::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 0x0000ffffbcf652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffbcf652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffbcf652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffbcf652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffbcf652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffbcf66278 llvm::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 0x0000ffffbcf66278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffbcf66278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffbcf6a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffbcf6a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffbcf6a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffbcf6a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffbcf6a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffbb3c1b88 __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 0x0000ffffbb3c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffbb3c1b88 void clang::finalize>, 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 0x0000ffffbb3c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffbca85600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffbca3d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffbca3d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffbca3d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffbcac36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaae4fa59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaae4fa94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaae4faaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaae4fa1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffffb3fc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffffb3fc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaae4fa20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-checker-test.cpp.script: line 6: 35750 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp -verify=expected,newdelete -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -- ******************** Testing: 0 FAIL: Clang :: Analysis/Malloc+MismatchedDeallocator_intersections.cpp (407 of 19719) ******************** TEST 'Clang :: Analysis/Malloc+MismatchedDeallocator_intersections.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,unix.MismatchedDeallocator -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator_intersections.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,unix.MismatchedDeallocator -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator_intersections.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testUseZeroAllocNoWarn() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator_intersections.cpp:31:20: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator_intersections.cpp:31:20: Error evaluating statement #0 0x0000ffff79ffad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff79ff9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff79ffb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff82fb67e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff822976d0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff822976d0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff822976d0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff822976d0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff822976d0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff822976d0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff822976d0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff822976d0 (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 0x0000ffff820a5990 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff820a5990 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff820a5990 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 0x0000ffff81eb95a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff81eb95a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff81eb95a8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff81eb95a8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff81f7ebf4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff81f7ebf4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff81f7ebf4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff81f7ebf4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff81f88484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff81f88484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff81f88484 clang::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 0x0000ffff81eec9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff81eec9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff81eec9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff81eec9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffff823db004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff823db004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff823db004 clang::ento::ProgramState::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 0x0000ffff820b1ba0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff820b1ba0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff820b1ba0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff820b1ba0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff820b1ba0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff820b1ba0 (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 0x0000ffff820be6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff820be6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff820be6c8 checkCXXNewOrCXXDelete /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1361:0 #42 0x0000ffff820be6c8 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1484:0 #43 0x0000ffff820be6c8 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 0x0000ffff81ed67b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff81ed67b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff81ed67b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff81ed67b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff81ed67b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff81f36c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff81f36c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff81f36c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff81f36c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff81f36c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff81f36c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff81f374f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff81f19250 clang::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 0x0000ffff81f19250 clang::ento::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 0x0000ffff81f1a2b8 clang::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 0x0000ffff81f1a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff81f1a7cc clang::ento::CoreEngine::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 0x0000ffff81f1ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff81f1ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff81f1ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff81f1ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff81f1ab14 clang::ento::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 0x0000ffff821e52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff821e52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff821e52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff821e52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff821e52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff821e6278 llvm::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 0x0000ffff821e6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff821e6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff821ea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff821ea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff821ea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff821ea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff821ea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff80641b88 __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 0x0000ffff80641b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff80641b88 void clang::finalize>, 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 0x0000ffff80641b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff81d05600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff81cbd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff81cbd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff81cbd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff81d436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaad47f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaad47f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaad47faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaad47f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff7924098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff79240a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaad47f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/Malloc+MismatchedDeallocator_intersections.cpp.script: line 1: 35731 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,unix.MismatchedDeallocator -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator_intersections.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/CheckNSError.m (408 of 19719) ******************** TEST 'Clang :: Analysis/CheckNSError.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CheckNSError.m -analyzer-checker=core -analyzer-checker=nullability -analyzer-checker=osx.cocoa.NSError -analyzer-checker=osx.coreFoundation.CFError -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CheckNSError.m -analyzer-checker=core -analyzer-checker=nullability -analyzer-checker=osx.cocoa.NSError -analyzer-checker=osx.coreFoundation.CFError 1. parser at end of file #0 0x0000ffffab32ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffab329180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffab32b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb42e07e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb35e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb35e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb35e0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb35e0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb35e0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb35e0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb35e0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb35e0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb328e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb328e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb328e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb328e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb328eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb328eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb328eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb328eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb32a1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb32a1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb32a1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb32a2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb32a2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb32a2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb32a24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb32a24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb32a24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb32aeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb32aeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb32aeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb32b8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb32b8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb32b8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb321c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb321c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb321c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb321c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb321cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb321cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb321cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb33fee10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb33fee10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb33fee10 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb33fee10 checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp:269:0 #46 0x0000ffffb33fee10 void clang::ento::check::BeginFunction::_checkBeginFunction<(anonymous namespace)::NonNullParamChecker>(void*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:244:0 #47 0x0000ffffb3205618 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #48 0x0000ffffb3205618 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #49 0x0000ffffb324add4 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #50 0x0000ffffb324add4 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #51 0x0000ffffb324add4 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #52 0x0000ffffb35152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #53 0x0000ffffb35152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #54 0x0000ffffb35152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #55 0x0000ffffb35152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #56 0x0000ffffb35152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #57 0x0000ffffb3516278 llvm::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 0x0000ffffb3516278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #59 0x0000ffffb3516278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #60 0x0000ffffb351a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffffb351a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffffb351a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #63 0x0000ffffb351a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #64 0x0000ffffb351a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #65 0x0000ffffb1971b88 __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 0x0000ffffb1971b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #67 0x0000ffffb1971b88 void clang::finalize>, 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 0x0000ffffb1971b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #69 0x0000ffffb3035600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #70 0x0000ffffb2fed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #71 0x0000ffffb2fed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #72 0x0000ffffb2fed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #73 0x0000ffffb30736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #74 0x0000aaaae45459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #75 0x0000aaaae45494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #76 0x0000aaaae454aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #77 0x0000aaaae4541fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #78 0x0000ffffaa57098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #79 0x0000ffffaa570a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #80 0x0000aaaae45420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/CheckNSError.m.script: line 1: 35641 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CheckNSError.m -analyzer-checker=core -analyzer-checker=nullability -analyzer-checker=osx.cocoa.NSError -analyzer-checker=osx.coreFoundation.CFError -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete-path-notes.cpp (411 of 19719) ******************** TEST 'Clang :: Analysis/NewDelete-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.NewDelete,unix.Malloc -analyzer-config add-pop-up-notes=false -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-path-notes.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.NewDelete,unix.Malloc -analyzer-config add-pop-up-notes=false -analyzer-output=plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-path-notes.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-path-notes.cpp.tmp.plist : 'RUN: at line 9'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling Odd::kill() at line 30 #1 Calling test(Odd *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-path-notes.cpp:25:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-path-notes.cpp:25:3: Error evaluating statement #0 0x0000ffffa029ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa0299180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa029b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa92597e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa8550e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa8550e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa8550e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa8550e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa8550e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa8550e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa8550e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa8550e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa81fe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa81fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa81fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa81fe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa81feef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa81feef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa81feef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa81feef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa8211aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa8211aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa8211aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa8212ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa8212ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa8212ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa82124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa82124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa82124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa821eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa821eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa821eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa8228484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa8228484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa8228484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa818c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa818c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa818c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa818c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa867b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa867b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa867b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa8356344 (anonymous namespace)::MallocChecker::FreeMemAux(clang::ento::CheckerContext&, clang::Expr const*, clang::ento::CallEvent const&, llvm::IntrusiveRefCntPtr, bool, bool&, (anonymous namespace)::AllocationFamily, bool) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1909:0 #43 0x0000ffffa835dd44 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #44 0x0000ffffa835dd44 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #45 0x0000ffffa835dd44 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:2867:0 #46 0x0000ffffa835dd44 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:0 #47 0x0000ffffa81767b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x0000ffffa81767b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x0000ffffa81767b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #50 0x0000ffffa81767b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #51 0x0000ffffa81767b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #52 0x0000ffffa81b44fc llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x0000ffffa81b44fc llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x0000ffffa81b44fc llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #55 0x0000ffffa81b44fc llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #56 0x0000ffffa81b44fc llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #57 0x0000ffffa81b44fc clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #58 0x0000ffffa81b44fc clang::ento::ExprEngine::VisitCXXDeleteExpr(clang::CXXDeleteExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:1135:0 #59 0x0000ffffa81b97ac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2184:0 #60 0x0000ffffa81ba2b8 clang::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 0x0000ffffa81ba5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa81ba7cc clang::ento::CoreEngine::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 0x0000ffffa81bab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffffa81bab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffffa81bab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #66 0x0000ffffa81bab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #67 0x0000ffffa81bab14 clang::ento::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 0x0000ffffa84852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #69 0x0000ffffa84852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #70 0x0000ffffa84852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #71 0x0000ffffa84852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #72 0x0000ffffa84852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #73 0x0000ffffa8486278 llvm::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 0x0000ffffa8486278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x0000ffffa8486278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #76 0x0000ffffa848a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x0000ffffa848a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x0000ffffa848a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x0000ffffa848a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x0000ffffa848a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x0000ffffa68e1b88 __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 0x0000ffffa68e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x0000ffffa68e1b88 void clang::finalize>, 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 0x0000ffffa68e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x0000ffffa7fa5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #86 0x0000ffffa7f5d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #87 0x0000ffffa7f5d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #88 0x0000ffffa7f5d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #89 0x0000ffffa7fe36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #90 0x0000aaaad46c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x0000aaaad46c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x0000aaaad46caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x0000aaaad46c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x0000ffff9f4e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #95 0x0000ffff9f4e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #96 0x0000aaaad46c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-path-notes.cpp.script: line 3: 35751 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.NewDelete,unix.Malloc -analyzer-config add-pop-up-notes=false -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-path-notes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/DynamicTypePropagation.m (417 of 19719) ******************** TEST 'Clang :: Analysis/DynamicTypePropagation.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.ObjCGenerics -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DynamicTypePropagation.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.ObjCGenerics -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DynamicTypePropagation.m 1. parser at end of file 2. While analyzing stack: #0 Calling testArgument 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DynamicTypePropagation.m:56:3: Error evaluating statement #0 0x0000ffff83f1ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff83f19180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff83f1b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8cede7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8be16124 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8be16124 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8be16124 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8be16124 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8be16124 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8be16124 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 0x0000ffff8be16124 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8be16124 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffff8c1c00f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff8c1c00f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff8c1c00f8 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffff8c1c00f8 (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 0x0000ffff8be0aae4 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 0x0000ffff8be252e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffff8be252e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffff8be252e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffff8be252e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffff8be252e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffff8be252e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffff8be252e8 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 0x0000ffff8be3a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffff8be3a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffff8be3a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffff8be3a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffff8be3a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffff8be3a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffff8be3a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffff8be3a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffff8be3a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #33 0x0000ffff8be3a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8be3a7cc clang::ento::CoreEngine::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 0x0000ffff8be3ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff8be3ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff8be3ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff8be3ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff8be3ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffff8c1052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff8c1052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff8c1052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff8c1052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff8c1052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff8c106278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffff8c106278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff8c106278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff8c10a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff8c10a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff8c10a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff8c10a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff8c10a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff8a561b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffff8a561b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff8a561b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffff8a561b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff8bc25600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff8bbdd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff8bbdd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff8bbdd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff8bc636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaac04659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaac04694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaac046aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaac0461fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff8316098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff83160a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaac04620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/DynamicTypePropagation.m.script: line 1: 35697 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.ObjCGenerics -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DynamicTypePropagation.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/CFNumber.c (418 of 19719) ******************** TEST 'Clang :: Analysis/CFNumber.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFNumber,osx.cocoa.RetainCount -verify -triple x86_64-apple-darwin9 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFNumber.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFNumber,osx.cocoa.RetainCount -verify -triple x86_64-apple-darwin9 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFNumber.c 1. parser at end of file 2. While analyzing stack: #0 Calling f3 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFNumber.c:34:3: Error evaluating statement #0 0x0000ffffa296ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa2969180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa296b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffab9207e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffaaaa8138 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffaaaa8138 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffaaaa8138 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffaaaa8138 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffaaaa8138 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffaaaa8138 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 0x0000ffffaaaa8138 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffaaaa8138 clang::ento::retaincountchecker::RetainCountChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp:1417:47 #12 0x0000ffffaa85aae4 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 0x0000ffffaa8752e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffaa8752e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffaa8752e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffaa8752e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffaa8752e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffaa8752e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffaa8752e8 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 0x0000ffffaa88a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffaa88a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffaa88a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffaa88a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffaa88a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffaa88a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffaa88a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffaa88a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffaa88a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffaa88a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffaa88a7cc clang::ento::CoreEngine::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 0x0000ffffaa88ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffaa88ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffaa88ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffaa88ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffaa88ab14 clang::ento::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 0x0000ffffaab552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffaab552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffaab552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffaab552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffaab552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffaab56278 llvm::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 0x0000ffffaab56278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffaab56278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffaab5a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffaab5a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffaab5a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffaab5a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffaab5a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffa8fb1b88 __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 0x0000ffffa8fb1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffa8fb1b88 void clang::finalize>, 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 0x0000ffffa8fb1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffaa675600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffaa62d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffaa62d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffaa62d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffaa6b36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaad0e159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaad0e194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaad0e1aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaad0e11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffa1bb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffa1bb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaad0e120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/CFNumber.c.script: line 1: 35624 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFNumber,osx.cocoa.RetainCount -verify -triple x86_64-apple-darwin9 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFNumber.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/NSContainers.m (419 of 19719) ******************** TEST 'Clang :: Analysis/NSContainers.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-literal-conversion -Wno-objc-root-class -fobjc-arc -analyzer-checker=core,osx.cocoa,nullability -analyzer-config eagerly-assume=false -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSContainers.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-literal-conversion -Wno-objc-root-class -fobjc-arc -analyzer-checker=core,osx.cocoa,nullability -analyzer-config eagerly-assume=false -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSContainers.m 1. parser at end of file 2. While analyzing stack: #0 Calling testCreateArrayLiteralWithNullableArg 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSContainers.m:355:3: Error evaluating statement #0 0x0000ffff78a0ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff78a09180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff78a0b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff819c67e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff80caec04 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff80caec04 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff80caec04 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff80caec04 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff80caec04 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff80caec04 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff80caec04 get<(anonymous namespace)::NullabilityMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff80caec04 (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 0x0000ffff808faae4 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 0x0000ffff809152e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff809152e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff809152e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff809152e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff809152e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff809152e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff809152e8 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 0x0000ffff8092a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff8092a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff8092a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff8092a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff8092a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff8092a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff8092a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff8092a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff8092a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffff8092a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8092a7cc clang::ento::CoreEngine::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 0x0000ffff8092ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff8092ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff8092ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff8092ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff8092ab14 clang::ento::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 0x0000ffff80bf52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff80bf52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff80bf52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff80bf52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff80bf52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff80bf6278 llvm::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 0x0000ffff80bf6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff80bf6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff80bfa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff80bfa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff80bfa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff80bfa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff80bfa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff7f051b88 __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 0x0000ffff7f051b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff7f051b88 void clang::finalize>, 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 0x0000ffff7f051b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff80715600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff806cd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff806cd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff806cd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff807536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaaba7859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaaba7894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaaba78aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaaba781fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff77c5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff77c50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaaba7820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NSContainers.m.script: line 1: 35732 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-literal-conversion -Wno-objc-root-class -fobjc-arc -analyzer-checker=core,osx.cocoa,nullability -analyzer-config eagerly-assume=false -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSContainers.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/CGColorSpace.c (420 of 19719) ******************** TEST 'Clang :: Analysis/CGColorSpace.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CGColorSpace.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CGColorSpace.c 1. parser at end of file 2. While analyzing stack: #0 Calling fb 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CGColorSpace.c:14:3: Error evaluating statement #0 0x0000ffff97b0ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff97b09180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff97b0b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa0ac07e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9fc48138 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9fc48138 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9fc48138 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9fc48138 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9fc48138 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9fc48138 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 0x0000ffff9fc48138 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9fc48138 clang::ento::retaincountchecker::RetainCountChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp:1417:47 #12 0x0000ffff9f9faae4 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 0x0000ffff9fa152e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff9fa152e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff9fa152e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff9fa152e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff9fa152e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff9fa152e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff9fa152e8 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 0x0000ffff9fa2a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff9fa2a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff9fa2a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff9fa2a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff9fa2a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff9fa2a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff9fa2a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff9fa2a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff9fa2a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffff9fa2a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9fa2a7cc clang::ento::CoreEngine::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 0x0000ffff9fa2ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff9fa2ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff9fa2ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff9fa2ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff9fa2ab14 clang::ento::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 0x0000ffff9fcf52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff9fcf52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff9fcf52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff9fcf52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff9fcf52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff9fcf6278 llvm::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 0x0000ffff9fcf6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff9fcf6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff9fcfa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff9fcfa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff9fcfa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff9fcfa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff9fcfa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff9e151b88 __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 0x0000ffff9e151b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff9e151b88 void clang::finalize>, 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 0x0000ffff9e151b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff9f815600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff9f7cd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff9f7cd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff9f7cd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff9f8536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaac80559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaac80594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaac805aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaac8051fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff96d5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff96d50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaac80520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/CGColorSpace.c.script: line 1: 35630 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CGColorSpace.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/NSWindow.m (421 of 19719) ******************** TEST 'Clang :: Analysis/NSWindow.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core,deadcode.DeadStores -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSWindow.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core,deadcode.DeadStores -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSWindow.m 1. parser at end of file 2. While analyzing stack: #0 Calling f3 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSWindow.m:85:3: Error evaluating statement #0 0x0000ffff8a64ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8a649180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8a64b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff936047e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff92546124 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff92546124 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff92546124 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff92546124 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff92546124 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff92546124 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 0x0000ffff92546124 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff92546124 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffff928f00f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff928f00f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff928f00f8 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffff928f00f8 (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 0x0000ffff9253aae4 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 0x0000ffff925552e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffff925552e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffff925552e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffff925552e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffff925552e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffff925552e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffff925552e8 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 0x0000ffff9256a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffff9256a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffff9256a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffff9256a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffff9256a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffff9256a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffff9256a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffff9256a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffff9256a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #33 0x0000ffff9256a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9256a7cc clang::ento::CoreEngine::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 0x0000ffff9256ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff9256ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff9256ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff9256ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff9256ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffff928352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff928352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff928352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff928352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff928352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff92836278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffff92836278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff92836278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff9283a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff9283a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff9283a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff9283a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff9283a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff90c91b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffff90c91b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff90c91b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffff90c91b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff92355600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff9230d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff9230d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff9230d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff923936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaac79059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaac79094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaac790aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaac7901fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff8989098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff89890a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaac79020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NSWindow.m.script: line 1: 35730 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core,deadcode.DeadStores -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSWindow.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m (422 of 19719) ******************** TEST 'Clang :: Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -triple x86_64-darwin -analyzer-checker=core,osx.cocoa.RunLoopAutoreleaseLeak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DEXTRA=1 -DAP1=1 -fobjc-arc -triple x86_64-darwin -analyzer-checker=core,osx.cocoa.RunLoopAutoreleaseLeak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DEXTRA=1 -DAP2=1 -fobjc-arc -triple x86_64-darwin -analyzer-checker=core,osx.cocoa.RunLoopAutoreleaseLeak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DEXTRA=1 -DAP3=1 -fobjc-arc -triple x86_64-darwin -analyzer-checker=core,osx.cocoa.RunLoopAutoreleaseLeak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DEXTRA=1 -DAP4=1 -fobjc-arc -triple x86_64-darwin -analyzer-checker=core,osx.cocoa.RunLoopAutoreleaseLeak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DEXTRA=1 -DAP5=1 -fobjc-arc -triple x86_64-darwin -analyzer-checker=core,osx.cocoa.RunLoopAutoreleaseLeak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -triple x86_64-darwin -analyzer-checker=core,osx.cocoa.RunLoopAutoreleaseLeak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m 1. parser at end of file 2. While analyzing stack: #0 Calling runloop_init_after 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m:75:5: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m:75:5: Error evaluating statement #0 0x0000ffffa0b8ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa0b89180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa0b8b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa9b417e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa8e40e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa8e40e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa8e40e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa8e40e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa8e40e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa8e40e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa8e40e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa8e40e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa8aee018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa8aee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa8aee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa8aee018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa8aeeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa8aeeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa8aeeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa8aeeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa8b01aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa8b01aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa8b01aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa8b02ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa8b02ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa8b02ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa8b024c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa8b024c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa8b024c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa8b0eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa8b0eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa8b0eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa8b18484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa8b18484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa8b18484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa8a7c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa8a7c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa8a7c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa8a7c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa8f6b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa8f6b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa8f6b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa8adeafc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffa8adeafc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffa8adeafc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffa8adeafc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffa8adeafc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffa8adeafc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffffa8aa8de8 clang::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 0x0000ffffa8aa8de8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffffa8aaa2b8 clang::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 0x0000ffffa8aaa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa8aaa7cc clang::ento::CoreEngine::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 0x0000ffffa8aaab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa8aaab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa8aaab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa8aaab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa8aaab14 clang::ento::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 0x0000ffffa8d752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa8d752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa8d752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa8d752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa8d752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa8d76278 llvm::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 0x0000ffffa8d76278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa8d76278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa8d7a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa8d7a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa8d7a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa8d7a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa8d7a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa71d1b88 __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 0x0000ffffa71d1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa71d1b88 void clang::finalize>, 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 0x0000ffffa71d1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa8895600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa884d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa884d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa884d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa88d36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaaf5a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaaf5a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaaf5aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaaf5a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9fdd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9fdd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaaf5a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Checkers/Output/RunLoopAutoreleaseLeakChecker.m.script: line 6: 35657 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -triple x86_64-darwin -analyzer-checker=core,osx.cocoa.RunLoopAutoreleaseLeak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/Issue56873.cpp (423 of 19719) ******************** TEST 'Clang :: Analysis/Issue56873.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Issue56873.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Issue56873.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling Issue56873_2() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Issue56873.cpp:21:16: Error evaluating New Allocator Call #0 0x0000ffffa47aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa47a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa47ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffad7657e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffaca60e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaca60e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaca60e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaca60e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaca60e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaca60e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaca60e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaca60e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffac70e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffac70e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffac70e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffac70e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffac70eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffac70eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffac70eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffac70eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffac721aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffac721aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffac721aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffac722ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffac722ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffac722ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffac7224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffac7224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffac7224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffac72eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffac72eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffac72eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffac738484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffac738484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffac738484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffac69c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffac69c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffac69c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffac69c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffac69cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffac69cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffac69cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffac6c6f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffac6c6f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffac6c6f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffac6c6f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffac6c6f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffac6c735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffac6c735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffac6c735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffac6c735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffac6c735c 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 0x0000ffffac6ca5dc clang::ento::ExprEngine::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 0x0000ffffac6ca7cc clang::ento::CoreEngine::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 0x0000ffffac6cab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffffac6cab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffffac6cab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffffac6cab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffffac6cab14 clang::ento::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 0x0000ffffac9952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffffac9952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffffac9952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffffac9952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffffac9952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffffac996278 llvm::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 0x0000ffffac996278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffffac996278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffffac99a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffac99a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffac99a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffffac99a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffffac99a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffffaadf1b88 __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 0x0000ffffaadf1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffffaadf1b88 void clang::finalize>, 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 0x0000ffffaadf1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffffac4b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffffac46d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffffac46d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffffac46d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffffac4f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaad2c159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaad2c194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaad2c1aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaad2c11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffffa39f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffffa39f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaad2c120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/Issue56873.cpp.script: line 1: 35710 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Issue56873.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/CFContainers.mm (424 of 19719) ******************** TEST 'Clang :: Analysis/CFContainers.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin -analyzer-output=text -analyzer-checker=osx.coreFoundation.containers.PointerSizedValues -analyzer-checker=osx.coreFoundation.containers.OutOfBounds -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFContainers.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin -analyzer-output=text -analyzer-checker=osx.coreFoundation.containers.PointerSizedValues -analyzer-checker=osx.coreFoundation.containers.OutOfBounds -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFContainers.mm 1. parser at end of file 2. While analyzing stack: #0 Calling TestCFMutableArrayRefEscapeViaImmutableArgument(CFMutableArrayRef) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFContainers.mm:241:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFContainers.mm:241:3: Error evaluating statement #0 0x0000ffff8232ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff82329180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8232b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8b2e37e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8a5c4e10 llvm::ImutKeyValueInfo::isEqual(clang::ento::SymExpr const* const&, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableMap.h:45:0 #5 0x0000ffff8a5c4e10 llvm::ImutAVLFactory>::remove_internal(clang::ento::SymExpr const* const&, llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:558:0 #6 0x0000ffff8a5c4e10 llvm::ImutAVLFactory>::remove(llvm::ImutAVLTree>*, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableSet.h:403:0 #7 0x0000ffff8a5c4e10 llvm::ImmutableMap>::Factory::remove(llvm::ImmutableMap>, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableMap.h:105:0 #8 0x0000ffff8a5c4e10 clang::ento::ProgramStatePartialTrait>, void>::Remove(llvm::ImmutableMap>, clang::ento::SymExpr const*, llvm::ImmutableMap>::Factory&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:175:0 #9 0x0000ffff8a5c4e10 remove<(anonymous namespace)::ArraySizeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:669:0 #10 0x0000ffff8a5c4e10 remove<(anonymous namespace)::ArraySizeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:854:0 #11 0x0000ffff8a5c4e10 (anonymous namespace)::ObjCContainersChecker::checkPointerEscape(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp:167:0 #12 0x0000ffff8a41b0fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff8a41b0fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff8a41b0fc llvm::IntrusiveRefCntPtr clang::ento::check::PointerEscape::_checkPointerEscape<(anonymous namespace)::ObjCContainersChecker>(void*, llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:386:0 #15 0x0000ffff8a1e9454 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff8a1e9454 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff8a1e9454 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff8a1e9454 clang::ento::CheckerManager::runCheckersForPointerEscape(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:630:0 #19 0x0000ffff8a230c7c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #20 0x0000ffff8a230c7c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #21 0x0000ffff8a230c7c clang::ento::ExprEngine::notifyCheckersOfPointerEscape(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, clang::ento::CallEvent const*, clang::ento::RegionAndSymbolInvalidationTraits&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3553:79 #22 0x0000ffff8a27a7d4 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #23 0x0000ffff8a27a7d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffff8a27a7d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff8a27a7d4 clang::ento::ProgramState::invalidateRegionsImpl(llvm::ArrayRef, clang::Expr const*, unsigned int, clang::LocationContext const*, bool, llvm::DenseSet>*, clang::ento::RegionAndSymbolInvalidationTraits*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:208:0 #26 0x0000ffff8a1fd9f4 std::_Rb_tree, std::less, std::allocator>::~_Rb_tree() /usr/include/c++/12/bits/stl_tree.h:986:0 #27 0x0000ffff8a1fd9f4 std::set, std::allocator>::~set() /usr/include/c++/12/bits/stl_set.h:281:0 #28 0x0000ffff8a1fd9f4 llvm::SmallSet>::~SmallSet() /usr/include/llvm/ADT/SmallSet.h:135:0 #29 0x0000ffff8a1fd9f4 clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:286:0 #30 0x0000ffff8a27dc70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #31 0x0000ffff8a27dc70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x0000ffff8a27dc70 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:833:0 #33 0x0000ffff8a27e684 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x0000ffff8a27e684 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x0000ffff8a27e684 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #36 0x0000ffff8a207268 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #37 0x0000ffff8a266bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #38 0x0000ffff8a266bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #39 0x0000ffff8a266bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #40 0x0000ffff8a266bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #41 0x0000ffff8a2674f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #42 0x0000ffff8a249250 clang::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 0x0000ffff8a249250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #44 0x0000ffff8a24a2b8 clang::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 0x0000ffff8a24a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8a24a7cc clang::ento::CoreEngine::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 0x0000ffff8a24ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #48 0x0000ffff8a24ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #49 0x0000ffff8a24ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #50 0x0000ffff8a24ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #51 0x0000ffff8a24ab14 clang::ento::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 0x0000ffff8a5152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #53 0x0000ffff8a5152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #54 0x0000ffff8a5152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #55 0x0000ffff8a5152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #56 0x0000ffff8a5152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #57 0x0000ffff8a516278 llvm::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 0x0000ffff8a516278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #59 0x0000ffff8a516278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #60 0x0000ffff8a51a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffff8a51a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffff8a51a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #63 0x0000ffff8a51a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #64 0x0000ffff8a51a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #65 0x0000ffff88971b88 __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 0x0000ffff88971b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #67 0x0000ffff88971b88 void clang::finalize>, 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 0x0000ffff88971b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #69 0x0000ffff8a035600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #70 0x0000ffff89fed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #71 0x0000ffff89fed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #72 0x0000ffff89fed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #73 0x0000ffff8a0736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #74 0x0000aaaac03559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #75 0x0000aaaac03594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #76 0x0000aaaac035aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #77 0x0000aaaac0351fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #78 0x0000ffff8157098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #79 0x0000ffff81570a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #80 0x0000aaaac03520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/CFContainers.mm.script: line 1: 35623 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin -analyzer-output=text -analyzer-checker=osx.coreFoundation.containers.PointerSizedValues -analyzer-checker=osx.coreFoundation.containers.OutOfBounds -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFContainers.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/MemRegion.cpp (425 of 19719) ******************** TEST 'Clang :: Analysis/MemRegion.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MemRegion.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MemRegion.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testGetDescriptiveName5()::(anonymous struct)::ReqStruct() at line 44 #1 Calling testGetDescriptiveName5() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MemRegion.cpp:43:11: Error evaluating statement #0 0x0000ffff9df4ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9df49180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9df4b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa6f007e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa5e550b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa5e550b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa5e550b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa5e550b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa5e550b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa5e550b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa5e550b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa5e550b8 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 0x0000ffffa5e6a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffa5e6a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffa5e6a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffa5e6a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffa5e6a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffa5e6a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffa5e6a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffa5e6a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffa5e6a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffa5e6a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa5e6a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffa5e6a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffa5e6ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffa5e6ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffa5e6ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffa5e6ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffa5e6ab14 clang::ento::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 0x0000ffffa61352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffa61352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffa61352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffa61352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffa61352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffa6136278 llvm::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 0x0000ffffa6136278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffa6136278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffa613a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffa613a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffa613a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffa613a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffa613a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffa4591b88 __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 0x0000ffffa4591b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffa4591b88 void clang::finalize>, 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 0x0000ffffa4591b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffa5c55600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffa5c0d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffa5c0d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffa5c0d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffa5c936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaad04259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaad04294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaad042aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaad0421fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff9d19098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff9d190a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaad04220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/MemRegion.cpp.script: line 1: 35738 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MemRegion.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/DeleteWithNonVirtualDtor.cpp (426 of 19719) ******************** TEST 'Clang :: Analysis/DeleteWithNonVirtualDtor.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=alpha.cplusplus.DeleteWithNonVirtualDtor -std=c++11 -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeleteWithNonVirtualDtor.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=alpha.cplusplus.DeleteWithNonVirtualDtor -std=c++11 -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeleteWithNonVirtualDtor.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling privateDtor() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeleteWithNonVirtualDtor.cpp:185:14: Error evaluating New Allocator Call #0 0x0000ffff92adad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff92ad9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff92adb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9ba9f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9ad90e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9ad90e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9ad90e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9ad90e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9ad90e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9ad90e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9ad90e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9ad90e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9aa3e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9aa3e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9aa3e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9aa3e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9aa3eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9aa3eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9aa3eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9aa3eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9aa51aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9aa51aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9aa51aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9aa52ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9aa52ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9aa52ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9aa524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9aa524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9aa524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9aa5eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9aa5eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9aa5eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9aa68484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9aa68484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9aa68484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9a9cc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9a9cc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9a9cc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9a9cc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9a9ccec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9a9ccec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9a9ccec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9a9f6f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff9a9f6f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff9a9f6f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff9a9f6f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff9a9f6f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff9a9f735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff9a9f735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff9a9f735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff9a9f735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff9a9f735c 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 0x0000ffff9a9fa5dc clang::ento::ExprEngine::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 0x0000ffff9a9fa6c0 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 0x0000ffff9a9fa98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffff9a9fab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffff9a9fab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffff9a9fab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffff9a9fab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffff9a9fab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffff9acc52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffff9acc52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffff9acc52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffff9acc52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffff9acc52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffff9acc6278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffff9acc6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffff9acc6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffff9acca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffff9acca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffff9acca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffff9acca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffff9acca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff99121b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffff99121b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff99121b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffff99121b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffff9a7e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffff9a79d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffff9a79d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffff9a79d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffff9a8236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaabe6d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaabe6d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaabe6daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaabe6d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff91d2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff91d20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaabe6d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/DeleteWithNonVirtualDtor.cpp.script: line 1: 35695 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=alpha.cplusplus.DeleteWithNonVirtualDtor -std=c++11 -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeleteWithNonVirtualDtor.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete-variadic.cpp (427 of 19719) ******************** TEST 'Clang :: Analysis/NewDelete-variadic.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,unix.Malloc -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-variadic.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,unix.Malloc -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-variadic.cpp 1. parser at end of file #0 0x0000ffffb0ebad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb0eb9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb0ebb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb9e777e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb8dc9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb8dc9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb8dc9f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb8dc9f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb8dc9f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb8dc9f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb8dc9f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb8dc9f54 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 0x0000ffffb8dca878 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 0x0000ffffb8dda954 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 0x0000ffffb8ddab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffb8ddab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffb8ddab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffb8ddab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffb8ddab14 clang::ento::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 0x0000ffffb90a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb90a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb90a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffb90a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffb90a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffb90a6278 llvm::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 0x0000ffffb90a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffb90a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffb90aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffb90aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffb90aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffb90aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffb90aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffb7501b88 __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 0x0000ffffb7501b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffb7501b88 void clang::finalize>, 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 0x0000ffffb7501b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffb8bc5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffb8b7d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffb8b7d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffb8b7d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffb8c036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaadc0c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaadc0c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaadc0caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaadc0c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffb010098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffb0100a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaadc0c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-variadic.cpp.script: line 1: 35764 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,unix.Malloc -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-variadic.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/MismatchedDeallocator-checker-test.mm (428 of 19719) ******************** TEST 'Clang :: Analysis/MismatchedDeallocator-checker-test.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.MismatchedDeallocator -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-checker-test.mm : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.MismatchedDeallocator -fblocks -DTEST_INLINABLE_ALLOCATORS -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-checker-test.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.MismatchedDeallocator -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-checker-test.mm 1. parser at end of file 2. While analyzing stack: #0 Calling testSimpleSmartPointerMalloc() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-checker-test.mm:227:31: Error evaluating New Allocator Call #0 0x0000ffffae32ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffae329180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffae32b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb72e37e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb65e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb65e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb65e0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb65e0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb65e0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb65e0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb65e0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb65e0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb628e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb628e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb628e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb628e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb628eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb628eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb628eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb628eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb62a1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb62a1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb62a1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb62a2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb62a2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb62a2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb62a24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb62a24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb62a24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb62aeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb62aeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb62aeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb62b8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb62b8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb62b8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb621c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb621c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb621c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb621c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb621cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb621cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb621cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb6246f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffb6246f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffb6246f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb6246f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffb6246f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffb624735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffb624735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffb624735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffb624735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffb624735c 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 0x0000ffffb624a5dc clang::ento::ExprEngine::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 0x0000ffffb624a6c0 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 0x0000ffffb624a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffb624ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffb624ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffb624ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffb624ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffb624ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffffb65152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffb65152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffb65152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffb65152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffb65152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffb6516278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffffb6516278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffb6516278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffb651a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffb651a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffb651a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffb651a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffb651a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffb4971b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffffb4971b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffb4971b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffffb4971b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffb6035600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffb5fed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffb5fed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffb5fed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffb60736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaab51b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaab51b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaab51baac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaab51b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffffad57098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffffad570a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaab51b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/MismatchedDeallocator-checker-test.mm.script: line 2: 35716 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.MismatchedDeallocator -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-checker-test.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDeleteLeaks-PR19102.cpp (429 of 19719) ******************** TEST 'Clang :: Analysis/NewDeleteLeaks-PR19102.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks-PR19102.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks-PR19102.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks-PR19102.cpp:25:3: Error evaluating New Allocator Call #0 0x0000ffff98dcad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff98dc9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff98dcb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa1d897e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa1080e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa1080e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa1080e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa1080e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa1080e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa1080e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa1080e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa1080e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa0d2e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa0d2e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa0d2e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa0d2e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa0d2eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa0d2eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa0d2eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa0d2eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa0d41aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa0d41aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa0d41aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa0d42ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa0d42ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa0d42ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa0d424c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa0d424c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa0d424c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa0d4eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa0d4eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa0d4eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa0d58484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa0d58484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa0d58484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa0cbc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa0cbc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa0cbc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa0cbc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa0cbcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa0cbcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa0cbcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa0ce6f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffa0ce6f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffa0ce6f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffa0ce6f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffa0ce6f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffa0ce735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffa0ce735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffa0ce735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffa0ce735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffa0ce735c 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 0x0000ffffa0cea5dc clang::ento::ExprEngine::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 0x0000ffffa0cea6c0 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 0x0000ffffa0cea98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffa0ceab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffa0ceab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffa0ceab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffa0ceab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffa0ceab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffffa0fb52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffa0fb52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffa0fb52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffa0fb52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffa0fb52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffa0fb6278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffffa0fb6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffa0fb6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffa0fba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffa0fba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffa0fba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffa0fba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffa0fba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff9f411b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffff9f411b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff9f411b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffff9f411b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffa0ad5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffa0a8d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffa0a8d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffa0a8d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffa0b136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaae3ba59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaae3ba94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaae3baaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaae3ba1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff9801098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff98010a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaae3ba20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDeleteLeaks-PR19102.cpp.script: line 1: 35802 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks-PR19102.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/CheckThatArraySubsciptNodeIsNotCollected.cpp (430 of 19719) ******************** TEST 'Clang :: Analysis/CheckThatArraySubsciptNodeIsNotCollected.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CheckThatArraySubsciptNodeIsNotCollected.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CheckThatArraySubsciptNodeIsNotCollected.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CheckThatArraySubsciptNodeIsNotCollected.cpp:25:19: Error evaluating branch #0 0x0000ffffa610ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa6109180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa610b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffaf0c17e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffae3c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffae3c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffae3c0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffae3c0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffae3c0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffae3c0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffae3c0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffae3c0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffae06e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffae06e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffae06e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffae06e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffae06eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffae06eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffae06eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffae06eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffae081aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffae081aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffae081aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffae082ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffae082ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffae082ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffae0824c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffae0824c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffae0824c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffae08eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffae08eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffae08eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffae098484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffae098484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffae098484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffadffc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffadffc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffadffc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffadffc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffae4eb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffae4eb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffae4eb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffae012bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffae012bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffae012bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffae012bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffae012bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffae012bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffae012bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffae012bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffae012bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffae012bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffae013130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffae02ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffae02ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffae02ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffae02ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffae02ab14 clang::ento::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 0x0000ffffae2f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffae2f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffae2f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffae2f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffae2f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffae2f6278 llvm::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 0x0000ffffae2f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffae2f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffae2fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffae2fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffae2fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffae2fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffae2fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffac751b88 __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 0x0000ffffac751b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffac751b88 void clang::finalize>, 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 0x0000ffffac751b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffade15600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffaddcd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffaddcd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffaddcd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffade536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaab8359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaab8394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaab83aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaab831fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa535098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa5350a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaab8320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/CheckThatArraySubsciptNodeIsNotCollected.cpp.script: line 1: 35647 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CheckThatArraySubsciptNodeIsNotCollected.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete-sized-deallocation.cpp (431 of 19719) ******************** TEST 'Clang :: Analysis/NewDelete-sized-deallocation.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -fsized-deallocation : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -DINCLUDE_INCLUDES : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -DINCLUDE_INCLUDES -fsized-deallocation : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -DINCLUDE_INCLUDES -DTEST_INLINABLE_ALLOCATORS : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -DINCLUDE_INCLUDES -DTEST_INLINABLE_ALLOCATORS -fsized-deallocation : 'RUN: at line 8'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++14 : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++14 -fsized-deallocation : 'RUN: at line 10'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++14 -DINCLUDE_INCLUDES : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++14 -DINCLUDE_INCLUDES -fsized-deallocation : 'RUN: at line 12'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++14 -DINCLUDE_INCLUDES -DTEST_INLINABLE_ALLOCATORS : 'RUN: at line 13'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++14 -DINCLUDE_INCLUDES -DTEST_INLINABLE_ALLOCATORS -fsized-deallocation : 'RUN: at line 15'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++17 : 'RUN: at line 16'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++17 -fsized-deallocation : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++17 -DINCLUDE_INCLUDES : 'RUN: at line 18'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++17 -DINCLUDE_INCLUDES -fsized-deallocation : 'RUN: at line 19'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++17 -DINCLUDE_INCLUDES -DTEST_INLINABLE_ALLOCATORS : 'RUN: at line 20'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++17 -DINCLUDE_INCLUDES -DTEST_INLINABLE_ALLOCATORS -fsized-deallocation -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling no_leak() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp:37:12: Error evaluating New Allocator Call #0 0x0000ffffad5aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffad5a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffad5ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb656f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb5860e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb5860e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb5860e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb5860e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb5860e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb5860e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb5860e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb5860e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb550e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb550e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb550e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb550e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb550eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb550eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb550eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb550eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb5521aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb5521aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb5521aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb5522ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb5522ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb5522ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb55224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb55224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb55224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb552eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb552eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb552eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb5538484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb5538484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb5538484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb549c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb549c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb549c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb549c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb549cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb549cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb549cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb54c6f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffb54c6f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffb54c6f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb54c6f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffb54c6f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffb54c735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffb54c735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffb54c735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffb54c735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffb54c735c 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 0x0000ffffb54ca5dc clang::ento::ExprEngine::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 0x0000ffffb54ca6c0 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 0x0000ffffb54ca98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffb54cab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffb54cab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffb54cab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffb54cab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffb54cab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffffb57952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffb57952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffb57952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffb57952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffb57952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffb5796278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffffb5796278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffb5796278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffb579a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffb579a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffb579a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffb579a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffb579a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffb3bf1b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffffb3bf1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffb3bf1b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffffb3bf1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffb52b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffb526d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffb526d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffb526d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffb52f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaac18759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaac18794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaac187aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaac1871fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffffac7f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffffac7f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaac18720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-sized-deallocation.cpp.script: line 18: 35757 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete-atomics.cpp (432 of 19719) ******************** TEST 'Clang :: Analysis/NewDelete-atomics.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDeleteLeaks -DLEAKS -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete -std=c++11 -DTEST_INLINABLE_ALLOCATORS -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDeleteLeaks -DLEAKS -std=c++11 -DTEST_INLINABLE_ALLOCATORS -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-inline-max-stack-depth 2 -analyzer-config ipa-always-inline-size=2 -analyzer-checker=core,cplusplus.NewDelete -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-inline-max-stack-depth 2 -analyzer-config ipa-always-inline-size=2 -analyzer-checker=core,cplusplus.NewDeleteLeaks -DLEAKS -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-inline-max-stack-depth 2 -analyzer-config ipa-always-inline-size=2 -analyzer-checker=core,cplusplus.NewDelete -std=c++11 -DTEST_INLINABLE_ALLOCATORS -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp : 'RUN: at line 8'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-inline-max-stack-depth 2 -analyzer-config ipa-always-inline-size=2 -analyzer-checker=core,cplusplus.NewDeleteLeaks -DLEAKS -std=c++11 -DTEST_INLINABLE_ALLOCATORS -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testDestroySymbolicRefPtr(const IntrusivePtr &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp:73:18: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp:73:18: Error evaluating statement #0 0x0000ffffaff4ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffaff49180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffaff4b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb8f017e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb7e55734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb7e55734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb7e55734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb7e55734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb7e55734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb7e55734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb7e55734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffb7e55734 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 0x0000ffffb7e1e1fc std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffffb7e1e1fc std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffffb7e1e1fc clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffffb7e1e1fc 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 0x0000ffffb7e1f1fc clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffffb7e1f1fc 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 0x0000ffffb7ee0100 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffffb7ee0100 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffffb7e9b2a8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffffb7e9b2a8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffffb7e9b458 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffffb7e9b458 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffffb7e9b458 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffffb7e9dee0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffffb7e9dee0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffffb7e9dee0 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffffb7e9e7fc llvm::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 0x0000ffffb7e9e7fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffffb7e9e7fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffb7e9e7fc clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffffb7e27268 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffffb7e633d8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffffb7e633d8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffffb7e633d8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffffb7e633d8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffffb7e633d8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffffb7e633d8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffffb7e633d8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffffb7e6920c clang::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 0x0000ffffb7e6920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffffb7e6a2b8 clang::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 0x0000ffffb7e6a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb7e6a7cc clang::ento::CoreEngine::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 0x0000ffffb7e6ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffffb7e6ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffffb7e6ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffffb7e6ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffffb7e6ab14 clang::ento::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 0x0000ffffb81352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffffb81352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffb81352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffffb81352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffffb81352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffffb8136278 llvm::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 0x0000ffffb8136278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffffb8136278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffffb813a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffffb813a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffffb813a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffffb813a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffffb813a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffffb6591b88 __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 0x0000ffffb6591b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffffb6591b88 void clang::finalize>, 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 0x0000ffffb6591b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffffb7c55600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffffb7c0d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffffb7c0d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffffb7c0d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffffb7c936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaab85959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaab85994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaab859aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaab8591fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffffaf19098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffffaf190a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaab85920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-atomics.cpp.script: line 8: 35740 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR49490.cpp (448 of 19719) ******************** TEST 'Clang :: Analysis/PR49490.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49490.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49490.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling get_global_toggle() at line 29 #1 Calling bar() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49490.cpp:10:37: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49490.cpp:10:37: Error evaluating statement #0 0x0000ffff775bad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff775b9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff775bb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff805707e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff7f4c5734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7f4c5734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7f4c5734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7f4c5734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff7f4c5734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff7f4c5734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff7f4c5734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff7f4c5734 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 0x0000ffff7f4f6660 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffff7f4f6804 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffff7f4f6804 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffff7f4f6804 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffff7f4d3514 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffff7f4d920c clang::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 0x0000ffff7f4d920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffff7f4da2b8 clang::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 0x0000ffff7f4da5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff7f4da7cc clang::ento::CoreEngine::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 0x0000ffff7f4dab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffff7f4dab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffff7f4dab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffff7f4dab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffff7f4dab14 clang::ento::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 0x0000ffff7f7a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffff7f7a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffff7f7a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffff7f7a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffff7f7a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffff7f7a6278 llvm::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 0x0000ffff7f7a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffff7f7a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffff7f7aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff7f7aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff7f7aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffff7f7aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffff7f7aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffff7dc01b88 __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 0x0000ffff7dc01b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffff7dc01b88 void clang::finalize>, 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 0x0000ffff7dc01b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffff7f2c5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffff7f27d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffff7f27d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffff7f27d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffff7f3036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaacb2359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaacb2394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaacb23aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaacb231fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffff7680098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffff76800a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaacb2320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR49490.cpp.script: line 1: 35843 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49490.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR60412.cpp (449 of 19719) ******************** TEST 'Clang :: Analysis/PR60412.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.deadcode.UnreachableCode -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR60412.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.deadcode.UnreachableCode -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR60412.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo()::a::a() at line 12 #1 Calling foo() at line 17 #2 Calling main() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR60412.cpp:10:10: Error evaluating statement #0 0x0000ffffb484ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb4849180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb484b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbd80f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbc7550b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffbc7550b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbc7550b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbc7550b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbc7550b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffbc7550b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffbc7550b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffbc7550b8 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 0x0000ffffbc76a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffbc76a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffbc76a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffbc76a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffbc76a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffbc76a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffbc76a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffbc76a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffbc76a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffbc76a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbc76a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffbc76a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffbc76ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffbc76ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffbc76ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffbc76ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffbc76ab14 clang::ento::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 0x0000ffffbca352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffbca352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffbca352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffbca352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffbca352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffbca36278 llvm::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 0x0000ffffbca36278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffbca36278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffbca3a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffbca3a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffbca3a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffbca3a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffbca3a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffbae91b88 __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 0x0000ffffbae91b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffbae91b88 void clang::finalize>, 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 0x0000ffffbae91b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffbc555600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffbc50d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffbc50d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffbc50d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffbc5936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaae15459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaae15494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaae154aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaae1541fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffb3a9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffb3a90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaae15420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR60412.cpp.script: line 1: 35853 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.deadcode.UnreachableCode -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR60412.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/NoReturn.m (450 of 19719) ******************** TEST 'Clang :: Analysis/NoReturn.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NoReturn.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NoReturn.m 1. parser at end of file 2. While analyzing stack: #0 Calling PR11959 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NoReturn.m:123:8: Error evaluating statement #0 0x0000ffff9586ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff95869180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9586b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9e8267e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9d7ca104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9d7ca104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9d7ca104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9d7ca104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff9d7ca104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff9d7ca104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff9d7753bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff9d7753bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff9d7753bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff9d78a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff9d78a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff9d78a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff9d78a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff9d78a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff9d78a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff9d78a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff9d78a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff9d78a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff9d78a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9d78a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff9d78a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff9d78ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff9d78ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff9d78ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff9d78ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff9d78ab14 clang::ento::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 0x0000ffff9da552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9da552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9da552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff9da552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff9da552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff9da56278 llvm::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 0x0000ffff9da56278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff9da56278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff9da5a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff9da5a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff9da5a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff9da5a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff9da5a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff9beb1b88 __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 0x0000ffff9beb1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff9beb1b88 void clang::finalize>, 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 0x0000ffff9beb1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff9d575600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff9d52d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff9d52d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff9d52d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff9d5b36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaacccd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaacccd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaacccdaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaacccd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff94ab098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff94ab0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaacccd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NoReturn.m.script: line 1: 35809 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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/PR50268.c (451 of 19719) ******************** TEST 'Clang :: Analysis/PR50268.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR50268.c -analyzer-config eagerly-assume=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR50268.c -analyzer-config eagerly-assume=true 1. parser at end of file 2. While analyzing stack: #0 Calling test 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR50268.c:10:3: Error evaluating statement #0 0x0000ffffa145ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa1459180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa145b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffaa4127e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa93ba104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa93ba104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa93ba104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa93ba104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffa93ba104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffa93ba104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffa93653bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffa93653bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffa93653bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffa937a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffa937a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffa937a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffa937a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffa937a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffa937a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffa937a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffa937a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffa937a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffa937a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa937a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffa937a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffa937ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffa937ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffa937ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffa937ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffa937ab14 clang::ento::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 0x0000ffffa96452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa96452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa96452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffa96452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffa96452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffa9646278 llvm::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 0x0000ffffa9646278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffa9646278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffa964a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffa964a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffa964a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffa964a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffa964a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffa7aa1b88 __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 0x0000ffffa7aa1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffa7aa1b88 void clang::finalize>, 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 0x0000ffffa7aa1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffa9165600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffa911d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffa911d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffa911d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffa91a36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaabcac59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaabcac94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaabcacaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaabcac1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffa06a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffa06a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaabcac20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR50268.c.script: line 1: 35849 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR50268.c -analyzer-config eagerly-assume=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/OSAtomic_mac.cpp (452 of 19719) ******************** TEST 'Clang :: Analysis/OSAtomic_mac.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,osx -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/OSAtomic_mac.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,osx -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/OSAtomic_mac.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling rdar9339920_test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/OSAtomic_mac.cpp:14:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/OSAtomic_mac.cpp:14:7: Error evaluating statement #0 0x0000ffff784fad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff784f9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff784fb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff814bf7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8045e560 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8045e560 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8045e560 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8045e560 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8045e560 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8045e560 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8045e560 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8045e560 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:0 #12 0x0000ffff8045e560 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:0 #13 0x0000ffff8045e560 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:0 #14 0x0000ffff8045e560 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:0 #15 0x0000ffff8045e560 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:0 #16 0x0000ffff8045e560 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #17 0x0000ffff8045e560 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #18 0x0000ffff8045e560 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #19 0x0000ffff8045e560 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #20 0x0000ffff8045e560 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #21 0x0000ffff8045e560 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #22 0x0000ffff8045ec90 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #23 0x0000ffff8045ec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffff8045ec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff8045ec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #26 0x0000ffff80472c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff80472c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff80472c4c 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 0x0000ffff804724c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff804724c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff804724c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #32 0x0000ffff8047eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #33 0x0000ffff8047eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #34 0x0000ffff8047eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #35 0x0000ffff80488484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #36 0x0000ffff80488484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #37 0x0000ffff80488484 clang::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 0x0000ffff803ec9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #39 0x0000ffff803ec9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #40 0x0000ffff803ec9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #41 0x0000ffff803ec9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #42 0x0000ffff808db004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #43 0x0000ffff808db004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #44 0x0000ffff808db004 clang::ento::ProgramState::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 0x0000ffff803ffd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #46 0x0000ffff803ffd0c 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 0x0000ffff803ffd0c 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 0x0000ffff8041a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #49 0x0000ffff8041a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #50 0x0000ffff8041a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #51 0x0000ffff8041a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #52 0x0000ffff8041a05c clang::ento::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 0x0000ffff8041a2b8 clang::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 0x0000ffff8041a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8041a7cc clang::ento::CoreEngine::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 0x0000ffff8041ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffff8041ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffff8041ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffff8041ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffff8041ab14 clang::ento::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 0x0000ffff806e52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffff806e52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffff806e52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffff806e52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffff806e52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffff806e6278 llvm::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 0x0000ffff806e6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffff806e6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffff806ea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffff806ea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffff806ea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffff806ea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffff806ea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffff7eb41b88 __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 0x0000ffff7eb41b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffff7eb41b88 void clang::finalize>, 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 0x0000ffff7eb41b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffff80205600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffff801bd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffff801bd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffff801bd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffff802436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaaba1359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaaba1394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaaba13aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaaba131fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffff7774098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffff77740a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaaba1320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/OSAtomic_mac.cpp.script: line 1: 35812 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,osx -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/OSAtomic_mac.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ObjCProperties.m (453 of 19719) ******************** TEST 'Clang :: Analysis/ObjCProperties.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-int-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ObjCProperties.m -verify -analyzer-checker=core,alpha.core,debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-int-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ObjCProperties.m -verify -analyzer-checker=core,alpha.core,debug.ExprInspection 1. parser at end of file #0 0x0000ffff9a9bad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9a9b9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9a9bb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa39787e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa2c70e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa2c70e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa2c70e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa2c70e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa2c70e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa2c70e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa2c70e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa2c70e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa291e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa291e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa291e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa291e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa291eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa291eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa291eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa291eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa2931aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa2931aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa2931aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa2932ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa2932ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa2932ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa29324c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa29324c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa29324c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa293eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa293eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa293eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa2948484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa2948484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa2948484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa28ac9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa28ac9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa28ac9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa28ac9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa28acec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa28acec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa28acec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa2880400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa2880400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa2880400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa28bcea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa28bcea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa28bcea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa28dae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa28dae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa28dae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa2ba52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa2ba52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa2ba52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa2ba52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa2ba52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa2ba6278 llvm::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 0x0000ffffa2ba6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa2ba6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa2baa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa2baa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa2baa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa2baa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa2baa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa1001b88 __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 0x0000ffffa1001b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa1001b88 void clang::finalize>, 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 0x0000ffffa1001b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa26c5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa267d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa267d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa267d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa27036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaaabb059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaaabb094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaaabb0aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaaabb01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff99c0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff99c00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaaabb020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ObjCProperties.m.script: line 1: 35814 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-int-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ObjCProperties.m -verify -analyzer-checker=core,alpha.core,debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR3991.m (454 of 19719) ******************** TEST 'Clang :: Analysis/PR3991.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -triple x86_64-apple-darwin9 -Wno-incomplete-implementation /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR3991.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -triple x86_64-apple-darwin9 -Wno-incomplete-implementation /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR3991.m 1. parser at end of file #0 0x0000ffff92ccad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff92cc9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff92ccb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9bc8f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9af80e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9af80e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9af80e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9af80e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9af80e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9af80e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9af80e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9af80e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9ac2e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9ac2e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9ac2e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9ac2e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9ac2eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9ac2eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9ac2eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9ac2eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9ac41aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9ac41aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9ac41aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9ac42ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9ac42ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9ac42ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9ac424c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9ac424c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9ac424c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9ac4eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9ac4eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9ac4eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9ac58484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9ac58484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9ac58484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9abbc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9abbc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9abbc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9abbc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9abbcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9abbcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9abbcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9ab90400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff9ab90400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff9ab90400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9abccea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9abccea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9abccea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff9abeae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9abeae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9abeae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff9aeb52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff9aeb52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff9aeb52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff9aeb52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff9aeb52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff9aeb6278 llvm::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 0x0000ffff9aeb6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff9aeb6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9aeba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9aeba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9aeba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9aeba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9aeba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff99311b88 __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 0x0000ffff99311b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff99311b88 void clang::finalize>, 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 0x0000ffff99311b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff9a9d5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9a98d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9a98d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9a98d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9aa136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae65959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae65994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae659aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae6591fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff91f1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff91f10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae65920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR3991.m.script: line 1: 35829 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -triple x86_64-apple-darwin9 -Wno-incomplete-implementation /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR3991.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR35418.cpp (455 of 19719) ******************** TEST 'Clang :: Analysis/PR35418.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR35418.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR35418.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling decode(unsigned int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR35418.cpp:12:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR35418.cpp:12:10: Error evaluating statement #0 0x0000ffff9679ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff96799180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9679b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9f75e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9ea50e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9ea50e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9ea50e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9ea50e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9ea50e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9ea50e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9ea50e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9ea50e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9e6fe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9e6fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9e6fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9e6fe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9e6fe8f4 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9e6fe8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9e6fe8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9e6fe8f4 (anonymous namespace)::RangeConstraintManager::assumeSymLE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3214:0 #20 0x0000ffff9e711aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9e711aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9e711aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9e712ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9e712ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9e712ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9e7124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9e7124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9e7124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9e71eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9e71eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9e71eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9e728484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9e728484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9e728484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9e68c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9e68c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9e68c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9e68c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9eb7b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9eb7b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9eb7b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9e69fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9e69fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9e69fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff9e6ba05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff9e6ba05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff9e6ba05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff9e6ba05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff9e6ba05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff9e6ba2b8 clang::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 0x0000ffff9e6ba5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9e6ba7cc clang::ento::CoreEngine::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 0x0000ffff9e6bab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9e6bab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9e6bab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9e6bab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9e6bab14 clang::ento::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 0x0000ffff9e9852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9e9852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9e9852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9e9852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9e9852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9e986278 llvm::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 0x0000ffff9e986278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9e986278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9e98a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9e98a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9e98a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9e98a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9e98a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9cde1b88 __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 0x0000ffff9cde1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9cde1b88 void clang::finalize>, 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 0x0000ffff9cde1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9e4a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9e45d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9e45d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9e45d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9e4e36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaadd1c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaadd1c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaadd1caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaadd1c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff959e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff959e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaadd1c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR35418.cpp.script: line 1: 35825 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR35418.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR2978.m (456 of 19719) ******************** TEST 'Clang :: Analysis/PR2978.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,osx.cocoa.Dealloc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR2978.m -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,osx.cocoa.Dealloc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR2978.m -verify 1. parser at end of file #0 0x0000ffffa5f5ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa5f59180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa5f5b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffaef117e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffae210e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffae210e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffae210e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffae210e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffae210e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffae210e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffae210e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffae210e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffadebe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffadebe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffadebe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffadebe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffadebeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffadebeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffadebeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffadebeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaded1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaded1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaded1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffaded2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaded2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaded2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffaded24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaded24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaded24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffadedeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffadedeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffadedeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffadee8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffadee8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffadee8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffade4c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffade4c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffade4c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffade4c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffade4cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffade4cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffade4cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffade20400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffade20400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffade20400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffade5cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffade5cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffade5cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffade7ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffade7ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffade7ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffae1452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffae1452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffae1452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffae1452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffae1452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffae146278 llvm::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 0x0000ffffae146278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffae146278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffae14a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffae14a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffae14a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffae14a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffae14a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffac5a1b88 __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 0x0000ffffac5a1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffac5a1b88 void clang::finalize>, 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 0x0000ffffac5a1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffadc65600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffadc1d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffadc1d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffadc1d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffadca36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad10659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad10694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad106aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad1061fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa51a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa51a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad10620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR2978.m.script: line 1: 35823 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,osx.cocoa.Dealloc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR2978.m -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/analysis-after-multiple-dtors.cpp (457 of 19719) ******************** TEST 'Clang :: Analysis/analysis-after-multiple-dtors.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analysis-after-multiple-dtors.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analysis-after-multiple-dtors.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo()::a::a() at line 16 #1 Calling foo() at line 21 #2 Calling main() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analysis-after-multiple-dtors.cpp:11:10: Error evaluating statement #0 0x0000ffff8d9dad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8d9d9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8d9db408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9699b7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff958e50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff958e50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff958e50b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff958e50b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff958e50b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff958e50b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff958e50b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff958e50b8 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 0x0000ffff958fa244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff958fa244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff958fa244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff958fa244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff958fa244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff958fa244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff958fa244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff958fa244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff958fa244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff958fa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff958fa6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff958fa98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff958fab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff958fab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff958fab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff958fab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff958fab14 clang::ento::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 0x0000ffff95bc52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff95bc52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff95bc52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff95bc52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff95bc52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff95bc6278 llvm::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 0x0000ffff95bc6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff95bc6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff95bca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff95bca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff95bca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff95bca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff95bca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff94021b88 __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 0x0000ffff94021b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff94021b88 void clang::finalize>, 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 0x0000ffff94021b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff956e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff9569d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff9569d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff9569d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff957236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaaaf1559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaaaf1594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaaaf15aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaaaf151fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff8cc2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff8cc20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaaaf1520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/analysis-after-multiple-dtors.cpp.script: line 1: 35880 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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/PR47511.cpp (458 of 19719) ******************** TEST 'Clang :: Analysis/PR47511.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++20 -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR47511.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++20 -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR47511.cpp 1. parser at end of file #0 0x0000ffff8437ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff84379180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8437b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8d33b7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8c630e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8c630e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8c630e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8c630e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8c630e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8c630e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8c630e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8c630e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8c2de018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8c2de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8c2de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8c2de018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8c2deef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8c2deef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8c2deef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8c2deef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8c2f1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8c2f1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8c2f1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8c2f2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8c2f2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8c2f2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8c2f24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8c2f24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8c2f24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8c2feb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8c2feb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8c2feb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8c308484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8c308484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8c308484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8c26c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8c26c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8c26c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8c26c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8c26cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8c26cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8c26cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8c240400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8c240400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8c240400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8c27ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8c27ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8c27ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff8c29ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8c29ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8c29ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8c5652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8c5652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8c5652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8c5652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8c5652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff8c566278 llvm::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 0x0000ffff8c566278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff8c566278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8c56a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8c56a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8c56a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8c56a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8c56a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff8a9c1b88 __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 0x0000ffff8a9c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff8a9c1b88 void clang::finalize>, 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 0x0000ffff8a9c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff8c085600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8c03d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8c03d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8c03d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8c0c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae4ad59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae4ad94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae4adaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae4ad1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff835c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff835c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae4ad20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR47511.cpp.script: line 1: 35842 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++20 -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR47511.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDeleteLeaks.cpp (459 of 19719) ******************** TEST 'Clang :: Analysis/NewDeleteLeaks.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks.cpp -analyzer-checker=core -analyzer-checker=cplusplus -analyzer-checker=unix -analyzer-config unix.DynamicMemoryModeling:AddNoOwnershipChangeNotes=false : 'RUN: at line 8'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify=expected,ownership -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks.cpp -analyzer-checker=core -analyzer-checker=cplusplus -analyzer-checker=unix -analyzer-config unix.DynamicMemoryModeling:AddNoOwnershipChangeNotes=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks.cpp -analyzer-checker=core -analyzer-checker=cplusplus -analyzer-checker=unix -analyzer-config unix.DynamicMemoryModeling:AddNoOwnershipChangeNotes=false 1. parser at end of file 2. While analyzing stack: #0 Calling symbol_reaper_lifetime::allocateWrappingAndReturnNested() at line 217 #1 Calling symbol_reaper_lifetime::caller() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks.cpp:209:23: Error evaluating New Allocator Call #0 0x0000ffff8d23ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8d239180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8d23b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff961f27e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff954f0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff954f0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff954f0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff954f0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff954f0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff954f0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff954f0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff954f0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9519e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9519e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9519e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9519e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9519eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9519eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9519eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9519eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff951b1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff951b1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff951b1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff951b2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff951b2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff951b2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff951b24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff951b24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff951b24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff951beb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff951beb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff951beb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff951c8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff951c8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff951c8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9512c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9512c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9512c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9512c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9512cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9512cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9512cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff95156f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff95156f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff95156f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff95156f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff95156f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff9515735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff9515735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff9515735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff9515735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff9515735c 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 0x0000ffff9515a5dc clang::ento::ExprEngine::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 0x0000ffff9515a6c0 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 0x0000ffff9515a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffff9515ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffff9515ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffff9515ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffff9515ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffff9515ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffff954252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffff954252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffff954252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffff954252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffff954252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffff95426278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffff95426278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffff95426278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffff9542a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffff9542a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffff9542a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffff9542a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffff9542a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff93881b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffff93881b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff93881b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffff93881b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffff94f45600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffff94efd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffff94efd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffff94efd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffff94f836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaab22159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaab22194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaab221aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaab2211fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff8c48098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff8c480a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaab22120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDeleteLeaks.cpp.script: line 2: 35811 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks.cpp -analyzer-checker=core -analyzer-checker=cplusplus -analyzer-checker=unix -analyzer-config unix.DynamicMemoryModeling:AddNoOwnershipChangeNotes=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR49642.c (460 of 19719) ******************** TEST 'Clang :: Analysis/PR49642.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-implicit-function-declaration -Wno-implicit-int -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49642.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-implicit-function-declaration -Wno-implicit-int -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49642.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions 1. parser at end of file 2. While analyzing stack: #0 Calling a 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49642.c:15:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49642.c:15:10: Error evaluating statement #0 0x0000ffffb0b9ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb0b99180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb0b9b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb9b5e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb8e50e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb8e50e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb8e50e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb8e50e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb8e50e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb8e50e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb8e50e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb8e50e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb8afe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb8afe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb8afe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb8afe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb8afe8f4 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb8afe8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb8afe8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb8afe8f4 (anonymous namespace)::RangeConstraintManager::assumeSymLE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3214:0 #20 0x0000ffffb8b11aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb8b11aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb8b11aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb8b12ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb8b12ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb8b12ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb8b124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb8b124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb8b124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb8b1eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb8b1eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb8b1eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb8b28484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb8b28484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb8b28484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb8a8c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb8a8c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb8a8c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb8a8c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb8f7b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb8f7b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb8f7b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb8a9fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb8a9fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb8a9fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb8aba05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb8aba05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb8aba05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb8aba05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb8aba05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb8aba2b8 clang::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 0x0000ffffb8aba5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb8aba7cc clang::ento::CoreEngine::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 0x0000ffffb8abab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb8abab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb8abab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb8abab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb8abab14 clang::ento::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 0x0000ffffb8d852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb8d852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb8d852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb8d852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb8d852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb8d86278 llvm::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 0x0000ffffb8d86278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb8d86278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb8d8a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb8d8a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb8d8a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb8d8a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb8d8a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb71e1b88 __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 0x0000ffffb71e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb71e1b88 void clang::finalize>, 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 0x0000ffffb71e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb88a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb885d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb885d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb885d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb88e36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad92d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad92d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad92daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad92d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffafde098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffafde0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad92d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR49642.c.script: line 1: 35846 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-implicit-function-declaration -Wno-implicit-int -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49642.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR46264.cpp (461 of 19719) ******************** TEST 'Clang :: Analysis/PR46264.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR46264.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR46264.cpp 1. parser at end of file #0 0x0000ffff9f83ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9f839180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9f83b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa87f17e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa7af0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa7af0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa7af0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa7af0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa7af0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa7af0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa7af0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa7af0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa779e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa779e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa779e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa779e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa779eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa779eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa779eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa779eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa77b1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa77b1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa77b1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa77b2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa77b2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa77b2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa77b24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa77b24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa77b24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa77beb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa77beb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa77beb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa77c8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa77c8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa77c8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa772c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa772c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa772c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa772c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa772cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa772cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa772cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa7700400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa7700400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa7700400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa773ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa773ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa773ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffa775ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa775ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa775ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa7a252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa7a252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa7a252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa7a252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa7a252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa7a26278 llvm::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 0x0000ffffa7a26278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa7a26278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa7a2a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa7a2a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa7a2a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa7a2a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa7a2a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa5e81b88 __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 0x0000ffffa5e81b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa5e81b88 void clang::finalize>, 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 0x0000ffffa5e81b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa7545600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa74fd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa74fd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa74fd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa75836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaab56b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaab56b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaab56baac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaab56b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9ea8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff9ea80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaab56b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR46264.cpp.script: line 1: 35835 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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 (462 of 19719) ******************** TEST 'Clang :: Analysis/ObjCRetSigs.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=osx.cocoa.IncompatibleMethodTypes -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ObjCRetSigs.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=osx.cocoa.IncompatibleMethodTypes -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ObjCRetSigs.m 1. parser at end of file #0 0x0000ffffb427ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb4279180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb427b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbd2337e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbc530e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbc530e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbc530e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbc530e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbc530e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbc530e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbc530e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbc530e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbc1de018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbc1de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbc1de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbc1de018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbc1deef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbc1deef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbc1deef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbc1deef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbc1f1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbc1f1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbc1f1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbc1f2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbc1f2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbc1f2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbc1f24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbc1f24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbc1f24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbc1feb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbc1feb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbc1feb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbc208484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbc208484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbc208484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbc16c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbc16c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbc16c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbc16c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbc16cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbc16cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbc16cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffbc140400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffbc140400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffbc140400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffbc17cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffbc17cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffbc17cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffbc19ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffbc19ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffbc19ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffbc4652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffbc4652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffbc4652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffbc4652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffbc4652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffbc466278 llvm::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 0x0000ffffbc466278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffbc466278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffbc46a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffbc46a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffbc46a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffbc46a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffbc46a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffba8c1b88 __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 0x0000ffffba8c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffba8c1b88 void clang::finalize>, 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 0x0000ffffba8c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffbbf85600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffbbf3d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffbbf3d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffbbf3d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffbbfc36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaab9d759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaab9d794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaab9d7aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaab9d71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffb34c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffb34c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaab9d720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ObjCRetSigs.m.script: line 1: 35817 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=osx.cocoa.IncompatibleMethodTypes -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ObjCRetSigs.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/additive-folding-range-constraints.c (463 of 19719) ******************** TEST 'Clang :: Analysis/additive-folding-range-constraints.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-folding-range-constraints.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-folding-range-constraints.c 1. parser at end of file 2. While analyzing stack: #0 Calling mixedSignedness18 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-folding-range-constraints.c:301:3: Error evaluating statement #0 0x0000ffff9096ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff90969180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9096b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff999257e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff988ca104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff988ca104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff988ca104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff988ca104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff988ca104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff988ca104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff988753bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff988753bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff988753bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff9888a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff9888a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff9888a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff9888a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff9888a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff9888a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff9888a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff9888a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff9888a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff9888a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9888a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff9888a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff9888ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff9888ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff9888ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff9888ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff9888ab14 clang::ento::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 0x0000ffff98b552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff98b552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff98b552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff98b552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff98b552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff98b56278 llvm::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 0x0000ffff98b56278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff98b56278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff98b5a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff98b5a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff98b5a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff98b5a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff98b5a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff96fb1b88 __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 0x0000ffff96fb1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff96fb1b88 void clang::finalize>, 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 0x0000ffff96fb1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff98675600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff9862d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff9862d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff9862d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff986b36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaabcd859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaabcd894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaabcd8aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaabcd81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff8fbb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff8fbb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaabcd820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/additive-folding-range-constraints.c.script: line 1: 35868 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-folding-range-constraints.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/SpecialFunctionsCFError.cpp (468 of 19719) ******************** TEST 'Clang :: Analysis/SpecialFunctionsCFError.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFError -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/SpecialFunctionsCFError.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFError -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/SpecialFunctionsCFError.cpp 1. parser at end of file #0 0x0000ffffa8a1ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa8a19180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa8a1b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb19d97e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb0cd0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb0cd0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb0cd0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb0cd0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb0cd0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb0cd0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb0cd0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb0cd0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb097e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb097e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb097e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb097e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb097eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb097eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb097eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb097eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb0991aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb0991aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb0991aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb0992ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb0992ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb0992ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb09924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb09924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb09924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb099eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb099eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb099eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb09a8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb09a8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb09a8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb090c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb090c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb090c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb090c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb090cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb090cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb090cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb08e0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb08e0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb08e0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb091ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb091ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb091ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffb093ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb093ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb093ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb0c052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb0c052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb0c052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb0c052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb0c052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb0c06278 llvm::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 0x0000ffffb0c06278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb0c06278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb0c0a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb0c0a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb0c0a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb0c0a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb0c0a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffaf061b88 __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 0x0000ffffaf061b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffaf061b88 void clang::finalize>, 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 0x0000ffffaf061b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb0725600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb06dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb06dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb06dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb07636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad8ce59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad8ce94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad8ceaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad8ce1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa7c6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa7c60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad8ce20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/SpecialFunctionsCFError.cpp.script: line 1: 35864 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFError -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/SpecialFunctionsCFError.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/additive-folding.cpp (469 of 19719) ******************** TEST 'Clang :: Analysis/additive-folding.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -Wno-tautological-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-folding.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -Wno-tautological-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-folding.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling additiveSymSymFolding(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-folding.cpp:213:7: Error evaluating branch #0 0x0000ffff9a18ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9a189180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9a18b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa31437e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa2440e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa2440e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa2440e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa2440e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa2440e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa2440e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa2440e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa2440e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa20ee018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa20ee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa20ee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa20ee018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa20eeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa20eeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa20eeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa20eeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa2101aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa2101aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa2101aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa2102ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa2102ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa2102ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa21024c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa21024c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa21024c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa210eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa210eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa210eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa2118484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa2118484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa2118484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa207c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa207c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa207c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa207c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa256b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa256b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa256b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa2092bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa2092bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa2092bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa2092bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa2092bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa2092bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa2092bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa2092bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa2092bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa2092bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa2093130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa20aab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa20aab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa20aab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa20aab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa20aab14 clang::ento::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 0x0000ffffa23752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa23752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa23752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa23752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa23752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa2376278 llvm::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 0x0000ffffa2376278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa2376278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa237a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa237a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa237a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa237a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa237a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa07d1b88 __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 0x0000ffffa07d1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa07d1b88 void clang::finalize>, 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 0x0000ffffa07d1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa1e95600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa1e4d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa1e4d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa1e4d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa1ed36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad42659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad42694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad426aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad4261fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff993d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff993d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad42620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/additive-folding.cpp.script: line 1: 35873 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -Wno-tautological-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-folding.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/a_flaky_crash.cpp (470 of 19719) ******************** TEST 'Clang :: Analysis/a_flaky_crash.cpp' FAILED ******************** Script: -- : 'RUN: at line 22'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 23'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 24'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 25'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 26'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 27'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 28'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 29'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 30'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 31'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 32'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 33'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 34'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 35'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 36'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 37'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 38'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 39'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 40'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 41'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 42'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 43'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 44'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 45'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 46'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 47'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 48'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 49'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 50'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 51'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 52'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 53'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 54'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 55'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 56'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 57'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 58'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 59'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 60'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 61'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 62'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 63'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 64'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 65'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 66'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 67'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 68'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 69'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 70'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 71'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 72'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 73'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 74'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 75'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 76'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 77'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 78'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 79'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 80'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 81'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 82'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 83'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 84'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 85'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 86'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 87'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 88'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 89'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 90'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 91'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 92'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 93'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 94'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 95'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 96'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 97'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 98'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 99'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 100'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 101'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 102'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 103'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 104'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 105'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 106'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 107'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 108'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 109'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 110'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 111'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 112'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 113'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 114'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 115'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 116'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 117'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 118'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 119'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 120'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 121'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 122'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 123'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 124'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 125'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 126'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 127'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 128'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 129'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 130'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 131'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 132'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 133'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 134'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 135'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 136'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 137'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 138'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 139'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 140'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 141'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 142'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 143'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 144'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 145'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 146'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 147'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 148'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 149'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 150'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 151'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 152'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 153'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 154'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 155'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 156'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 157'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 158'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 159'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 160'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 161'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 162'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 163'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 164'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 165'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 166'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 167'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 168'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 169'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 170'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 171'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 172'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 173'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 174'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 175'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 176'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 177'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 178'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 179'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 180'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 181'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 182'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 183'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 184'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 185'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 186'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 187'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 188'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 189'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 190'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 191'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 192'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 193'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 194'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 195'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 196'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 197'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 198'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 199'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 200'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 201'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 202'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 203'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 204'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 205'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 206'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 207'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 208'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 209'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 210'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 211'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 212'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 213'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 214'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 215'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 216'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 217'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 218'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 219'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 220'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 221'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 222'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 223'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 224'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 225'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 226'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 227'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 228'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 229'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 230'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 231'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 232'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 233'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 234'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 235'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 236'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 237'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 238'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 239'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 240'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 241'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 242'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 243'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 244'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 245'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 246'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 247'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 248'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 249'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 250'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 251'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 252'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 253'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 254'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 255'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 256'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 257'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 258'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 259'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 260'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 261'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 262'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 263'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 264'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 265'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 266'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 267'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 268'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 269'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 270'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 271'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 272'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 273'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 274'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 275'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 276'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 277'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp:16:19: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp:16:19: Error evaluating statement #0 0x0000ffffadc7ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffadc79180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffadc7b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb6c3e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb5b8b9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffb5b8b9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb5b8b9a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb5b8b9a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb5b8b9a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb5b8b9a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb5b8b9a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb5b8b9a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffffb5b8bd94 llvm::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 0x0000ffffb5b8bd94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffb5b8bd94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffb5b8bd94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffffb5b8bd94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffffb5b8c1c8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #18 0x0000ffffb5b8c1c8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #19 0x0000ffffb5b8c1c8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x0000ffffb5b8c1c8 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:507:0 #21 0x0000ffffb5b93db0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #22 0x0000ffffb5b93db0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #23 0x0000ffffb5b93db0 clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #24 0x0000ffffb5b93db0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:665:0 #25 0x0000ffffb5b9920c clang::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 0x0000ffffb5b9920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #27 0x0000ffffb5b9a2b8 clang::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 0x0000ffffb5b9a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb5b9a7cc clang::ento::CoreEngine::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 0x0000ffffb5b9ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #31 0x0000ffffb5b9ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #32 0x0000ffffb5b9ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #33 0x0000ffffb5b9ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #34 0x0000ffffb5b9ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #35 0x0000ffffb5e652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb5e652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb5e652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #38 0x0000ffffb5e652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #39 0x0000ffffb5e652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #40 0x0000ffffb5e66278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #41 0x0000ffffb5e66278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x0000ffffb5e66278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #43 0x0000ffffb5e6a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffffb5e6a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffffb5e6a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x0000ffffb5e6a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x0000ffffb5e6a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x0000ffffb42c1b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #49 0x0000ffffb42c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffffb42c1b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #51 0x0000ffffb42c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffffb5985600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffffb593d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffffb593d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffffb593d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffffb59c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #57 0x0000aaaac83259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x0000aaaac83294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x0000aaaac832aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x0000aaaac8321fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x0000ffffacec098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #62 0x0000ffffacec0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #63 0x0000aaaac83220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/a_flaky_crash.cpp.script: line 256: 35951 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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-op-on-sym-int-expr.c (471 of 19719) ******************** TEST 'Clang :: Analysis/additive-op-on-sym-int-expr.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple=x86_64-unknown-linux-gnu -analyzer-checker=core,apiModeling,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-op-on-sym-int-expr.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple=x86_64-unknown-linux-gnu -analyzer-checker=core,apiModeling,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-op-on-sym-int-expr.c 1. parser at end of file 2. While analyzing stack: #0 Calling crashTest 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-op-on-sym-int-expr.c:163:7: Error evaluating branch #0 0x0000ffff8251ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff82519180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8251b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8b4df7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8a7d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8a7d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8a7d0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8a7d0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8a7d0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8a7d0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8a7d0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8a7d0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8a47e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8a47e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8a47e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8a47e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8a47eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8a47eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8a47eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8a47eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8a492c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8a492c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8a492c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff8a492f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8a492f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8a492f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff8a4924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8a4924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8a4924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8a49eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8a49eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8a49eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8a4a8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8a4a8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8a4a8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8a40c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8a40c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8a40c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8a40c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8a8fb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8a8fb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8a8fb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8a422bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff8a422bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff8a422bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff8a422bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff8a422bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff8a422bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff8a422bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff8a422bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff8a422bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff8a422bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff8a423130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8a43ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8a43ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8a43ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8a43ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8a43ab14 clang::ento::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 0x0000ffff8a7052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8a7052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8a7052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8a7052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8a7052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8a706278 llvm::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 0x0000ffff8a706278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8a706278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8a70a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8a70a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8a70a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8a70a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8a70a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff88b61b88 __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 0x0000ffff88b61b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff88b61b88 void clang::finalize>, 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 0x0000ffff88b61b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8a225600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8a1dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8a1dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8a1dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8a2636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad5a559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad5a594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad5a5aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad5a51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8176098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff81760a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad5a520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/additive-op-on-sym-int-expr.c.script: line 1: 35875 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple=x86_64-unknown-linux-gnu -analyzer-checker=core,apiModeling,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-op-on-sym-int-expr.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR24184.cpp (472 of 19719) ******************** TEST 'Clang :: Analysis/PR24184.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -fcxx-exceptions -analyzer-checker=core -analyzer-checker=alpha.core.PointerArithm,alpha.core.CastToStruct -analyzer-max-loop 64 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR24184.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -analyzer-checker=cplusplus -fcxx-exceptions -analyzer-checker alpha.core.PointerArithm,alpha.core.CastToStruct -analyzer-max-loop 63 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR24184.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -fcxx-exceptions -analyzer-checker=core -analyzer-checker=alpha.core.PointerArithm,alpha.core.CastToStruct -analyzer-max-loop 64 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR24184.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo2() at line 95 #1 Calling foo3(int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR24184.cpp:90:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR24184.cpp:90:10: Error evaluating statement #0 0x0000ffffaac9ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffaac99180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffaac9b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb3c5f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb2f50e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb2f50e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb2f50e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb2f50e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb2f50e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb2f50e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb2f50e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb2f50e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb2bfe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb2bfe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb2bfe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb2bfe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb2bfeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb2bfeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb2bfeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb2bfeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb2c11aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb2c11aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb2c11aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb2c12ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb2c12ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb2c12ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb2c124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb2c124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb2c124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb2c1eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb2c1eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb2c1eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb2c28484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb2c28484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb2c28484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb2b8c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb2b8c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb2b8c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb2b8c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb307b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb307b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb307b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb2cac500 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb2cac500 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb2cac500 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffb2cac500 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffb2b76c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffb2b9f570 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffb2b9f570 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffb2b9f7ac llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffffb2b9f7ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffb2b9f7ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffb2b9f7ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffb2baf470 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffb2baf470 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffb2baf470 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffb2bb8c34 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffb2bb8c34 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffb2bb8c34 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffb2bba2b8 clang::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 0x0000ffffb2bba5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb2bba7cc clang::ento::CoreEngine::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 0x0000ffffb2bbab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffb2bbab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffb2bbab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffb2bbab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffb2bbab14 clang::ento::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 0x0000ffffb2e852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffb2e852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffb2e852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffb2e852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffb2e852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffb2e86278 llvm::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 0x0000ffffb2e86278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffb2e86278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffb2e8a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffb2e8a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffb2e8a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffb2e8a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffb2e8a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffb12e1b88 __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 0x0000ffffb12e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffb12e1b88 void clang::finalize>, 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 0x0000ffffb12e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffb29a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffb295d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffb295d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffb295d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffb29e36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaaaad859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaaaad894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaaaad8aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaaaad81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffa9ee098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffa9ee0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaaaad820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR24184.cpp.script: line 2: 35822 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -fcxx-exceptions -analyzer-checker=core -analyzer-checker=alpha.core.PointerArithm,alpha.core.CastToStruct -analyzer-max-loop 64 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR24184.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/UserNullabilityAnnotations.m (473 of 19719) ******************** TEST 'Clang :: Analysis/UserNullabilityAnnotations.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/UserNullabilityAnnotations.m -Wno-tautological-pointer-compare -analyzer-checker=core -analyzer-checker=nullability -analyzer-checker=debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/UserNullabilityAnnotations.m -Wno-tautological-pointer-compare -analyzer-checker=core -analyzer-checker=nullability -analyzer-checker=debug.ExprInspection 1. parser at end of file #0 0x0000ffffb5a0ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb5a09180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb5a0b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbe9c57e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbdcc0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbdcc0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbdcc0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbdcc0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbdcc0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbdcc0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbdcc0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbdcc0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbd96e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbd96e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbd96e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbd96e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbd96eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbd96eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbd96eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbd96eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbd981aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbd981aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbd981aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbd982ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbd982ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbd982ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbd9824c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbd9824c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbd9824c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbd98eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbd98eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbd98eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbd998484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbd998484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbd998484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbd8fc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbd8fc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbd8fc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbd8fc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbd8fcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbd8fcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbd8fcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffbdadee10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffbdadee10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffbdadee10 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffbdadee10 checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp:269:0 #46 0x0000ffffbdadee10 void clang::ento::check::BeginFunction::_checkBeginFunction<(anonymous namespace)::NonNullParamChecker>(void*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:244:0 #47 0x0000ffffbd8e5618 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #48 0x0000ffffbd8e5618 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #49 0x0000ffffbd92add4 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #50 0x0000ffffbd92add4 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #51 0x0000ffffbd92add4 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #52 0x0000ffffbdbf52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #53 0x0000ffffbdbf52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #54 0x0000ffffbdbf52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #55 0x0000ffffbdbf52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #56 0x0000ffffbdbf52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #57 0x0000ffffbdbf6278 llvm::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 0x0000ffffbdbf6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #59 0x0000ffffbdbf6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #60 0x0000ffffbdbfa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffffbdbfa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffffbdbfa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #63 0x0000ffffbdbfa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #64 0x0000ffffbdbfa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #65 0x0000ffffbc051b88 __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 0x0000ffffbc051b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #67 0x0000ffffbc051b88 void clang::finalize>, 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 0x0000ffffbc051b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #69 0x0000ffffbd715600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #70 0x0000ffffbd6cd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #71 0x0000ffffbd6cd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #72 0x0000ffffbd6cd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #73 0x0000ffffbd7536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #74 0x0000aaaab97559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #75 0x0000aaaab97594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #76 0x0000aaaab975aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #77 0x0000aaaab9751fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #78 0x0000ffffb4c5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #79 0x0000ffffb4c50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #80 0x0000aaaab97520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/UserNullabilityAnnotations.m.script: line 1: 35872 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/UserNullabilityAnnotations.m -Wno-tautological-pointer-compare -analyzer-checker=core -analyzer-checker=nullability -analyzer-checker=debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/array-punned-region.c (474 of 19719) ******************** TEST 'Clang :: Analysis/array-punned-region.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false -triple x86_64-pc-linux-gnu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-punned-region.c : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false -triple i386-pc-linux-gnu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-punned-region.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false -triple x86_64-pc-linux-gnu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-punned-region.c 1. parser at end of file 2. While analyzing stack: #0 Calling array_struct_bitfield_3 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-punned-region.c:38:25: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-punned-region.c:38:25: Error evaluating statement #0 0x0000ffff777ead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff777e9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff777eb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff807a27e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff7f8ee8d8 isEqual /usr/include/llvm/ADT/ImmutableMap.h:45:41 #5 0x0000ffff7f8ee8d8 add_internal /usr/include/llvm/ADT/ImmutableSet.h:538:26 #6 0x0000ffff7f8ee8d8 add /usr/include/llvm/ADT/ImmutableSet.h:396:0 #7 0x0000ffff7f8ee8d8 add /usr/include/llvm/ADT/ImmutableMap.h:100:0 #8 0x0000ffff7f8ee8d8 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:0 #9 0x0000ffff7f8ee8d8 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::RegionState>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::RegionState>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::RegionState>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::RegionState>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #10 0x0000ffff7f8ef75c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #11 0x0000ffff7f8ef75c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x0000ffff7f8ef75c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x0000ffff7f8ef75c set<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #14 0x0000ffff7f8ef75c checkPostStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp:270:0 #15 0x0000ffff7f8ef75c void clang::ento::check::PostStmt::_checkStmt<(anonymous namespace)::PointerArithChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:104:0 #16 0x0000ffff7f6c5308 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #17 0x0000ffff7f6c5308 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #18 0x0000ffff7f708c58 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #19 0x0000ffff7f708c58 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2259:0 #20 0x0000ffff7f70a2b8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #21 0x0000ffff7f70a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff7f70a7cc clang::ento::CoreEngine::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 0x0000ffff7f70ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffff7f70ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffff7f70ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffff7f70ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffff7f70ab14 clang::ento::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 0x0000ffff7f9d52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffff7f9d52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffff7f9d52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffff7f9d52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffff7f9d52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffff7f9d6278 llvm::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 0x0000ffff7f9d6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffff7f9d6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffff7f9da900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffff7f9da900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffff7f9da900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffff7f9da900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffff7f9da900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffff7de31b88 __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 0x0000ffff7de31b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffff7de31b88 void clang::finalize>, 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 0x0000ffff7de31b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffff7f4f5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffff7f4ad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffff7f4ad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffff7f4ad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffff7f5336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaaae0759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaaae0794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaaae07aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaaae071fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffff76a3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffff76a30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaaae0720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-punned-region.c.script: line 2: 35944 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false -triple x86_64-pc-linux-gnu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-punned-region.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/analyzeOneFunction.m (475 of 19719) ******************** TEST 'Clang :: Analysis/analyzeOneFunction.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze-function="-[Test1 myMethodWithY:withX:]" -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analyzeOneFunction.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer "-analyze-function=-[Test1 myMethodWithY:withX:]" -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analyzeOneFunction.m 1. parser at end of file #0 0x0000ffff8c57ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8c579180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8c57b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9553d7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff94830e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff94830e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff94830e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff94830e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff94830e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff94830e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff94830e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff94830e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff944de018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff944de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff944de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff944de018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff944deef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff944deef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff944deef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff944deef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff944f1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff944f1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff944f1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff944f2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff944f2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff944f2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff944f24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff944f24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff944f24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff944feb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff944feb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff944feb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff94508484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff94508484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff94508484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9446c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9446c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9446c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9446c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9446cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9446cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9446cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff94440400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff94440400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff94440400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9447cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9447cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9447cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff9449ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9449ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9449ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff947652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff947652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff947652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff947652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff947652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff94766278 llvm::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 0x0000ffff94766278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff94766278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9476a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9476a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9476a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9476a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9476a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff92bc1b88 __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 0x0000ffff92bc1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff92bc1b88 void clang::finalize>, 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 0x0000ffff92bc1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff94285600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9423d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9423d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9423d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff942c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaaadb859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaaadb894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaaadb8aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaaadb81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8b7c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff8b7c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaaadb820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/analyzeOneFunction.m.script: line 1: 35888 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze-function="-[Test1 myMethodWithY:withX:]" -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analyzeOneFunction.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/array-bound-v2-constraint-check.c (476 of 19719) ******************** TEST 'Clang :: Analysis/array-bound-v2-constraint-check.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.ArrayBoundV2,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-bound-v2-constraint-check.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.ArrayBoundV2,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-bound-v2-constraint-check.c 1. parser at end of file 2. While analyzing stack: #0 Calling symbolic_longlong_and_int2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-bound-v2-constraint-check.c:95:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-bound-v2-constraint-check.c:95:9: Error evaluating statement #0 0x0000ffff944bad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff944b9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff944bb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9d4717e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9c3f7cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff9c3f7cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9c3f7cb0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9c3f7cb0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9c3f7cb0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9c3f7cb0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9c3f7cb0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff9c3f7cb0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff9c3f7cb0 (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 0x0000ffff9c3f7d8c (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffff9c44b478 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffff9c44b478 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffff9c44acb4 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1270:0 #17 0x0000ffff9c44acb4 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:0 #18 0x0000ffff9c8582f4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffff9c8582f4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffff9c8582f4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffff9c4327b4 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffff9c4327b4 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffff9c449748 (anonymous namespace)::SimpleSValBuilder::evalBinOpNN(llvm::IntrusiveRefCntPtr, clang::BinaryOperatorKind, clang::ento::NonLoc, clang::ento::NonLoc, clang::QualType) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:416:0 #24 0x0000ffff9c446d50 compareValueToThreshold(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, clang::ento::NonLoc, clang::ento::SValBuilder&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp:135:0 #25 0x0000ffff9c76e850 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #26 0x0000ffff9c76e850 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #27 0x0000ffff9c76e850 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x0000ffff9c76e850 (anonymous namespace)::ArrayBoundCheckerV2::checkLocation(clang::ento::SVal, bool, clang::Stmt const*, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp:201:0 #29 0x0000ffff9c396c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #30 0x0000ffff9c3bf570 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #31 0x0000ffff9c3bf570 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #32 0x0000ffff9c3bf7ac llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #33 0x0000ffff9c3bf7ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #34 0x0000ffff9c3bf7ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #35 0x0000ffff9c3bf7ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #36 0x0000ffff9c3cf470 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x0000ffff9c3cf470 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x0000ffff9c3cf470 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #39 0x0000ffff9c3d8c34 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #40 0x0000ffff9c3d8c34 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #41 0x0000ffff9c3d8c34 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #42 0x0000ffff9c3da2b8 clang::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 0x0000ffff9c3da5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9c3da7cc clang::ento::CoreEngine::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 0x0000ffff9c3dab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffff9c3dab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffff9c3dab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffff9c3dab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffff9c3dab14 clang::ento::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 0x0000ffff9c6a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffff9c6a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff9c6a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffff9c6a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffff9c6a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffff9c6a6278 llvm::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 0x0000ffff9c6a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffff9c6a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffff9c6aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffff9c6aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffff9c6aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffff9c6aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffff9c6aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffff9ab01b88 __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 0x0000ffff9ab01b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffff9ab01b88 void clang::finalize>, 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 0x0000ffff9ab01b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffff9c1c5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffff9c17d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffff9c17d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffff9c17d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffff9c2036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaae57959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaae57994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaae579aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaae5791fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff9370098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff93700a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaae57920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-bound-v2-constraint-check.c.script: line 1: 35935 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.ArrayBoundV2,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-bound-v2-constraint-check.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/array-struct-region.c (477 of 19719) ******************** TEST 'Clang :: Analysis/array-struct-region.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.c 1. parser at end of file 2. While analyzing stack: #0 Calling testFieldChainIsNotEnough 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.c:349:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.c:349:3: Error evaluating statement #0 0x0000ffff9c4bad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9c4b9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9c4bb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa54797e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa45d950c retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa45d950c retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa45d950c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa45d950c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa45d950c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa45d950c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa45d950c get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffa45d950c getArrayRegion /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp:130:0 #12 0x0000ffffa45d950c (anonymous namespace)::PointerArithChecker::reportPointerArithMisuse(clang::Expr const*, clang::ento::CheckerContext&, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp:166:0 #13 0x0000ffffa45d9c90 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp:313:0 #14 0x0000ffffa45d9c90 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::PointerArithChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:0 #15 0x0000ffffa4395308 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #16 0x0000ffffa4395308 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #17 0x0000ffffa43c14f0 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffffa43c14f0 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffffa43c14f0 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffffa43c14f0 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffffa43c14f0 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffffa43c14f0 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffffa43c14f0 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 0x0000ffffa43d9a60 clang::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 0x0000ffffa43d9a60 clang::ento::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 0x0000ffffa43da2b8 clang::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 0x0000ffffa43da5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa43da7cc clang::ento::CoreEngine::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 0x0000ffffa43dab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffffa43dab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffffa43dab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffffa43dab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffffa43dab14 clang::ento::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 0x0000ffffa46a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffffa46a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffffa46a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffffa46a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffffa46a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffffa46a6278 llvm::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 0x0000ffffa46a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffffa46a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffffa46aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffffa46aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffffa46aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffffa46aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffffa46aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffffa2b01b88 __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 0x0000ffffa2b01b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffffa2b01b88 void clang::finalize>, 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 0x0000ffffa2b01b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffffa41c5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffffa417d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffffa417d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffffa417d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffffa42036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaad44c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaad44c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaad44caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaad44c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffff9b70098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffff9b700a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaad44c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-struct-region.c.script: line 1: 35948 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/array-struct.c (478 of 19719) ******************** TEST 'Clang :: Analysis/array-struct.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.CastToStruct -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.CastToStruct -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct.c 1. parser at end of file 2. While analyzing stack: #0 Calling testRValueArraySubscriptExpr 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct.c:206:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct.c:206:3: Error evaluating statement #0 0x0000ffffb46ead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb46e9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb46eb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbd6a67e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbc9a0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbc9a0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbc9a0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbc9a0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbc9a0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbc9a0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbc9a0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbc9a0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbc64e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbc64e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbc64e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbc64e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbc64eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbc64eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbc64eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbc64eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbc661aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbc661aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbc661aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbc662ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbc662ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbc662ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbc6624c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbc6624c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbc6624c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbc66eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbc66eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbc66eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbc678484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbc678484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbc678484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbc5dc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbc5dc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbc5dc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbc5dc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbcacb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbcacb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbcacb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbc6fc500 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffbc6fc500 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffbc6fc500 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffbc6fc500 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffbc5c6c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffbc5ef570 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffbc5ef570 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffbc5f4b68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffffbc5f4b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffbc5f4b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffbc5f4b68 clang::ento::ExprEngine::evalStore(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ento::SVal, clang::ProgramPointTag const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3628:15 #53 0x0000ffffbc5fdb34 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffbc5fdb34 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffbc5fdb34 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:74:0 #56 0x0000ffffbc609f88 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #57 0x0000ffffbc60a2b8 clang::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 0x0000ffffbc60a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbc60a7cc clang::ento::CoreEngine::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 0x0000ffffbc60ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffffbc60ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffffbc60ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #63 0x0000ffffbc60ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #64 0x0000ffffbc60ab14 clang::ento::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 0x0000ffffbc8d52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #66 0x0000ffffbc8d52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #67 0x0000ffffbc8d52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #68 0x0000ffffbc8d52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #69 0x0000ffffbc8d52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #70 0x0000ffffbc8d6278 llvm::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 0x0000ffffbc8d6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x0000ffffbc8d6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #73 0x0000ffffbc8da900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x0000ffffbc8da900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x0000ffffbc8da900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x0000ffffbc8da900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x0000ffffbc8da900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x0000ffffbad31b88 __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 0x0000ffffbad31b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x0000ffffbad31b88 void clang::finalize>, 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 0x0000ffffbad31b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x0000ffffbc3f5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #83 0x0000ffffbc3ad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #84 0x0000ffffbc3ad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #85 0x0000ffffbc3ad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #86 0x0000ffffbc4336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #87 0x0000aaaae70f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x0000aaaae70f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x0000aaaae70faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x0000aaaae70f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x0000ffffb393098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #92 0x0000ffffb3930a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #93 0x0000aaaae70f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-struct.c.script: line 1: 35973 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.CastToStruct -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/analyzer-stats.c (479 of 19719) ******************** TEST 'Clang :: Analysis/analyzer-stats.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,deadcode.DeadStores,debug.Stats -verify -Wno-unreachable-code -analyzer-max-loop 4 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analyzer-stats.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,deadcode.DeadStores,debug.Stats -verify -Wno-unreachable-code -analyzer-max-loop 4 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analyzer-stats.c 1. parser at end of file 2. While analyzing stack: #0 Calling test 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analyzer-stats.c:9:7: Error evaluating branch #0 0x0000ffff8cb7ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8cb79180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8cb7b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff95b397e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff94e30e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff94e30e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff94e30e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff94e30e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff94e30e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff94e30e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff94e30e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff94e30e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff94ade018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff94ade018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff94ade018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff94ade018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff94adeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff94adeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff94adeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff94adeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff94af2c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff94af2c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff94af2c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff94af2f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff94af2f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff94af2f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff94af24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff94af24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff94af24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff94afeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff94afeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff94afeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff94b08484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff94b08484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff94b08484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff94a6c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff94a6c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff94a6c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff94a6c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff94f5b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff94f5b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff94f5b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff94a82bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff94a82bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff94a82bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff94a82bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff94a82bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff94a82bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff94a82bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff94a82bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff94a82bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff94a82bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff94a83130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff94a9ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff94a9ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff94a9ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff94a9ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff94a9ab14 clang::ento::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 0x0000ffff94d652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff94d652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff94d652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff94d652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff94d652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff94d66278 llvm::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 0x0000ffff94d66278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff94d66278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff94d6a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff94d6a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff94d6a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff94d6a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff94d6a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff931c1b88 __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 0x0000ffff931c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff931c1b88 void clang::finalize>, 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 0x0000ffff931c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff94885600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9483d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9483d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9483d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff948c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabde359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabde394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabde3aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabde31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8bdc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8bdc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabde320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/analyzer-stats.c.script: line 1: 35931 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,deadcode.DeadStores,debug.Stats -verify -Wno-unreachable-code -analyzer-max-loop 4 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analyzer-stats.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/array-init-loop.cpp (481 of 19719) ******************** TEST 'Clang :: Analysis/array-init-loop.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-init-loop.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-init-loop.cpp 1. parser at end of file #0 0x0000ffff8fddad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8fdd9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8fddb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff98d947e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff98090e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff98090e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff98090e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff98090e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff98090e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff98090e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff98090e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff98090e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff97d3e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff97d3e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff97d3e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff97d3e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff97d3eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff97d3eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff97d3eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff97d3eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff97d51aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff97d51aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff97d51aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff97d52ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff97d52ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff97d52ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff97d524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff97d524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff97d524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff97d5eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff97d5eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff97d5eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff97d68484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff97d68484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff97d68484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff97ccc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff97ccc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff97ccc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff97ccc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff97cccec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff97cccec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff97cccec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff97ca0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff97ca0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff97ca0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff97cdce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff97cdce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff97cdce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff97cfae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff97cfae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff97cfae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff97fc52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff97fc52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff97fc52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff97fc52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff97fc52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff97fc6278 llvm::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 0x0000ffff97fc6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff97fc6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff97fca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff97fca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff97fca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff97fca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff97fca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff96421b88 __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 0x0000ffff96421b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff96421b88 void clang::finalize>, 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 0x0000ffff96421b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff97ae5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff97a9d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff97a9d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff97a9d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff97b236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad44f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad44f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad44faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad44f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8f02098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff8f020a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad44f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-init-loop.cpp.script: line 1: 35942 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-init-loop.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/array-struct-region.cpp (482 of 19719) ******************** TEST 'Clang :: Analysis/array-struct-region.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -verify -Wno-tautological-compare -x c /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -verify -Wno-tautological-compare -x c++ -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -verify -Wno-tautological-compare -x c++ -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp : 'RUN: at line 13'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -verify -Wno-tautological-compare -DINLINE -x c /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -verify -Wno-tautological-compare -DINLINE -x c++ -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp : 'RUN: at line 21'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -verify -Wno-tautological-compare -DINLINE -x c++ -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -verify -Wno-tautological-compare -x c /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testImmediateUseParens 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp:116:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp:116:7: Error evaluating statement #0 0x0000ffffae31ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffae319180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffae31b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb72d47e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb65d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb65d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb65d0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb65d0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb65d0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb65d0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb65d0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb65d0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb627e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb627e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb627e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb627e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb627eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb627eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb627eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb627eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb6291aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb6291aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb6291aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb6292ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb6292ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb6292ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb62924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb62924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb62924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb629eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb629eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb629eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb62a8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb62a8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb62a8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb620c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb620c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb620c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb620c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb66fb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb66fb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb66fb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb621fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb621fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb621fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb623a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb623a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb623a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb623a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb623a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb623a2b8 clang::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 0x0000ffffb623a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb623a7cc clang::ento::CoreEngine::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 0x0000ffffb623ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb623ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb623ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb623ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb623ab14 clang::ento::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 0x0000ffffb65052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb65052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb65052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb65052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb65052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb6506278 llvm::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 0x0000ffffb6506278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb6506278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb650a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb650a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb650a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb650a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb650a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb4961b88 __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 0x0000ffffb4961b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb4961b88 void clang::finalize>, 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 0x0000ffffb4961b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb6025600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb5fdd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb5fdd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb5fdd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb60636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaadf7c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaadf7c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaadf7caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaadf7c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffad56098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffad560a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaadf7c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-struct-region.cpp.script: line 6: 35971 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -verify -Wno-tautological-compare -x c /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/atomics.c (483 of 19719) ******************** TEST 'Clang :: Analysis/atomics.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/atomics.c -analyzer-config eagerly-assume=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/atomics.c -analyzer-config eagerly-assume=false 1. parser at end of file 2. While analyzing stack: #0 Calling test_atomic_compare #0 0x0000ffff7c38ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7c389180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7c38b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff853487e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff842ea104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff842ea104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff842ea104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff842ea104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff842ea104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff842ea104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff842953bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff842953bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff842953bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff842c0e2c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #14 0x0000ffff842c0e2c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #15 0x0000ffff8429a3e8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #16 0x0000ffff8429a3e8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #17 0x0000ffff8429a3e8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #18 0x0000ffff8429a3e8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #19 0x0000ffff8429a878 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #20 0x0000ffff842aa954 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #21 0x0000ffff842aab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffff842aab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffff842aab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffff842aab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffff842aab14 clang::ento::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 0x0000ffff845752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff845752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff845752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffff845752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffff845752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffff84576278 llvm::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 0x0000ffff84576278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffff84576278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffff8457a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffff8457a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffff8457a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffff8457a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffff8457a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffff829d1b88 __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 0x0000ffff829d1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffff829d1b88 void clang::finalize>, 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 0x0000ffff829d1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffff84095600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffff8404d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffff8404d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffff8404d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffff840d36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaad53459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaad53494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaad534aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaad5341fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffff7b5d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffff7b5d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaad53420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/atomics.c.script: line 1: 35994 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/atomics.c -analyzer-config eagerly-assume=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/assume-controlled-environment.c (484 of 19719) ******************** TEST 'Clang :: Analysis/assume-controlled-environment.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify=untrusted-env /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/assume-controlled-environment.c -analyzer-checker=core -analyzer-checker=alpha.security.taint -analyzer-checker=debug.TaintTest : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/assume-controlled-environment.c -DEXPECT_NO_WARNINGS -analyzer-config assume-controlled-environment=true -analyzer-checker=core -analyzer-checker=alpha.security.taint -analyzer-checker=debug.TaintTest -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify=untrusted-env /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/assume-controlled-environment.c -analyzer-checker=core -analyzer-checker=alpha.security.taint -analyzer-checker=debug.TaintTest 1. parser at end of file 2. While analyzing stack: #0 Calling foo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/assume-controlled-environment.c:20:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/assume-controlled-environment.c:20:13: Error evaluating statement #0 0x0000ffff92dbad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff92db9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff92dbb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9bd777e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9b0673b8 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9b0673b8 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9b0673b8 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9b0673b8 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9b0673b8 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9b0673b8 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 0x0000ffff9b0673b8 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9b0673b8 (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 0x0000ffff9ac967b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff9ac967b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff9ac967b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #15 0x0000ffff9ac967b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #16 0x0000ffff9ac967b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #17 0x0000ffff9acf6c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #18 0x0000ffff9acf6c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #19 0x0000ffff9acf6c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #20 0x0000ffff9acf6c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #21 0x0000ffff9acf6c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #22 0x0000ffff9acf6c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #23 0x0000ffff9acf74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #24 0x0000ffff9acd9250 clang::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 0x0000ffff9acd9250 clang::ento::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 0x0000ffff9acda2b8 clang::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 0x0000ffff9acda5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9acda7cc clang::ento::CoreEngine::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 0x0000ffff9acdab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffff9acdab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffff9acdab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffff9acdab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffff9acdab14 clang::ento::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 0x0000ffff9afa52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffff9afa52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffff9afa52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffff9afa52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffff9afa52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffff9afa6278 llvm::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 0x0000ffff9afa6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffff9afa6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffff9afaa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffff9afaa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffff9afaa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffff9afaa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffff9afaa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffff99401b88 __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 0x0000ffff99401b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffff99401b88 void clang::finalize>, 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 0x0000ffff99401b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffff9aac5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffff9aa7d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffff9aa7d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffff9aa7d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffff9ab036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaad50259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaad50294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaad502aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaad5021fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffff9200098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffff92000a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaad50220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/assume-controlled-environment.c.script: line 2: 35992 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify=untrusted-env /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/assume-controlled-environment.c -analyzer-checker=core -analyzer-checker=alpha.security.taint -analyzer-checker=debug.TaintTest -- ******************** Testing: 0 FAIL: Clang :: Analysis/block-in-critical-section.cpp (490 of 19719) ******************** TEST 'Clang :: Analysis/block-in-critical-section.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.BlockInCriticalSection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/block-in-critical-section.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.BlockInCriticalSection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/block-in-critical-section.cpp 1. parser at end of file #0 0x0000ffff7de3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7de39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7de3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff86df77e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff85d49f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff85d49f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff85d49f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff85d49f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff85d49f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff85d49f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff85d49f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff85d49f54 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 0x0000ffff85d4a878 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 0x0000ffff85d5a954 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 0x0000ffff85d5ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff85d5ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff85d5ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff85d5ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff85d5ab14 clang::ento::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 0x0000ffff860252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff860252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff860252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff860252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff860252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff86026278 llvm::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 0x0000ffff86026278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff86026278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff8602a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff8602a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff8602a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff8602a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff8602a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff84481b88 __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 0x0000ffff84481b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff84481b88 void clang::finalize>, 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 0x0000ffff84481b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff85b45600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff85afd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff85afd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff85afd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff85b836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaaaf3d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaaaf3d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaaaf3daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaaaf3d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff7d08098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff7d080a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaaaf3d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/block-in-critical-section.cpp.script: line 1: 36010 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.BlockInCriticalSection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/block-in-critical-section.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/autoreleasewritechecker_test.m (491 of 19719) ******************** TEST 'Clang :: Analysis/autoreleasewritechecker_test.m' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DARC -fobjc-arc -analyzer-checker=core,osx.cocoa.AutoreleaseWrite /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/autoreleasewritechecker_test.m -triple x86_64-darwin -fblocks -verify : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DNOARC -analyzer-checker=core,osx.cocoa.AutoreleaseWrite /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/autoreleasewritechecker_test.m -fblocks -triple x86_64-darwin -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DARC -fobjc-arc -analyzer-checker=core,osx.cocoa.AutoreleaseWrite /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/autoreleasewritechecker_test.m -triple x86_64-darwin -fblocks -verify 1. parser at end of file 2. While analyzing stack: #0 Calling writeIntoError at line 340 #1 Calling anonymous code 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/autoreleasewritechecker_test.m:274:3: Error evaluating statement #0 0x0000ffff9e77ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9e779180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9e77b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa773c7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa6676124 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa6676124 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa6676124 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa6676124 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa6676124 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa6676124 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 0x0000ffffa6676124 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa6676124 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffffa6a200f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffa6a200f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffa6a200f8 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffffa6a200f8 (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 0x0000ffffa666aae4 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 0x0000ffffa66852e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffffa66852e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffffa66852e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffffa66852e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffffa66852e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffffa66852e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffffa66852e8 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 0x0000ffffa669a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffffa669a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffffa669a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffffa669a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffffa669a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffffa669a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffffa669a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffffa669a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffffa669a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #33 0x0000ffffa669a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa669a7cc clang::ento::CoreEngine::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 0x0000ffffa669ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffa669ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffa669ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffa669ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffa669ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffffa69652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffa69652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffa69652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffa69652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffa69652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffa6966278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffffa6966278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffa6966278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffa696a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffa696a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffa696a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffa696a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffa696a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffa4dc1b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffffa4dc1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffa4dc1b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffffa4dc1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffa6485600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffa643d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffa643d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffa643d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffa64c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaaad5f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaaad5f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaaad5faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaaad5f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff9d9c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff9d9c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaaad5f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/autoreleasewritechecker_test.m.script: line 2: 36006 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DARC -fobjc-arc -analyzer-checker=core,osx.cocoa.AutoreleaseWrite /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/autoreleasewritechecker_test.m -triple x86_64-darwin -fblocks -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/base-init.cpp (492 of 19719) ******************** TEST 'Clang :: Analysis/base-init.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/base-init.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/base-init.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling B::B() at line 27 #1 Calling f() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/base-init.cpp:23:4: Error evaluating statement #0 0x0000ffff88a6ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff88a69180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff88a6b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff91a2a7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff909750b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff909750b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff909750b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff909750b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff909750b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff909750b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff909750b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff909750b8 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 0x0000ffff9098a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff9098a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff9098a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff9098a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff9098a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff9098a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff9098a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff9098a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff9098a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff9098a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9098a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff9098a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff9098ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff9098ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff9098ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff9098ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff9098ab14 clang::ento::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 0x0000ffff90c552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff90c552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff90c552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff90c552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff90c552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff90c56278 llvm::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 0x0000ffff90c56278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff90c56278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff90c5a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff90c5a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff90c5a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff90c5a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff90c5a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff8f0b1b88 __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 0x0000ffff8f0b1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff8f0b1b88 void clang::finalize>, 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 0x0000ffff8f0b1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff90775600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff9072d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff9072d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff9072d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff907b36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaadef059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaadef094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaadef0aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaadef01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff87cb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff87cb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaadef020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/base-init.cpp.script: line 1: 36004 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/base-init.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/bug_hash_test.cpp (493 of 19719) ******************** TEST 'Clang :: Analysis/bug_hash_test.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bug_hash_test.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bug_hash_test.cpp -verify 1. parser at end of file #0 0x0000ffff769aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff769a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff769ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff7f9697e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff7e8b9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff7e8b9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff7e8b9f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff7e8b9f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff7e8b9f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff7e8b9f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff7e8b9f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff7e8b9f54 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 0x0000ffff7e8ba878 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 0x0000ffff7e8ca954 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 0x0000ffff7e8cab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff7e8cab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff7e8cab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff7e8cab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff7e8cab14 clang::ento::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 0x0000ffff7eb952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff7eb952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff7eb952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff7eb952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff7eb952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff7eb96278 llvm::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 0x0000ffff7eb96278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff7eb96278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff7eb9a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff7eb9a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff7eb9a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff7eb9a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff7eb9a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff7cff1b88 __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 0x0000ffff7cff1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff7cff1b88 void clang::finalize>, 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 0x0000ffff7cff1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff7e6b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff7e66d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff7e66d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff7e66d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff7e6f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaae54d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaae54d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaae54daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaae54d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff75bf098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff75bf0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaae54d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bug_hash_test.cpp.script: line 1: 36059 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bug_hash_test.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/bool-assignment.c (494 of 19719) ******************** TEST 'Clang :: Analysis/bool-assignment.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.BoolAssignment,alpha.security.taint -verify -std=c99 -Dbool=_Bool /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bool-assignment.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.BoolAssignment,alpha.security.taint -verify -x c++ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bool-assignment.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.BoolAssignment,alpha.security.taint -verify -std=c99 -Dbool=_Bool /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bool-assignment.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_tainted_Boolean 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bool-assignment.c:111:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bool-assignment.c:111:3: Error evaluating statement #0 0x0000ffff8dcdad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8dcd9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8dcdb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff96c917e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff95f873b8 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff95f873b8 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff95f873b8 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff95f873b8 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff95f873b8 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff95f873b8 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 0x0000ffff95f873b8 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff95f873b8 (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 0x0000ffff95bb67b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff95bb67b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff95bb67b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #15 0x0000ffff95bb67b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #16 0x0000ffff95bb67b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #17 0x0000ffff95c16c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #18 0x0000ffff95c16c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #19 0x0000ffff95c16c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #20 0x0000ffff95c16c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #21 0x0000ffff95c16c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #22 0x0000ffff95c16c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #23 0x0000ffff95c174f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #24 0x0000ffff95bf9250 clang::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 0x0000ffff95bf9250 clang::ento::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 0x0000ffff95bfa2b8 clang::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 0x0000ffff95bfa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff95bfa7cc clang::ento::CoreEngine::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 0x0000ffff95bfab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffff95bfab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffff95bfab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffff95bfab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffff95bfab14 clang::ento::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 0x0000ffff95ec52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffff95ec52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffff95ec52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffff95ec52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffff95ec52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffff95ec6278 llvm::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 0x0000ffff95ec6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffff95ec6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffff95eca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffff95eca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffff95eca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffff95eca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffff95eca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffff94321b88 __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 0x0000ffff94321b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffff94321b88 void clang::finalize>, 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 0x0000ffff94321b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffff959e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffff9599d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffff9599d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffff9599d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffff95a236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaac0fd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaac0fd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaac0fdaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaac0fd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffff8cf2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffff8cf20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaac0fd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bool-assignment.c.script: line 2: 36032 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.BoolAssignment,alpha.security.taint -verify -std=c99 -Dbool=_Bool /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bool-assignment.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/blocks.mm (495 of 19719) ******************** TEST 'Clang :: Analysis/blocks.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core -fblocks -verify -x objective-c++ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,debug.DumpCFG -fblocks -analyzer-config cfg-rich-constructors=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks.mm.tmp 2>&1 : 'RUN: at line 3'; /usr/bin/FileCheck --input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks.mm.tmp -check-prefixes=CHECK,WARNINGS /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,debug.DumpCFG -fblocks -analyzer-config cfg-rich-constructors=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks.mm.tmp 2>&1 : 'RUN: at line 5'; /usr/bin/FileCheck --input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks.mm.tmp -check-prefixes=CHECK,ANALYZER /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core -fblocks -verify -x objective-c++ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm 1. parser at end of file 2. While analyzing stack: #0 Calling testBlockWithCaptureByReference() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm:66:37: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm:66:37: Error evaluating statement #0 0x0000ffff8598ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff85989180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8598b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8e94e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8d895734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8d895734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8d895734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8d895734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8d895734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8d895734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8d895734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff8d895734 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 0x0000ffff8d85d914 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff8d85d914 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff8d85d914 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 0x0000ffff8d85d914 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 0x0000ffff8d8ddc70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #17 0x0000ffff8d8ddc70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #18 0x0000ffff8d8ddc70 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 0x0000ffff8d8de684 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x0000ffff8d8de684 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x0000ffff8d8de684 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 0x0000ffff8d867268 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 0x0000ffff8d8a33d8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #24 0x0000ffff8d8a33d8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #25 0x0000ffff8d8a33d8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #26 0x0000ffff8d8a33d8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #27 0x0000ffff8d8a33d8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #28 0x0000ffff8d8a33d8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #29 0x0000ffff8d8a33d8 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 0x0000ffff8d8a920c clang::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 0x0000ffff8d8a920c clang::ento::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 0x0000ffff8d8aa2b8 clang::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 0x0000ffff8d8aa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8d8aa7cc clang::ento::CoreEngine::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 0x0000ffff8d8aab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff8d8aab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff8d8aab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff8d8aab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff8d8aab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffff8db752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff8db752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff8db752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff8db752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff8db752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff8db76278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffff8db76278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff8db76278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff8db7a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff8db7a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff8db7a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff8db7a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff8db7a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff8bfd1b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffff8bfd1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff8bfd1b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffff8bfd1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff8d695600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff8d64d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff8d64d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff8d64d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff8d6d36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaae73559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaae73594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaae735aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaae7351fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff84bd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff84bd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaae73520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks.mm.script: line 5: 36034 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core -fblocks -verify -x objective-c++ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/bitwise-ops-nocrash.c (496 of 19719) ******************** TEST 'Clang :: Analysis/bitwise-ops-nocrash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -triple x86_64-linux-gnu -Wno-shift-count-overflow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bitwise-ops-nocrash.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -triple x86_64-linux-gnu -Wno-shift-count-overflow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bitwise-ops-nocrash.c 1. parser at end of file #0 0x0000ffff7bc2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7bc29180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7bc2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff84bec7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff83ee0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff83ee0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff83ee0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff83ee0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff83ee0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff83ee0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff83ee0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff83ee0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff83b8e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff83b8e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff83b8e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff83b8e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff83b90038 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff83b90038 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff83b90038 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff83b90038 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffff83ba2188 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff83ba2188 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff83ba2188 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffff83ba26e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff83ba26e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff83ba26e4 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffff83b1d018 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff83b1d018 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff83b1d018 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffff83b1d018 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffff83b334e8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff83b334e8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff83b334e8 clang::ento::ProgramState::assumeInclusiveRange(clang::ento::DefinedOrUnknownSVal, llvm::APSInt const&, llvm::APSInt const&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:746:43 #33 0x0000ffff83b334e8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #34 0x0000ffff83b3aebc clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #35 0x0000ffff83b4ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff83b4ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff83b4ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff83b4ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff83b4ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffff83e152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff83e152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff83e152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff83e152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff83e152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff83e16278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffff83e16278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff83e16278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff83e1a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff83e1a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff83e1a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff83e1a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff83e1a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff82271b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffff82271b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff82271b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffff82271b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff83935600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff838ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff838ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff838ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff839736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaab3c059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaab3c094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaab3c0aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaab3c01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff7ae7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff7ae70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaab3c020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bitwise-ops-nocrash.c.script: line 1: 36005 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -triple x86_64-linux-gnu -Wno-shift-count-overflow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bitwise-ops-nocrash.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/block-in-critical-section.m (497 of 19719) ******************** TEST 'Clang :: Analysis/block-in-critical-section.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.BlockInCriticalSection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/block-in-critical-section.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.BlockInCriticalSection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/block-in-critical-section.m 1. parser at end of file 2. While analyzing stack: #0 Calling shouldNotCrash 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/block-in-critical-section.m:9:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/block-in-critical-section.m:9:3: Error evaluating statement #0 0x0000ffff79fbad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff79fb9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff79fbb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff82f7c7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff82270e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff82270e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff82270e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff82270e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff82270e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff82270e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff82270e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff82270e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff81f1e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff81f1e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff81f1e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff81f1e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff81f1eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff81f1eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff81f1eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff81f1eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff81f31aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff81f31aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff81f31aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff81f32ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff81f32ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff81f32ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff81f324c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff81f324c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff81f324c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff81f3eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff81f3eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff81f3eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff81f48484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff81f48484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff81f48484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff81eac9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff81eac9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff81eac9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff81eac9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8239b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8239b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8239b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff81f0eafc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff81f0eafc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff81f0eafc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff81f0eafc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff81f0eafc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff81f0eafc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffff81ed8de8 clang::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 0x0000ffff81ed8de8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffff81eda2b8 clang::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 0x0000ffff81eda5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff81eda7cc clang::ento::CoreEngine::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 0x0000ffff81edab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff81edab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff81edab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff81edab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff81edab14 clang::ento::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 0x0000ffff821a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff821a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff821a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff821a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff821a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff821a6278 llvm::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 0x0000ffff821a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff821a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff821aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff821aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff821aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff821aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff821aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff80601b88 __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 0x0000ffff80601b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff80601b88 void clang::finalize>, 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 0x0000ffff80601b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff81cc5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff81c7d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff81c7d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff81c7d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff81d036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab0ec59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab0ec94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab0ecaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab0ec1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7920098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff79200a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab0ec20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/block-in-critical-section.m.script: line 1: 36022 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.BlockInCriticalSection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/block-in-critical-section.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/bitwise-ops.c (498 of 19719) ******************** TEST 'Clang :: Analysis/bitwise-ops.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -triple x86_64-apple-darwin13 -Wno-shift-count-overflow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bitwise-ops.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -triple x86_64-apple-darwin13 -Wno-shift-count-overflow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bitwise-ops.c 1. parser at end of file 2. While analyzing stack: #0 Calling testUnrepresentableLeftShift 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bitwise-ops.c:55:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bitwise-ops.c:55:7: Error evaluating statement #0 0x0000ffff7e07ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7e079180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7e07b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff870387e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff86330e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff86330e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff86330e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff86330e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff86330e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff86330e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff86330e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff86330e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff85fde018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff85fde018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff85fde018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff85fde018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff85fdeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff85fdeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff85fdeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff85fdeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff85ff1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff85ff1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff85ff1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff85ff2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff85ff2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff85ff2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff85ff24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff85ff24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff85ff24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff85ffeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff85ffeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff85ffeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff86008484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff86008484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff86008484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff85f6c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff85f6c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff85f6c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff85f6c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8645b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8645b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8645b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff85f7fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff85f7fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff85f7fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff85f9a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff85f9a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff85f9a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff85f9a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff85f9a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff85f9a2b8 clang::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 0x0000ffff85f9a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff85f9a7cc clang::ento::CoreEngine::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 0x0000ffff85f9ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff85f9ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff85f9ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff85f9ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff85f9ab14 clang::ento::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 0x0000ffff862652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff862652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff862652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff862652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff862652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff86266278 llvm::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 0x0000ffff86266278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff86266278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8626a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8626a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8626a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8626a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8626a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff846c1b88 __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 0x0000ffff846c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff846c1b88 void clang::finalize>, 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 0x0000ffff846c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff85d85600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff85d3d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff85d3d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff85d3d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff85dc36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaacbcf59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaacbcf94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaacbcfaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaacbcf1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7d2c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7d2c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaacbcf20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bitwise-ops.c.script: line 1: 36009 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -triple x86_64-apple-darwin13 -Wno-shift-count-overflow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bitwise-ops.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/blocks.m (499 of 19719) ******************** TEST 'Clang :: Analysis/blocks.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core -fblocks -verify -Wno-strict-prototypes /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core -fblocks -verify -x objective-c++ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core -fblocks -verify -Wno-strict-prototypes /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.m 1. parser at end of file #0 0x0000ffffab41ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffab419180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffab41b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb43da7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb36d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb36d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb36d0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb36d0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb36d0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb36d0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb36d0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb36d0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb337e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb337e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb337e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb337e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb337eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb337eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb337eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb337eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb3391aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb3391aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb3391aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb3392ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb3392ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb3392ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb33924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb33924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb33924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb339eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb339eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb339eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb33a8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb33a8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb33a8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb330c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb330c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb330c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb330c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb330cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb330cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb330cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb32e0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb32e0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb32e0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb331cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb331cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb331cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffb333ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb333ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb333ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb36052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb36052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb36052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb36052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb36052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb3606278 llvm::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 0x0000ffffb3606278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb3606278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb360a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb360a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb360a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb360a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb360a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb1a61b88 __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 0x0000ffffb1a61b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb1a61b88 void clang::finalize>, 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 0x0000ffffb1a61b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb3125600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb30dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb30dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb30dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb31636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad33359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad33394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad333aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad3331fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffaa66098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffaa660a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad33320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks.m.script: line 2: 36029 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core -fblocks -verify -Wno-strict-prototypes /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/blocks-no-inline.c (500 of 19719) ******************** TEST 'Clang :: Analysis/blocks-no-inline.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=none -fblocks -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks-no-inline.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=none -fblocks -analyzer-config eagerly-assume=false -verify -x c++ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks-no-inline.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=none -fblocks -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks-no-inline.c 1. parser at end of file 2. While analyzing stack: #0 Calling testInvalidation 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks-no-inline.c:13:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks-no-inline.c:13:3: Error evaluating statement #0 0x0000ffff89e2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff89e29180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff89e2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff92ded7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff920e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff920e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff920e0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff920e0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff920e0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff920e0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff920e0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff920e0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff91d8e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff91d8e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff91d8e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff91d8e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff91d8eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff91d8eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff91d8eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff91d8eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff91da1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff91da1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff91da1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff91da2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff91da2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff91da2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff91da24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff91da24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff91da24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff91daeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff91daeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff91daeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff91db8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff91db8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff91db8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff91d1c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff91d1c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff91d1c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff91d1c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9220f5b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9220f5b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9220f5b4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9220f5b4 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #43 0x0000ffff91e29ff0 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #44 0x0000ffff91e29ff0 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #45 0x0000ffff91e29ff0 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #46 0x0000ffff91e5d7c0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #47 0x0000ffff91e5d7c0 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #48 0x0000ffff91d0719c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #49 0x0000ffff91d66bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #50 0x0000ffff91d66bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #51 0x0000ffff91d66bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #52 0x0000ffff91d66bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #53 0x0000ffff91d674f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #54 0x0000ffff91d49250 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #55 0x0000ffff91d49250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #56 0x0000ffff91d4a2b8 clang::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 0x0000ffff91d4a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff91d4a7cc clang::ento::CoreEngine::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 0x0000ffff91d4ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff91d4ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff91d4ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff91d4ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff91d4ab14 clang::ento::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 0x0000ffff920152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff920152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff920152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff920152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff920152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff9201a1d4 VisitFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:319:0 #70 0x0000ffff9201a1d4 WalkUpFromFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:433:0 #71 0x0000ffff9201a1d4 TraverseFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/RecursiveASTVisitor.h:2226:0 #72 0x0000ffff9201a1d4 clang::RecursiveASTVisitor<(anonymous namespace)::AnalysisConsumer>::TraverseDecl(clang::Decl*) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:433:0 #73 0x0000ffff9201a824 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:552:0 #74 0x0000ffff9201a824 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x0000ffff90471b88 __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 0x0000ffff90471b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x0000ffff90471b88 void clang::finalize>, 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 0x0000ffff90471b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x0000ffff91b35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #80 0x0000ffff91aed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #81 0x0000ffff91aed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #82 0x0000ffff91aed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #83 0x0000ffff91b736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #84 0x0000aaaadc1a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x0000aaaadc1a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x0000aaaadc1aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x0000aaaadc1a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x0000ffff8907098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #89 0x0000ffff89070a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #90 0x0000aaaadc1a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks-no-inline.c.script: line 2: 36023 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=none -fblocks -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks-no-inline.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/bstring.cpp (501 of 19719) ******************** TEST 'Clang :: Analysis/bstring.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.cstring,unix.Malloc,alpha.unix.cstring,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DUSE_BUILTINS -analyzer-checker=core,unix.cstring,unix.Malloc,alpha.unix.cstring,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DVARIANT -analyzer-checker=core,unix.cstring,alpha.unix.cstring,unix.Malloc,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.cpp : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DUSE_BUILTINS -DVARIANT -analyzer-checker=core,unix.cstring,alpha.unix.cstring,unix.Malloc,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DSUPPRESS_OUT_OF_BOUND -analyzer-checker=core,unix.cstring,unix.Malloc,alpha.unix.cstring.BufferOverlap,alpha.unix.cstring.NotNullTerminated,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.cstring,unix.Malloc,alpha.unix.cstring,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.cpp 1. parser at end of file #0 0x0000ffffa64bad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa64b9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa64bb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffaf47d7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffae770e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffae770e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffae770e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffae770e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffae770e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffae770e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffae770e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffae770e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffae41e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffae41e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffae41e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffae41e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffae41eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffae41eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffae41eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffae41eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffae431aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffae431aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffae431aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffae432ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffae432ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffae432ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffae4324c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffae4324c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffae4324c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffae43eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffae43eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffae43eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffae448484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffae448484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffae448484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffae3ac9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffae3ac9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffae3ac9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffae3ac9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffae3acec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffae3acec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffae3acec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffae380400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffae380400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffae380400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffae3bce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffae3bce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffae3bce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffae3dae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffae3dae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffae3dae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffae6a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffae6a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffae6a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffae6a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffae6a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffae6a6278 llvm::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 0x0000ffffae6a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffae6a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffae6aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffae6aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffae6aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffae6aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffae6aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffacb01b88 __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 0x0000ffffacb01b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffacb01b88 void clang::finalize>, 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 0x0000ffffacb01b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffae1c5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffae17d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffae17d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffae17d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffae2036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaadd3559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaadd3594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaadd35aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaadd351fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa570098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa5700a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaadd3520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bstring.cpp.script: line 5: 36044 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.cstring,unix.Malloc,alpha.unix.cstring,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/bsd-string.c (502 of 19719) ******************** TEST 'Clang :: Analysis/bsd-string.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-int-conversion -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bsd-string.c -analyzer-checker=core -analyzer-checker=unix.cstring.NullArg -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-int-conversion -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bsd-string.c -analyzer-checker=core -analyzer-checker=unix.cstring.NullArg -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection 1. parser at end of file 2. While analyzing stack: #0 Calling unknown_val_crash #0 0x0000ffff7cdbad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7cdb9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7cdbb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff85d7c7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff851584dc llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff851584dc llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff851584dc llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff851584dc llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff851584dc llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff851584dc 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 0x0000ffff851584dc get<(anonymous namespace)::CStringLength> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff851584dc (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 0x0000ffff84d6e7e0 llvm::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 0x0000ffff84d6e7e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x0000ffff84d6e7e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffff84d6e7e0 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 0x0000ffff84c791b0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x0000ffff84c791b0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x0000ffff84c791b0 clang::ento::CheckerFn, clang::ento::SymbolReaper&)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #19 0x0000ffff84c791b0 clang::ento::CheckerManager::runCheckersForLiveSymbols(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:547:0 #20 0x0000ffff84cc51f0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff84cc51f0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff84cc51f0 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 0x0000ffff84cf0e2c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #24 0x0000ffff84cf0e2c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #25 0x0000ffff84cca3e8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #26 0x0000ffff84cca3e8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #27 0x0000ffff84cca3e8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #28 0x0000ffff84cca3e8 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 0x0000ffff84cca878 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 0x0000ffff84cda954 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 0x0000ffff84cdab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff84cdab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff84cdab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff84cdab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff84cdab14 clang::ento::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 0x0000ffff84fa52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff84fa52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff84fa52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff84fa52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff84fa52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff84fa6278 llvm::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 0x0000ffff84fa6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff84fa6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff84faa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff84faa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff84faa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff84faa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff84faa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff83401b88 __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 0x0000ffff83401b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff83401b88 void clang::finalize>, 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 0x0000ffff83401b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff84ac5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff84a7d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff84a7d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff84a7d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff84b036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaac9c059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaac9c094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaac9c0aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaac9c01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff7c00098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff7c000a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaac9c020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bsd-string.c.script: line 1: 36035 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-int-conversion -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bsd-string.c -analyzer-checker=core -analyzer-checker=unix.cstring.NullArg -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/bstring_UninitRead.c (503 of 19719) ******************** TEST 'Clang :: Analysis/bstring_UninitRead.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring_UninitRead.c -analyzer-checker=core,alpha.unix.cstring -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring_UninitRead.c -analyzer-checker=core,alpha.unix.cstring 1. parser at end of file 2. While analyzing stack: #0 Calling top 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring_UninitRead.c:19:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring_UninitRead.c:19:3: Error evaluating statement #0 0x0000ffff9ddcad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9ddc9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9ddcb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa6d837e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa6080e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa6080e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa6080e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa6080e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa6080e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa6080e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa6080e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa6080e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa5d2e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa5d2e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa5d2e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa5d2e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa5d2eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa5d2eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa5d2eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa5d2eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa5d41aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa5d41aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa5d41aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa5d42ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa5d42ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa5d42ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa5d424c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa5d424c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa5d424c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa5d4eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa5d4eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa5d4eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa5d58484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa5d58484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa5d58484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa5cbc9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa5cbc9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa5cbc9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa5cbc9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa61b2d58 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa61b2d58 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa61b2d58 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa61b2d58 (anonymous namespace)::CStringChecker::assumeZero(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::QualType) (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:346:0 #43 0x0000ffffa61b2e18 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #44 0x0000ffffa61b2e18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #45 0x0000ffffa61b2e18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffa61b2e18 (anonymous namespace)::CStringChecker::checkNonNull(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, (anonymous namespace)::AnyArgExpr, clang::ento::SVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:358:0 #47 0x0000ffffa61696e4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #48 0x0000ffffa61696e4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #49 0x0000ffffa61696e4 (anonymous namespace)::CStringChecker::evalCopyCommon(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::IntrusiveRefCntPtr, (anonymous namespace)::SizeArgExpr, (anonymous namespace)::DestinationArgExpr, (anonymous namespace)::SourceArgExpr, bool, bool, (anonymous namespace)::CharKind) const (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1304:0 #50 0x0000ffffa5d7e42c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffffa5d7e42c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffa5d7e42c (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 0x0000ffffa5d8c070 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #54 0x0000ffffa5d8c070 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2515:23 #55 0x0000ffffa5d8c070 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CStringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #56 0x0000ffffa5ca719c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #57 0x0000ffffa5d06bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #58 0x0000ffffa5d06bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #59 0x0000ffffa5d06bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #60 0x0000ffffa5d06bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #61 0x0000ffffa5d074f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #62 0x0000ffffa5ce9250 clang::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 0x0000ffffa5ce9250 clang::ento::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 0x0000ffffa5cea2b8 clang::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 0x0000ffffa5cea5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa5cea7cc clang::ento::CoreEngine::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 0x0000ffffa5ceab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffa5ceab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffa5ceab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #70 0x0000ffffa5ceab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #71 0x0000ffffa5ceab14 clang::ento::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 0x0000ffffa5fb52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #73 0x0000ffffa5fb52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #74 0x0000ffffa5fb52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #75 0x0000ffffa5fb52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #76 0x0000ffffa5fb52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #77 0x0000ffffa5fb6278 llvm::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 0x0000ffffa5fb6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #79 0x0000ffffa5fb6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #80 0x0000ffffa5fba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #81 0x0000ffffa5fba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #82 0x0000ffffa5fba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #83 0x0000ffffa5fba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #84 0x0000ffffa5fba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #85 0x0000ffffa4411b88 __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 0x0000ffffa4411b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #87 0x0000ffffa4411b88 void clang::finalize>, 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 0x0000ffffa4411b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #89 0x0000ffffa5ad5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #90 0x0000ffffa5a8d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #91 0x0000ffffa5a8d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #92 0x0000ffffa5a8d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #93 0x0000ffffa5b136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #94 0x0000aaaad1c159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #95 0x0000aaaad1c194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #96 0x0000aaaad1c1aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #97 0x0000aaaad1c11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #98 0x0000ffff9d01098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #99 0x0000ffff9d010a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #100 0x0000aaaad1c120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bstring_UninitRead.c.script: line 1: 36041 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring_UninitRead.c -analyzer-checker=core,alpha.unix.cstring -- ******************** Testing: 0 FAIL: Clang :: Analysis/bstring.c (504 of 19719) ******************** TEST 'Clang :: Analysis/bstring.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.c -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.c -DUSE_BUILTINS -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.c -DVARIANT -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false : 'RUN: at line 25'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.c -DUSE_BUILTINS -DVARIANT -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.c -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false 1. parser at end of file 2. While analyzing stack: #0 Calling nocrash_on_locint_offset 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.c:531:3 : Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.c:531:3 : Error evaluating statement #0 0x0000ffff986dad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff986d9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff986db408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa169e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa0990e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa0990e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa0990e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa0990e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa0990e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa0990e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa0990e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa0990e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa063e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa063e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa063e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa063e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa063eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa063eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa063eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa063eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa0651aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa0651aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa0651aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa0652ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa0652ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa0652ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa06524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa06524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa06524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa065eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa065eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa065eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa0668484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa0668484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa0668484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa05cc9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa05cc9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa05cc9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa05cc9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa0ac2d58 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa0ac2d58 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa0ac2d58 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa0ac2d58 (anonymous namespace)::CStringChecker::assumeZero(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::QualType) (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:346:0 #43 0x0000ffffa0a791a0 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #44 0x0000ffffa0a791a0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #45 0x0000ffffa0a791a0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffa0a791a0 (anonymous namespace)::CStringChecker::evalCopyCommon(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::IntrusiveRefCntPtr, (anonymous namespace)::SizeArgExpr, (anonymous namespace)::DestinationArgExpr, (anonymous namespace)::SourceArgExpr, bool, bool, (anonymous namespace)::CharKind) const (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1285:0 #47 0x0000ffffa068e42c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #48 0x0000ffffa068e42c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #49 0x0000ffffa068e42c (anonymous namespace)::CStringChecker::evalMemcpy(clang::ento::CheckerContext&, clang::CallExpr const*, (anonymous namespace)::CharKind) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1383:17 #50 0x0000ffffa069c070 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #51 0x0000ffffa069c070 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2515:23 #52 0x0000ffffa069c070 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CStringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #53 0x0000ffffa05b719c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #54 0x0000ffffa0616bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #55 0x0000ffffa0616bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #56 0x0000ffffa0616bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #57 0x0000ffffa0616bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #58 0x0000ffffa06174f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #59 0x0000ffffa05f9250 clang::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 0x0000ffffa05f9250 clang::ento::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 0x0000ffffa05fa2b8 clang::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 0x0000ffffa05fa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa05fa7cc clang::ento::CoreEngine::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 0x0000ffffa05fab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x0000ffffa05fab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x0000ffffa05fab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #67 0x0000ffffa05fab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #68 0x0000ffffa05fab14 clang::ento::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 0x0000ffffa08c52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #70 0x0000ffffa08c52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #71 0x0000ffffa08c52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #72 0x0000ffffa08c52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #73 0x0000ffffa08c52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #74 0x0000ffffa08c6278 llvm::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 0x0000ffffa08c6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #76 0x0000ffffa08c6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #77 0x0000ffffa08ca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #78 0x0000ffffa08ca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #79 0x0000ffffa08ca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #80 0x0000ffffa08ca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #81 0x0000ffffa08ca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #82 0x0000ffff9ed21b88 __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 0x0000ffff9ed21b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #84 0x0000ffff9ed21b88 void clang::finalize>, 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 0x0000ffff9ed21b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #86 0x0000ffffa03e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #87 0x0000ffffa039d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #88 0x0000ffffa039d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #89 0x0000ffffa039d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #90 0x0000ffffa04236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #91 0x0000aaaabb3759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #92 0x0000aaaabb3794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #93 0x0000aaaabb37aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #94 0x0000aaaabb371fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #95 0x0000ffff9792098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #96 0x0000ffff97920a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #97 0x0000aaaabb3720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bstring.c.script: line 4: 36043 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.c -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/bug_hash_test.m (505 of 19719) ******************** TEST 'Clang :: Analysis/bug_hash_test.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bug_hash_test.m -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bug_hash_test.m -verify 1. parser at end of file #0 0x0000ffff9caead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9cae9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9caeb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa5aa27e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa4da0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa4da0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa4da0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa4da0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa4da0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa4da0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa4da0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa4da0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa4a4e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa4a4e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa4a4e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa4a4e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa4a4eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa4a4eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa4a4eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa4a4eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa4a61aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa4a61aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa4a61aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa4a62ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa4a62ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa4a62ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa4a624c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa4a624c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa4a624c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa4a6eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa4a6eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa4a6eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa4a78484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa4a78484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa4a78484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa49dc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa49dc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa49dc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa49dc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa49dcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa49dcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa49dcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa49b0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa49b0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa49b0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa49ecea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa49ecea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa49ecea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa4a0ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa4a0ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa4a0ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa4cd52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa4cd52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa4cd52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa4cd52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa4cd52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa4cd6278 llvm::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 0x0000ffffa4cd6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa4cd6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa4cda900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa4cda900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa4cda900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa4cda900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa4cda900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa3131b88 __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 0x0000ffffa3131b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa3131b88 void clang::finalize>, 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 0x0000ffffa3131b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa47f5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa47ad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa47ad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa47ad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa48336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaaac0759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaaac0794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaaac07aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaaac071fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9bd3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff9bd30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaaac0720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bug_hash_test.m.script: line 1: 36063 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bug_hash_test.m -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/call-invalidation.cpp (519 of 19719) ******************** TEST 'Clang :: Analysis/call-invalidation.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-invalidation.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-invalidation.cpp 1. parser at end of file #0 0x0000ffff954bad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff954b9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff954bb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9e4727e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9d3c9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9d3c9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9d3c9f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9d3c9f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9d3c9f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9d3c9f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9d3c9f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9d3c9f54 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 0x0000ffff9d3ca878 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 0x0000ffff9d3da954 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 0x0000ffff9d3dab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff9d3dab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff9d3dab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff9d3dab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff9d3dab14 clang::ento::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 0x0000ffff9d6a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff9d6a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff9d6a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff9d6a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff9d6a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff9d6a6278 llvm::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 0x0000ffff9d6a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff9d6a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff9d6aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff9d6aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff9d6aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff9d6aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff9d6aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff9bb01b88 __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 0x0000ffff9bb01b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff9bb01b88 void clang::finalize>, 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 0x0000ffff9bb01b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff9d1c5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff9d17d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff9d17d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff9d17d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff9d2036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaae24d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaae24d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaae24daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaae24d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff9470098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff94700a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaae24d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-invalidation.cpp.script: line 1: 36087 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-invalidation.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cast-to-struct.cpp (520 of 19719) ******************** TEST 'Clang :: Analysis/cast-to-struct.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.CastToStruct,core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-to-struct.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.CastToStruct,core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-to-struct.cpp 1. parser at end of file #0 0x0000ffff9029ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff90299180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9029b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff992527e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff981a9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff981a9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff981a9f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff981a9f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff981a9f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff981a9f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff981a9f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff981a9f54 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 0x0000ffff981aa878 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 0x0000ffff981ba954 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 0x0000ffff981bab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff981bab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff981bab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff981bab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff981bab14 clang::ento::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 0x0000ffff984852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff984852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff984852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff984852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff984852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff98486278 llvm::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 0x0000ffff98486278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff98486278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff9848a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff9848a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff9848a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff9848a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff9848a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff968e1b88 __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 0x0000ffff968e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff968e1b88 void clang::finalize>, 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 0x0000ffff968e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff97fa5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff97f5d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff97f5d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff97f5d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff97fe36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaab52859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaab52894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaab528aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaab5281fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff8f4e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff8f4e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaab52820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cast-to-struct.cpp.script: line 1: 36086 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.CastToStruct,core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-to-struct.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/call-and-message.cpp (522 of 19719) ******************** TEST 'Clang :: Analysis/call-and-message.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -verify=fn-pointer -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=true -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=false : 'RUN: at line 12'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -verify=param-count -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=false -analyzer-config core.CallAndMessage:ParameterCount=true -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=false : 'RUN: at line 23'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -verify=method -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=false -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=true -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=false : 'RUN: at line 34'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -verify=delete -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=false -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=true -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=false : 'RUN: at line 45'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -verify=arg-init -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=false -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=true -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=false : 'RUN: at line 58'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -verify=fn-pointer,param-count,method,delete,arg-init -analyzer-checker=core -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.cpp.tmp.plist : 'RUN: at line 62'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.cpp.tmp.plist | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -verify=fn-pointer -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=true -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=false 1. parser at end of file #0 0x0000ffffb060ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb0609180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb060b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb95c07e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb8519f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb8519f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb8519f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb8519f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb8519f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb8519f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb8519f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb8519f54 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 0x0000ffffb851a878 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 0x0000ffffb852a954 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 0x0000ffffb852ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffb852ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffb852ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffb852ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffb852ab14 clang::ento::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 0x0000ffffb87f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb87f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb87f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffb87f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffb87f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffb87f6278 llvm::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 0x0000ffffb87f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffb87f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffb87fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffb87fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffb87fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffb87fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffb87fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffb6c51b88 __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 0x0000ffffb6c51b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffb6c51b88 void clang::finalize>, 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 0x0000ffffb6c51b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffb8315600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffb82cd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffb82cd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffb82cd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffb83536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaad8d259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaad8d294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaad8d2aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaad8d21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffaf85098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffaf850a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaad8d220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.cpp.script: line 7: 36082 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -verify=fn-pointer -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=true -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/c11lock.c (523 of 19719) ******************** TEST 'Clang :: Analysis/c11lock.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.C11Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/c11lock.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.C11Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/c11lock.c 1. parser at end of file 2. While analyzing stack: #0 Calling good3 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/c11lock.c:87:7: Error evaluating statement #0 0x0000ffff9d01ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9d019180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9d01b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa5fd47e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa53fcd7c retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa53fcd7c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa53fcd7c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa53fcd7c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa53fcd7c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa53fcd7c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa53fcd7c get<(anonymous namespace)::LockMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa53fcd7c (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 0x0000ffffa4f0aae4 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 0x0000ffffa4f252e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffa4f252e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffa4f252e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffa4f252e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffa4f252e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffa4f252e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffa4f252e8 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 0x0000ffffa4f3a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffa4f3a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffa4f3a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffa4f3a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffa4f3a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffa4f3a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffa4f3a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffa4f3a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffa4f3a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffa4f3a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa4f3a7cc clang::ento::CoreEngine::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 0x0000ffffa4f3ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffa4f3ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffa4f3ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffa4f3ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffa4f3ab14 clang::ento::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 0x0000ffffa52052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffa52052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffa52052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffa52052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffa52052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffa5206278 llvm::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 0x0000ffffa5206278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffa5206278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffa520a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffa520a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffa520a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffa520a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffa520a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffa3661b88 __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 0x0000ffffa3661b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffa3661b88 void clang::finalize>, 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 0x0000ffffa3661b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffa4d25600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffa4cdd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffa4cdd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffa4cdd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffa4d636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaabdd159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaabdd194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaabdd1aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaabdd11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff9c26098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff9c260a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaabdd120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/c11lock.c.script: line 1: 36074 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.C11Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/c11lock.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/call_once.cpp (524 of 19719) ******************** TEST 'Clang :: Analysis/call_once.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call_once.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -analyzer-checker=core,debug.ExprInspection -DEMULATE_LIBSTDCPP -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call_once.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -analyzer-checker=core,debug.ExprInspection -DEMULATE_LIBCXX03 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call_once.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -analyzer-checker=core,debug.ExprInspection -DEMULATE_LIBCXX03 -DEMULATE_LIBSTDCPP -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call_once.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report : 'RUN: at line 8'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call_once.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report 1. parser at end of file 2. While analyzing stack: #0 Calling std::call_once(once_flag &, void (*&)(int *), int *&&) at line 413 #1 Calling rdar40270582() 3. Error evaluating statement 4. Error evaluating statement #0 0x0000ffff8c03ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8c039180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8c03b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff94ffe7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff942f0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff942f0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff942f0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff942f0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff942f0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff942f0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff942f0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff942f0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff93f9e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff93f9e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff93f9e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff93f9e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff93f9eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff93f9eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff93f9eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff93f9eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff93fb1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff93fb1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff93fb1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff93fb2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff93fb2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff93fb2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff93fb24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff93fb24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff93fb24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff93fbeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff93fbeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff93fbeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff93fc8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff93fc8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff93fc8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff93f2c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff93f2c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff93f2c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff93f2c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9441b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9441b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9441b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff93f3fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff93f3fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff93f3fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff93f5a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff93f5a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff93f5a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff93f5a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff93f5a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff93f5a2b8 clang::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 0x0000ffff93f5a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff93f5a7cc clang::ento::CoreEngine::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 0x0000ffff93f5ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff93f5ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff93f5ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff93f5ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff93f5ab14 clang::ento::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 0x0000ffff942252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff942252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff942252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff942252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff942252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff94226278 llvm::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 0x0000ffff94226278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff94226278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9422a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9422a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9422a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9422a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9422a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff92681b88 __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 0x0000ffff92681b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff92681b88 void clang::finalize>, 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 0x0000ffff92681b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff93d45600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff93cfd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff93cfd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff93cfd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff93d836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae66159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae66194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae661aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae6611fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8b28098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8b280a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae66120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.script: line 5: 36088 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call_once.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report -- ******************** Testing: 0 FAIL: Clang :: Analysis/builtin-functions.cpp (525 of 19719) ******************** TEST 'Clang :: Analysis/builtin-functions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/builtin-functions.cpp -std=c++11 -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/builtin-functions.cpp -std=c++11 -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_constant_p(void *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/builtin-functions.cpp:83:44: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/builtin-functions.cpp:83:44: Error evaluating statement #0 0x0000ffff894dad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff894d9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff894db408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9249e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff91790e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff91790e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff91790e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff91790e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff91790e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff91790e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff91790e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff91790e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9143e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9143e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9143e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9143e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9143eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9143eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9143eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9143eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff91451aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff91451aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff91451aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff91452ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff91452ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff91452ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff914524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff914524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff914524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9145eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9145eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9145eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff91468484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff91468484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff91468484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff913cc9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff913cc9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff913cc9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff913cc9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff918bb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff918bb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff918bb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff913dfd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff913dfd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff913dfd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff913fa05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff913fa05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff913fa05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff913fa05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff913fa05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff913fa2b8 clang::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 0x0000ffff913fa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff913fa7cc clang::ento::CoreEngine::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 0x0000ffff913fab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff913fab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff913fab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff913fab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff913fab14 clang::ento::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 0x0000ffff916c52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff916c52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff916c52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff916c52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff916c52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff916c6278 llvm::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 0x0000ffff916c6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff916c6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff916ca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff916ca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff916ca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff916ca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff916ca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8fb21b88 __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 0x0000ffff8fb21b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8fb21b88 void clang::finalize>, 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 0x0000ffff8fb21b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff911e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9119d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9119d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9119d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff912236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab64959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab64994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab649aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab6491fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8872098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff88720a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab64920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/builtin-functions.cpp.script: line 1: 36066 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/builtin-functions.cpp -std=c++11 -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/casts.m (526 of 19719) ******************** TEST 'Clang :: Analysis/casts.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.m 1. parser at end of file 2. While analyzing stack: #0 Calling adium_media_ready_cb 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.m:39:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.m:39:9: Error evaluating statement #0 0x0000ffff87a6ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff87a69180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff87a6b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff90a247e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8fd20e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8fd20e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8fd20e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8fd20e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8fd20e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8fd20e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8fd20e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8fd20e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8f9ce018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8f9ce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8f9ce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8f9ce018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8f9ceef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8f9ceef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8f9ceef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8f9ceef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8f9e1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8f9e1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8f9e1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8f9e2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8f9e2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8f9e2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8f9e24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8f9e24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8f9e24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8f9eeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8f9eeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8f9eeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8f9f8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8f9f8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8f9f8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8f95c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8f95c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8f95c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8f95c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8fe4b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8fe4b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8fe4b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8f9beafc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff8f9beafc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff8f9beafc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff8f9beafc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff8f9beafc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff8f9beafc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffff8f988de8 clang::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 0x0000ffff8f988de8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffff8f98a2b8 clang::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 0x0000ffff8f98a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8f98a7cc clang::ento::CoreEngine::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 0x0000ffff8f98ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8f98ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8f98ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8f98ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8f98ab14 clang::ento::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 0x0000ffff8fc552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8fc552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8fc552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8fc552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8fc552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8fc56278 llvm::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 0x0000ffff8fc56278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8fc56278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8fc5a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8fc5a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8fc5a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8fc5a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8fc5a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8e0b1b88 __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 0x0000ffff8e0b1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8e0b1b88 void clang::finalize>, 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 0x0000ffff8e0b1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8f775600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8f72d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8f72d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8f72d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8f7b36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad0b759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad0b794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad0b7aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad0b71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff86cb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff86cb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad0b720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/casts.m.script: line 1: 36122 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/casts.cpp (527 of 19719) ******************** TEST 'Clang :: Analysis/casts.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling bool_to_nullptr::foo(S) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.cpp:114:12: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.cpp:114:12: Error evaluating statement #0 0x0000ffffa40cad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa40c9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa40cb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffad0897e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffac380e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffac380e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffac380e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffac380e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffac380e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffac380e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffac380e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffac380e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffac02e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffac02e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffac02e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffac02e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffac02eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffac02eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffac02eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffac02eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffac041aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffac041aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffac041aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffac042ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffac042ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffac042ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffac0424c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffac0424c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffac0424c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffac04eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffac04eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffac04eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffac058484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffac058484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffac058484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffabfbc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffabfbc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffabfbc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffabfbc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffac4ab004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffac4ab004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffac4ab004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffabfcfd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffabfcfd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffabfcfd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffabfea05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffabfea05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffabfea05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffabfea05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffabfea05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffabfea2b8 clang::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 0x0000ffffabfea5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffabfea7cc clang::ento::CoreEngine::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 0x0000ffffabfeab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffabfeab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffabfeab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffabfeab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffabfeab14 clang::ento::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 0x0000ffffac2b52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffac2b52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffac2b52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffac2b52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffac2b52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffac2b6278 llvm::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 0x0000ffffac2b6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffac2b6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffac2ba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffac2ba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffac2ba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffac2ba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffac2ba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffaa711b88 __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 0x0000ffffaa711b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffaa711b88 void clang::finalize>, 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 0x0000ffffaa711b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffabdd5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffabd8d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffabd8d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffabd8d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffabe136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabbc059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabbc094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabbc0aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabbc01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa331098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa3310a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabbc020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/casts.cpp.script: line 1: 36118 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/call-and-message.m (528 of 19719) ******************** TEST 'Clang :: Analysis/call-and-message.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.m -verify -Wno-objc-root-class -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=false -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=true -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.m.tmp.plist : 'RUN: at line 13'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.m.tmp.plist | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.m -verify -Wno-objc-root-class -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=false -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=true -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.m.tmp.plist 1. parser at end of file #0 0x0000ffff841cad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff841c9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff841cb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8d18c7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8c480e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8c480e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8c480e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8c480e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8c480e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8c480e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8c480e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8c480e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8c12e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8c12e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8c12e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8c12e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8c12eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8c12eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8c12eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8c12eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8c141aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8c141aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8c141aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8c142ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8c142ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8c142ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8c1424c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8c1424c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8c1424c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8c14eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8c14eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8c14eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8c158484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8c158484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8c158484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8c0bc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8c0bc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8c0bc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8c0bc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8c0bcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8c0bcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8c0bcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8c090400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8c090400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8c090400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8c0ccea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8c0ccea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8c0ccea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff8c0eae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8c0eae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8c0eae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8c3b52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8c3b52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8c3b52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8c3b52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8c3b52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff8c3b6278 llvm::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 0x0000ffff8c3b6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff8c3b6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8c3ba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8c3ba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8c3ba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8c3ba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8c3ba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff8a811b88 __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 0x0000ffff8a811b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff8a811b88 void clang::finalize>, 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 0x0000ffff8a811b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff8bed5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8be8d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8be8d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8be8d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8bf136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaab14559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaab14594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaab145aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaab1451fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8341098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff83410a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaab14520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.m.script: line 2: 36078 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.m -verify -Wno-objc-root-class -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=false -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=true -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.m.tmp.plist -- ******************** Testing: 0 FAIL: Clang :: Analysis/cert/env31-c.c (529 of 19719) ******************** TEST 'Clang :: Analysis/cert/env31-c.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env31-c.c -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify=putenv,common -DENV_INVALIDATING_CALL="putenv(\"X=Y\")" : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env31-c.c -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify=putenvs,common -DENV_INVALIDATING_CALL="_putenv_s(\"X\", \"Y\")" : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env31-c.c -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify=wputenvs,common -DENV_INVALIDATING_CALL="_wputenv_s(\"X\", \"Y\")" : 'RUN: at line 16'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env31-c.c -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify=setenv,common -DENV_INVALIDATING_CALL="setenv(\"X\", \"Y\", 0)" : 'RUN: at line 21'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env31-c.c -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify=unsetenv,common -DENV_INVALIDATING_CALL="unsetenv(\"X\")" -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env31-c.c -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify=putenv,common -DENV_INVALIDATING_CALL=putenv(\"X=Y\") 1. parser at end of file 2. While analyzing stack: #0 Calling main 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env31-c.c:52:14: Error evaluating statement #0 0x0000ffff8267ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff82679180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8267b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8b6327e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8a5da104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8a5da104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8a5da104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8a5da104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff8a5da104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff8a5da104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff8a5853bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff8a5853bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff8a5853bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8a59a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff8a59a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff8a59a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff8a59a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff8a59a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff8a59a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff8a59a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff8a59a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff8a59a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff8a59a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8a59a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff8a59a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff8a59ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff8a59ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff8a59ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff8a59ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff8a59ab14 clang::ento::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 0x0000ffff8a8652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8a8652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8a8652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff8a8652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff8a8652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff8a866278 llvm::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 0x0000ffff8a866278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff8a866278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff8a86a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff8a86a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff8a86a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff8a86a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff8a86a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff88cc1b88 __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 0x0000ffff88cc1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff88cc1b88 void clang::finalize>, 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 0x0000ffff88cc1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff8a385600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff8a33d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff8a33d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff8a33d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff8a3c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaae42059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaae42094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaae420aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaae4201fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff818c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff818c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaae42020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/cert/Output/env31-c.c.script: line 5: 36128 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env31-c.c -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify=putenv,common -DENV_INVALIDATING_CALL="putenv(\"X=Y\")" -- ******************** Testing: 0 FAIL: Clang :: Analysis/casts.c (530 of 19719) ******************** TEST 'Clang :: Analysis/casts.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -fenable-matrix -analyzer-checker=core,alpha.core,debug.ExprInspection -Wno-pointer-to-int-cast -Wno-strict-prototypes -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -fenable-matrix -analyzer-checker=core,alpha.core,debug.ExprInspection -Wno-pointer-to-int-cast -Wno-strict-prototypes -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.c : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -fenable-matrix -analyzer-checker=core,alpha.core,debug.ExprInspection -Wno-pointer-to-int-cast -Wno-strict-prototypes -verify -DEAGERLY_ASSUME=1 -w /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.c : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -fenable-matrix -analyzer-checker=core,alpha.core,debug.ExprInspection -Wno-pointer-to-int-cast -Wno-strict-prototypes -verify -DEAGERLY_ASSUME=1 -DBIT32=1 -w /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -fenable-matrix -analyzer-checker=core,alpha.core,debug.ExprInspection -Wno-pointer-to-int-cast -Wno-strict-prototypes -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.c 1. parser at end of file 2. While analyzing stack: #0 Calling symbolic_offset 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.c:279:16: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.c:279:16: Error evaluating statement #0 0x0000ffff8a0aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8a0a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8a0ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9306e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff92360e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff92360e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff92360e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff92360e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff92360e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff92360e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff92360e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff92360e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9200e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9200e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9200e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9200e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9200eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9200eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9200eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9200eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff92021aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff92021aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff92021aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff92022ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff92022ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff92022ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff920224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff920224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff920224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9202eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9202eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9202eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff92038484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff92038484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff92038484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff91f9c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff91f9c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff91f9c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff91f9c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9248b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9248b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9248b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff920bc500 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff920bc500 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff920bc500 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff920bc500 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff91f86c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff91faf570 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff91faf570 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff91faf7ac llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffff91faf7ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff91faf7ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff91faf7ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffff91fbf470 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff91fbf470 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff91fbf470 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffff91fc8c34 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffff91fc8c34 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffff91fc8c34 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffff91fca2b8 clang::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 0x0000ffff91fca5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff91fca7cc clang::ento::CoreEngine::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 0x0000ffff91fcab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff91fcab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff91fcab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff91fcab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff91fcab14 clang::ento::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 0x0000ffff922952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff922952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff922952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff922952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff922952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff92296278 llvm::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 0x0000ffff92296278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff92296278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff9229a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff9229a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff9229a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff9229a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff9229a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff906f1b88 __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 0x0000ffff906f1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff906f1b88 void clang::finalize>, 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 0x0000ffff906f1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff91db5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff91d6d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff91d6d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff91d6d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff91df36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaaaf4759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaaaf4794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaaaf47aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaaaf471fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff892f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff892f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaaaf4720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/casts.c.script: line 4: 36108 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -fenable-matrix -analyzer-checker=core,alpha.core,debug.ExprInspection -Wno-pointer-to-int-cast -Wno-strict-prototypes -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/cast-value-notes.cpp (531 of 19719) ******************** TEST 'Clang :: Analysis/cast-value-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple amdgcn-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-output=text -verify -DX86 -DSUPPRESSED /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp -check-prefix=X86-CHECK : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple amdgcn-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-config core.NullDereference:SuppressAddressSpaces=false -analyzer-output=text -verify -DX86 -DNOT_SUPPRESSED /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp -check-prefix=X86-CHECK : 'RUN: at line 10'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple amdgcn-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-config core.NullDereference:SuppressAddressSpaces=true -analyzer-output=text -verify -DX86 -DSUPPRESSED /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp -check-prefix=X86-CHECK : 'RUN: at line 15'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-output=text -verify -DX86 -DSUPPRESSED /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp --check-prefix=X86-CHECK : 'RUN: at line 19'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-config core.NullDereference:SuppressAddressSpaces=true -analyzer-output=text -verify -DX86 -DSUPPRESSED /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp --check-prefix=X86-CHECK-SUPPRESSED : 'RUN: at line 24'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-config core.NullDereference:SuppressAddressSpaces=false -analyzer-output=text -verify -DX86 -DNOT_SUPPRESSED /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp --check-prefix=X86-CHECK : 'RUN: at line 29'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple mips-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-output=text -verify -DMIPS /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp 2>&1 : 'RUN: at line 33'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple mips-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-config core.NullDereference:SuppressAddressSpaces=false -analyzer-output=text -verify -DMIPS /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp 2>&1 : 'RUN: at line 38'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple mips-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-config core.NullDereference:SuppressAddressSpaces=true -analyzer-output=text -verify -DMIPS_SUPPRESSED /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp:100:16: error: X86-CHECK: expected string not found in input // X86-CHECK: "dynamic_types": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :2:7: note: possible intended match here Stack dump: ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:100'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:100'0 ~~~~~~~~~~~~ check:100'1 ? possible intended match 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple amdgcn-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-output=text -verify -DX86 -DSUPPRESSED /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp check:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: 1. parser at end of file check:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: #0 0x0000ffff832cad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) check:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #1 0x0000ffff832c9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) check:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: #2 0x0000ffff832cb408 (/usr/lib64/libLLVM-17.so+0x9cb408) check:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/cert/env34-c.c (532 of 19719) ******************** TEST 'Clang :: Analysis/cert/env34-c.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.env.InvalidPtr -analyzer-output=text -verify -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.env.InvalidPtr -analyzer-output=text -verify -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c.c 1. parser at end of file 2. While analyzing stack: #0 Calling localeconv_test2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c.c:329:16: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c.c:329:16: Error evaluating statement #0 0x0000ffff84b8ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff84b89180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff84b8b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8db4f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8cc01858 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8cc01858 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8cc01858 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8cc01858 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8cc01858 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8cc01858 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 0x0000ffff8cc01858 get<(anonymous namespace)::PreviousCallResultMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff8cc01858 (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 0x0000ffff8cc02794 (anonymous namespace)::InvalidPtrChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/cert/InvalidPtrChecker.cpp:199:0 #13 0x0000ffff8ca667b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #14 0x0000ffff8ca667b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff8ca667b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #16 0x0000ffff8ca667b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #17 0x0000ffff8ca667b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #18 0x0000ffff8cac6c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #19 0x0000ffff8cac6c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #20 0x0000ffff8cac6c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #21 0x0000ffff8cac6c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #22 0x0000ffff8cac6c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #23 0x0000ffff8cac6c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #24 0x0000ffff8cac74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #25 0x0000ffff8caa9250 clang::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 0x0000ffff8caa9250 clang::ento::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 0x0000ffff8caaa2b8 clang::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 0x0000ffff8caaa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8caaa7cc clang::ento::CoreEngine::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 0x0000ffff8caaab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #31 0x0000ffff8caaab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #32 0x0000ffff8caaab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #33 0x0000ffff8caaab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #34 0x0000ffff8caaab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #35 0x0000ffff8cd752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8cd752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8cd752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #38 0x0000ffff8cd752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #39 0x0000ffff8cd752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #40 0x0000ffff8cd76278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #41 0x0000ffff8cd76278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x0000ffff8cd76278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #43 0x0000ffff8cd7a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffff8cd7a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffff8cd7a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x0000ffff8cd7a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x0000ffff8cd7a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x0000ffff8b1d1b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #49 0x0000ffff8b1d1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffff8b1d1b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #51 0x0000ffff8b1d1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffff8c895600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffff8c84d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffff8c84d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffff8c84d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffff8c8d36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #57 0x0000aaaac70759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x0000aaaac70794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x0000aaaac707aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x0000aaaac7071fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x0000ffff83dd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #62 0x0000ffff83dd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #63 0x0000aaaac70720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/cert/Output/env34-c.c.script: line 1: 36136 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.env.InvalidPtr -analyzer-output=text -verify -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/cert/env34-c-cert-examples.c (533 of 19719) ******************** TEST 'Clang :: Analysis/cert/env34-c-cert-examples.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c-cert-examples.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c-cert-examples.c 1. parser at end of file 2. While analyzing stack: #0 Calling correct_usage_2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c-cert-examples.c:73:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c-cert-examples.c:73:7: Error evaluating statement #0 0x0000ffff7771ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff77719180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7771b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff806d97e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff7f9d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7f9d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7f9d0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7f9d0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff7f9d0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff7f9d0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff7f9d0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff7f9d0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff7f67e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff7f67e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff7f67e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff7f67e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff7f67eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff7f67eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff7f67eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff7f67eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff7f691aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff7f691aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff7f691aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff7f692ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff7f692ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff7f692ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff7f6924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7f6924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7f6924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff7f69eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff7f69eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff7f69eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff7f6a8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff7f6a8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff7f6a8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff7f60c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff7f60c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff7f60c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff7f60c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff7fafb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff7fafb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff7fafb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff7f61fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff7f61fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff7f61fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff7f63a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff7f63a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff7f63a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff7f63a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff7f63a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff7f63a2b8 clang::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 0x0000ffff7f63a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff7f63a7cc clang::ento::CoreEngine::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 0x0000ffff7f63ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff7f63ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff7f63ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff7f63ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff7f63ab14 clang::ento::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 0x0000ffff7f9052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff7f9052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff7f9052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff7f9052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff7f9052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff7f906278 llvm::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 0x0000ffff7f906278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff7f906278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff7f90a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff7f90a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff7f90a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff7f90a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff7f90a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff7dd61b88 __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 0x0000ffff7dd61b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff7dd61b88 void clang::finalize>, 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 0x0000ffff7dd61b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff7f425600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff7f3dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff7f3dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff7f3dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff7f4636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaadadb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaadadb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaadadbaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaadadb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7696098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff76960a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaadadb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/cert/Output/env34-c-cert-examples.c.script: line 1: 36129 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c-cert-examples.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/cast-value-logic.cpp (535 of 19719) ******************** TEST 'Clang :: Analysis/cast-value-logic.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-logic.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-logic.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling crashes::test_delete_crash() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-logic.cpp:179:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-logic.cpp:179:10: Error evaluating statement #0 0x0000ffff76f3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff76f39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff76f3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff7fef57e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff7f1f0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7f1f0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7f1f0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7f1f0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff7f1f0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff7f1f0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff7f1f0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff7f1f0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff7ee9e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff7ee9e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff7ee9e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff7ee9e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff7ee9eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff7ee9eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff7ee9eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff7ee9eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff7eeb1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff7eeb1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff7eeb1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff7eeb2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff7eeb2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff7eeb2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff7eeb24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7eeb24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7eeb24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff7eebeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff7eebeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff7eebeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff7eec8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff7eec8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff7eec8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff7ee2c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff7ee2c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff7ee2c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff7ee2c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff7ee2cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff7ee2cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff7ee2cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff7f1ed5fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff7f1ed5fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff7f1ed5fc clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff7f1ed5fc addCastTransition(clang::ento::CallEvent const&, clang::ento::DefinedOrUnknownSVal, clang::ento::CheckerContext&, bool, bool, bool) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp:202:0 #46 0x0000ffff7ef00a9c evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp:514:10 #47 0x0000ffff7ef00a9c bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CastValueChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #48 0x0000ffff7ee1719c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #49 0x0000ffff7ee76bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #50 0x0000ffff7ee76bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #51 0x0000ffff7ee76bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #52 0x0000ffff7ee76bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #53 0x0000ffff7ee774f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #54 0x0000ffff7ee59250 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #55 0x0000ffff7ee59250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #56 0x0000ffff7ee5a2b8 clang::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 0x0000ffff7ee5a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff7ee5a7cc clang::ento::CoreEngine::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 0x0000ffff7ee5ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff7ee5ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff7ee5ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff7ee5ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff7ee5ab14 clang::ento::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 0x0000ffff7f1252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff7f1252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff7f1252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff7f1252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff7f1252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff7f126278 llvm::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 0x0000ffff7f126278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffff7f126278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffff7f12a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffff7f12a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffff7f12a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffff7f12a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffff7f12a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffff7d581b88 __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 0x0000ffff7d581b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffff7d581b88 void clang::finalize>, 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 0x0000ffff7d581b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffff7ec45600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffff7ebfd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffff7ebfd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffff7ebfd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffff7ec836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaae25959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaae25994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaae259aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaae2591fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff7618098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff76180a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaae25920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cast-value-logic.cpp.script: line 1: 36091 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-logic.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cast-value-state-dump.cpp (536 of 19719) ******************** TEST 'Clang :: Analysis/cast-value-state-dump.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-state-dump.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-state-dump.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-state-dump.cpp:33:12: error: CHECK: expected string not found in input // CHECK: "dynamic_types": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :2:7: note: possible intended match here Stack dump: ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-state-dump.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:33'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:33'0 ~~~~~~~~~~~~ check:33'1 ? possible intended match 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-state-dump.cpp check:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: 1. parser at end of file check:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling evalNonNullParamNonNullReturn(const Shape *) check:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-state-dump.cpp:20:19: Error evaluating statement check:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/cfref_rdar6080742.c (537 of 19719) ******************** TEST 'Clang :: Analysis/cfref_rdar6080742.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cfref_rdar6080742.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cfref_rdar6080742.c 1. parser at end of file 2. While analyzing stack: #0 Calling main 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cfref_rdar6080742.c:48:3: Error evaluating statement #0 0x0000ffff7dc7ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7dc79180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7dc7b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff86c3f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff85bda104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff85bda104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff85bda104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff85bda104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff85bda104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff85bda104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff85b853bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff85b853bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff85b853bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff85b9a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff85b9a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff85b9a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff85b9a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff85b9a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff85b9a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff85b9a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff85b9a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff85b9a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff85b9a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff85b9a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff85b9a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff85b9ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff85b9ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff85b9ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff85b9ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff85b9ab14 clang::ento::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 0x0000ffff85e652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff85e652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff85e652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff85e652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff85e652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff85e66278 llvm::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 0x0000ffff85e66278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff85e66278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff85e6a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff85e6a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff85e6a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff85e6a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff85e6a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff842c1b88 __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 0x0000ffff842c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff842c1b88 void clang::finalize>, 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 0x0000ffff842c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff85985600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff8593d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff8593d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff8593d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff859c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaad9e959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaad9e994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaad9e9aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaad9e91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff7cec098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff7cec0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaad9e920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cfref_rdar6080742.c.script: line 1: 36156 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cfref_rdar6080742.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/cfref_PR2519.c (539 of 19719) ******************** TEST 'Clang :: Analysis/cfref_PR2519.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cfref_PR2519.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cfref_PR2519.c 1. parser at end of file 2. While analyzing stack: #0 Calling main 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cfref_PR2519.c:33:36: Error evaluating statement #0 0x0000ffff9ca6ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9ca69180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9ca6b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa5a247e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa49ca104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa49ca104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa49ca104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa49ca104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffa49ca104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffa49ca104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffa49753bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffa49753bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffa49753bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffa498a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffa498a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffa498a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffa498a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffa498a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffa498a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffa498a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffa498a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffa498a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffa498a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa498a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffa498a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffa498ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffa498ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffa498ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffa498ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffa498ab14 clang::ento::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 0x0000ffffa4c552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa4c552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa4c552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffa4c552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffa4c552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffa4c56278 llvm::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 0x0000ffffa4c56278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffa4c56278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffa4c5a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffa4c5a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffa4c5a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffa4c5a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffa4c5a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffa30b1b88 __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 0x0000ffffa30b1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffa30b1b88 void clang::finalize>, 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 0x0000ffffa30b1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffa4775600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffa472d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffa472d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffa472d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffa47b36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaab06459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaab06494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaab064aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaab0641fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff9bcb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff9bcb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaab06420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cfref_PR2519.c.script: line 1: 36157 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cfref_PR2519.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/const-method-call.cpp (540 of 19719) ******************** TEST 'Clang :: Analysis/const-method-call.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/const-method-call.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/const-method-call.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling Outer2::Outer2() at line 267 #1 Calling checkThatConstMethodCallDoesInvalidateObjectForCircularReferences() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/const-method-call.cpp:260:8: Error evaluating statement #0 0x0000ffff8906ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff89069180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8906b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff920217e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff90f750b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff90f750b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff90f750b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff90f750b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff90f750b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff90f750b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff90f750b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff90f750b8 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 0x0000ffff90f8a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff90f8a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff90f8a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff90f8a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff90f8a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff90f8a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff90f8a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff90f8a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff90f8a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff90f8a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff90f8a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff90f8a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff90f8ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff90f8ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff90f8ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff90f8ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff90f8ab14 clang::ento::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 0x0000ffff912552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff912552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff912552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff912552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff912552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff91256278 llvm::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 0x0000ffff91256278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff91256278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff9125a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff9125a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff9125a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff9125a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff9125a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff8f6b1b88 __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 0x0000ffff8f6b1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff8f6b1b88 void clang::finalize>, 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 0x0000ffff8f6b1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff90d75600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff90d2d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff90d2d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff90d2d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff90db36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaad28b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaad28b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaad28baac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaad28b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff882b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff882b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaad28b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/const-method-call.cpp.script: line 1: 36217 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/const-method-call.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/complex.c (541 of 19719) ******************** TEST 'Clang :: Analysis/complex.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/complex.c -Wno-unreachable-code -ffreestanding -analyzer-checker=core -analyzer-checker=debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/complex.c -Wno-unreachable-code -ffreestanding -analyzer-checker=core -analyzer-checker=debug.ExprInspection 1. parser at end of file 2. While analyzing stack: #0 Calling f1 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/complex.c:17:27: Error evaluating statement #0 0x0000ffffb4e2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb4e29180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb4e2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbdde47e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbcd8a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbcd8a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbcd8a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbcd8a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffbcd8a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffbcd8a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffbcd353bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffbcd353bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffbcd353bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffbcd4a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffbcd4a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffbcd4a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffbcd4a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffbcd4a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffbcd4a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffbcd4a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffbcd4a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffbcd4a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffbcd4a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbcd4a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffbcd4a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffbcd4ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffbcd4ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffbcd4ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffbcd4ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffbcd4ab14 clang::ento::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 0x0000ffffbd0152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffbd0152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffbd0152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffbd0152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffbd0152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffbd016278 llvm::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 0x0000ffffbd016278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffbd016278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffbd01a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffbd01a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffbd01a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffbd01a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffbd01a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffbb471b88 __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 0x0000ffffbb471b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffbb471b88 void clang::finalize>, 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 0x0000ffffbb471b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffbcb35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffbcaed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffbcaed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffbcaed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffbcb736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaab00259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaab00294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaab002aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaab0021fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffb407098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffb4070a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaab00220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/complex.c.script: line 1: 36186 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/complex.c -Wno-unreachable-code -ffreestanding -analyzer-checker=core -analyzer-checker=debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/cert/pos34-c-fp-suppression.cpp (542 of 19719) ******************** TEST 'Clang :: Analysis/cert/pos34-c-fp-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.pos.34c -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c-fp-suppression.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.pos.34c -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c-fp-suppression.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_auto_var_used_good::bar() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c-fp-suppression.cpp:31:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c-fp-suppression.cpp:31:7: Error evaluating statement #0 0x0000ffff97b2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff97b29180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff97b2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa0ae97e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9fde0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9fde0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9fde0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9fde0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9fde0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9fde0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9fde0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9fde0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9fa8e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9fa8e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9fa8e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9fa8e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9fa8eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9fa8eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9fa8eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9fa8eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9faa1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9faa1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9faa1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9faa2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9faa2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9faa2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9faa24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9faa24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9faa24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9faaeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9faaeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9faaeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9fab8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9fab8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9fab8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9fa1c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9fa1c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9fa1c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9fa1c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9ff0b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9ff0b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9ff0b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9fa2fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9fa2fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9fa2fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff9fa4a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff9fa4a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff9fa4a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff9fa4a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff9fa4a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff9fa4a2b8 clang::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 0x0000ffff9fa4a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9fa4a7cc clang::ento::CoreEngine::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 0x0000ffff9fa4ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9fa4ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9fa4ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9fa4ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9fa4ab14 clang::ento::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 0x0000ffff9fd152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9fd152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9fd152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9fd152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9fd152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9fd16278 llvm::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 0x0000ffff9fd16278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9fd16278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9fd1a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9fd1a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9fd1a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9fd1a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9fd1a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9e171b88 __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 0x0000ffff9e171b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9e171b88 void clang::finalize>, 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 0x0000ffff9e171b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9f835600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9f7ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9f7ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9f7ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9f8736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad81f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad81f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad81faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad81f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff96d7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff96d70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad81f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/cert/Output/pos34-c-fp-suppression.cpp.script: line 1: 36139 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.pos.34c -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c-fp-suppression.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/conditional-path-notes.c (543 of 19719) ******************** TEST 'Clang :: Analysis/conditional-path-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-path-notes.c -analyzer-checker=core.NullDereference -analyzer-output=text -verify : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-path-notes.c -analyzer-checker=core.NullDereference -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/conditional-path-notes.c.tmp : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling testNonDiagnosableBranchArithmetic 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-path-notes.c:79:7: Error evaluating branch #0 0x0000ffff8fe5ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8fe59180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8fe5b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff98e117e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff97dbe560 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff97dbe560 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff97dbe560 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff97dbe560 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff97dbe560 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff97dbe560 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff97dbe560 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff97dbe560 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:0 #12 0x0000ffff97dbe560 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:0 #13 0x0000ffff97dbe560 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:0 #14 0x0000ffff97dbe560 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:0 #15 0x0000ffff97dbe560 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:0 #16 0x0000ffff97dbe560 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #17 0x0000ffff97dbe560 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #18 0x0000ffff97dbe560 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #19 0x0000ffff97dbe560 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #20 0x0000ffff97dbe560 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #21 0x0000ffff97dbe560 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #22 0x0000ffff97dbec90 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #23 0x0000ffff97dbec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffff97dbec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff97dbec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #26 0x0000ffff97dd2c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff97dd2c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff97dd2c4c 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 0x0000ffff97dd24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff97dd24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff97dd24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #32 0x0000ffff97ddeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #33 0x0000ffff97ddeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #34 0x0000ffff97ddeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #35 0x0000ffff97de8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #36 0x0000ffff97de8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #37 0x0000ffff97de8484 clang::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 0x0000ffff97d4c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #39 0x0000ffff97d4c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #40 0x0000ffff97d4c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #41 0x0000ffff97d4c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #42 0x0000ffff9823b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #43 0x0000ffff9823b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #44 0x0000ffff9823b004 clang::ento::ProgramState::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 0x0000ffff97d62bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #46 0x0000ffff97d62bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #47 0x0000ffff97d62bc8 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 0x0000ffff97d62bc8 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 0x0000ffff97d62bc8 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 0x0000ffff97d62bc8 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 0x0000ffff97d62bc8 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 0x0000ffff97d62bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #53 0x0000ffff97d62bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #54 0x0000ffff97d62bc8 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 0x0000ffff97d63130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #56 0x0000ffff97d7ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffff97d7ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffff97d7ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffff97d7ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffff97d7ab14 clang::ento::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 0x0000ffff980452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffff980452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffff980452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffff980452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffff980452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffff98046278 llvm::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 0x0000ffff98046278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffff98046278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffff9804a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffff9804a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffff9804a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffff9804a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffff9804a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffff964a1b88 __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 0x0000ffff964a1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffff964a1b88 void clang::finalize>, 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 0x0000ffff964a1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffff97b65600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffff97b1d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffff97b1d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffff97b1d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffff97ba36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaab92359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaab92394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaab923aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaab9231fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffff8f0a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffff8f0a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaab92320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/conditional-path-notes.c.script: line 3: 36214 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-path-notes.c -analyzer-checker=core.NullDereference -analyzer-output=text -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/cert/pos34-c.cpp (544 of 19719) ******************** TEST 'Clang :: Analysis/cert/pos34-c.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.pos.34c -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.pos.34c -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_auto_var_used_good::test_heap_memory(const char *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c.cpp:47:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c.cpp:47:7: Error evaluating statement #0 0x0000ffff90d5ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff90d59180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff90d5b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff99d147e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff99010e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff99010e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff99010e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff99010e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff99010e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff99010e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff99010e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff99010e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff98cbe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff98cbe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff98cbe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff98cbe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff98cbeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff98cbeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff98cbeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff98cbeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff98cd1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff98cd1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff98cd1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff98cd2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff98cd2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff98cd2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff98cd24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff98cd24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff98cd24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff98cdeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff98cdeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff98cdeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff98ce8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff98ce8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff98ce8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff98c4c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff98c4c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff98c4c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff98c4c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9913b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9913b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9913b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff98c5fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff98c5fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff98c5fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff98c7a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff98c7a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff98c7a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff98c7a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff98c7a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff98c7a2b8 clang::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 0x0000ffff98c7a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff98c7a7cc clang::ento::CoreEngine::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 0x0000ffff98c7ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff98c7ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff98c7ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff98c7ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff98c7ab14 clang::ento::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 0x0000ffff98f452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff98f452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff98f452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff98f452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff98f452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff98f46278 llvm::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 0x0000ffff98f46278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff98f46278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff98f4a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff98f4a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff98f4a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff98f4a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff98f4a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff973a1b88 __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 0x0000ffff973a1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff973a1b88 void clang::finalize>, 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 0x0000ffff973a1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff98a65600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff98a1d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff98a1d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff98a1d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff98aa36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab59d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab59d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab59daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab59d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8ffa098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8ffa0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab59d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/cert/Output/pos34-c.cpp.script: line 1: 36145 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.pos.34c -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/constant-folding-crash.cpp (545 of 19719) ******************** TEST 'Clang :: Analysis/constant-folding-crash.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constant-folding-crash.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constant-folding-crash.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling bbi_77010::crash_NE(int, int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constant-folding-crash.cpp:8:9: Error evaluating statement #0 0x0000ffff9cf3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9cf39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9cf3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa5ef07e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa4e9a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa4e9a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa4e9a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa4e9a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffa4e9a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffa4e9a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffa4e453bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffa4e453bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffa4e453bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffa4e5a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffa4e5a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffa4e5a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffa4e5a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffa4e5a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffa4e5a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffa4e5a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffa4e5a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffa4e5a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffa4e5a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa4e5a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffa4e5a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffa4e5ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffa4e5ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffa4e5ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffa4e5ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffa4e5ab14 clang::ento::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 0x0000ffffa51252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa51252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa51252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffa51252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffa51252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffa5126278 llvm::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 0x0000ffffa5126278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffa5126278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffa512a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffa512a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffa512a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffa512a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffa512a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffa3581b88 __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 0x0000ffffa3581b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffa3581b88 void clang::finalize>, 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 0x0000ffffa3581b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffa4c45600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffa4bfd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffa4bfd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffa4bfd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffa4c836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaadfb659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaadfb694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaadfb6aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaadfb61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff9c18098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff9c180a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaadfb620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/constant-folding-crash.cpp.script: line 1: 36222 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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/comparison-implicit-casts.cpp (547 of 19719) ******************** TEST 'Clang :: Analysis/comparison-implicit-casts.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.cstring,debug.ExprInspection -triple i386-apple-darwin9 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/comparison-implicit-casts.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.cstring,debug.ExprInspection -triple x86_64-apple-darwin9 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/comparison-implicit-casts.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.cstring,debug.ExprInspection -triple i386-apple-darwin9 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/comparison-implicit-casts.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling PR12206_strlen(const char *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/comparison-implicit-casts.cpp:87:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/comparison-implicit-casts.cpp:87:7: Error evaluating statement #0 0x0000ffff77e6ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff77e69180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff77e6b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff80e217e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff80120e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff80120e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff80120e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff80120e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff80120e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff80120e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff80120e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff80120e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff7fdce018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff7fdce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff7fdce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff7fdce018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff7fdceef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff7fdceef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff7fdceef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff7fdceef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff7fde1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff7fde1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff7fde1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff7fde2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff7fde2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff7fde2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff7fde24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7fde24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7fde24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff7fdeeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff7fdeeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff7fdeeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff7fdf8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff7fdf8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff7fdf8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff7fd5c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff7fd5c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff7fd5c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff7fd5c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff80252d58 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff80252d58 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff80252d58 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff80252d58 (anonymous namespace)::CStringChecker::assumeZero(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::QualType) (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:346:0 #43 0x0000ffff80252e18 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #44 0x0000ffff80252e18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #45 0x0000ffff80252e18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff80252e18 (anonymous namespace)::CStringChecker::checkNonNull(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, (anonymous namespace)::AnyArgExpr, clang::ento::SVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:358:0 #47 0x0000ffff7fe1fc48 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #48 0x0000ffff7fe1fc48 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #49 0x0000ffff7fe1fc48 (anonymous namespace)::CStringChecker::evalstrLengthCommon(clang::ento::CheckerContext&, clang::CallExpr const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1543:45 #50 0x0000ffff7fe2c070 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #51 0x0000ffff7fe2c070 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2515:23 #52 0x0000ffff7fe2c070 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CStringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #53 0x0000ffff7fd4719c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #54 0x0000ffff7fda6bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #55 0x0000ffff7fda6bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #56 0x0000ffff7fda6bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #57 0x0000ffff7fda6bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #58 0x0000ffff7fda74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #59 0x0000ffff7fd89250 clang::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 0x0000ffff7fd89250 clang::ento::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 0x0000ffff7fd8a2b8 clang::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 0x0000ffff7fd8a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff7fd8a7cc clang::ento::CoreEngine::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 0x0000ffff7fd8ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x0000ffff7fd8ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x0000ffff7fd8ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #67 0x0000ffff7fd8ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #68 0x0000ffff7fd8ab14 clang::ento::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 0x0000ffff800552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #70 0x0000ffff800552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #71 0x0000ffff800552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #72 0x0000ffff800552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #73 0x0000ffff800552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #74 0x0000ffff80056278 llvm::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 0x0000ffff80056278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #76 0x0000ffff80056278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #77 0x0000ffff8005a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #78 0x0000ffff8005a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #79 0x0000ffff8005a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #80 0x0000ffff8005a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #81 0x0000ffff8005a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #82 0x0000ffff7e4b1b88 __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 0x0000ffff7e4b1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #84 0x0000ffff7e4b1b88 void clang::finalize>, 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 0x0000ffff7e4b1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #86 0x0000ffff7fb75600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #87 0x0000ffff7fb2d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #88 0x0000ffff7fb2d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #89 0x0000ffff7fb2d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #90 0x0000ffff7fbb36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #91 0x0000aaaae76459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #92 0x0000aaaae76494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #93 0x0000aaaae764aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #94 0x0000aaaae7641fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #95 0x0000ffff770b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #96 0x0000ffff770b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #97 0x0000aaaae76420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/comparison-implicit-casts.cpp.script: line 2: 36178 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.cstring,debug.ExprInspection -triple i386-apple-darwin9 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/comparison-implicit-casts.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/constraint_manager_conditions.cpp (548 of 19719) ******************** TEST 'Clang :: Analysis/constraint_manager_conditions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_conditions.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_conditions.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling cmp_op_table_unknownX2(int, int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_conditions.cpp:217:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_conditions.cpp:217:7: Error evaluating statement #0 0x0000ffff9a33ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9a339180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9a33b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa32f77e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa25f0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa25f0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa25f0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa25f0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa25f0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa25f0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa25f0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa25f0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa229e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa229e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa229e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa229e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa229ec90 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa229ec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa229ec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa229ec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffa22b2c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa22b2c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa22b2c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa22b24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa22b24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa22b24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffffa22beb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffffa22beb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffffa22beb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffffa22c8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffffa22c8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffa22c8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffffa222c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffffa222c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffffa222c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffffa222c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffffa271b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffa271b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffa271b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffffa223fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffffa223fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffffa223fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffffa225a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffffa225a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffffa225a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffffa225a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffffa225a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffffa225a2b8 clang::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 0x0000ffffa225a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa225a7cc clang::ento::CoreEngine::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 0x0000ffffa225ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffffa225ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffffa225ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffffa225ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffffa225ab14 clang::ento::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 0x0000ffffa25252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffffa25252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffffa25252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffffa25252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffffa25252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffffa2526278 llvm::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 0x0000ffffa2526278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffffa2526278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffffa252a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffffa252a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffffa252a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffffa252a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffffa252a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffffa0981b88 __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 0x0000ffffa0981b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffffa0981b88 void clang::finalize>, 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 0x0000ffffa0981b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffffa2045600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffffa1ffd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffffa1ffd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffffa1ffd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffffa20836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaab2e959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaab2e994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaab2e9aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaab2e91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff9958098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff99580a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaab2e920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/constraint_manager_conditions.cpp.script: line 1: 36233 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_conditions.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/constant-folding.c (549 of 19719) ******************** TEST 'Clang :: Analysis/constant-folding.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constant-folding.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constant-folding.c 1. parser at end of file 2. While analyzing stack: #0 Calling testDisequalityRules 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constant-folding.c:316:7: Error evaluating statement #0 0x0000ffff8a92ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8a929180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8a92b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff938ee7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9288a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9288a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9288a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9288a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff9288a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff9288a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff928353bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff928353bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff928353bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff9284a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff9284a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff9284a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff9284a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff9284a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff9284a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff9284a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff9284a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff9284a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff9284a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9284a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff9284a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff9284ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff9284ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff9284ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff9284ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff9284ab14 clang::ento::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 0x0000ffff92b152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff92b152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff92b152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff92b152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff92b152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff92b16278 llvm::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 0x0000ffff92b16278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff92b16278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff92b1a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff92b1a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff92b1a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff92b1a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff92b1a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff90f71b88 __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 0x0000ffff90f71b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff90f71b88 void clang::finalize>, 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 0x0000ffff90f71b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff92635600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff925ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff925ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff925ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff926736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaac7f259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaac7f294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaac7f2aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaac7f21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff89b7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff89b70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaac7f220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/constant-folding.c.script: line 1: 36231 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constant-folding.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/constraint-assignor.c (550 of 19719) ******************** TEST 'Clang :: Analysis/constraint-assignor.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint-assignor.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint-assignor.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify 1. parser at end of file 2. While analyzing stack: #0 Calling remainder_with_adjustment_of_composit_lhs 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint-assignor.c:79:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint-assignor.c:79:7: Error evaluating statement #0 0x0000ffff9676ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff96769180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9676b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9f7287e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9ea20e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9ea20e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9ea20e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9ea20e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9ea20e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9ea20e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9ea20e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9ea20e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9e6ce018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9e6ce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9e6ce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9e6ce018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9e6ceef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9e6ceef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9e6ceef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9e6ceef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9e6e1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9e6e1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9e6e1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9e6e2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9e6e2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9e6e2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9e6e24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9e6e24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9e6e24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9e6eeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9e6eeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9e6eeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9e6f8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9e6f8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9e6f8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9e65c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9e65c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9e65c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9e65c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9eb4b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9eb4b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9eb4b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9e66fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9e66fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9e66fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff9e68a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff9e68a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff9e68a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff9e68a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff9e68a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff9e68a2b8 clang::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 0x0000ffff9e68a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9e68a7cc clang::ento::CoreEngine::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 0x0000ffff9e68ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9e68ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9e68ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9e68ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9e68ab14 clang::ento::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 0x0000ffff9e9552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9e9552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9e9552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9e9552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9e9552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9e956278 llvm::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 0x0000ffff9e956278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9e956278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9e95a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9e95a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9e95a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9e95a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9e95a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9cdb1b88 __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 0x0000ffff9cdb1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9cdb1b88 void clang::finalize>, 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 0x0000ffff9cdb1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9e475600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9e42d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9e42d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9e42d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9e4b36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaaac359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaaac394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaaac3aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaaac31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff959b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff959b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaaac320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/constraint-assignor.c.script: line 1: 36229 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint-assignor.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/class-object-state-dump.m (551 of 19719) ******************** TEST 'Clang :: Analysis/class-object-state-dump.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/class-object-state-dump.m 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/class-object-state-dump.m -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/class-object-state-dump.m:30:12: error: CHECK: expected string not found in input // CHECK: "class_object_types": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :3:397: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/class-object-state-dump.m ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/class-object-state-dump.m -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:30'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:30'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/class-object-state-dump.m check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:30'1 ? possible intended match 4: 1. parser at end of file check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: #0 0x0000ffffa720ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #1 0x0000ffffa7209180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: #2 0x0000ffffa720b408 (/usr/lib64/libLLVM-17.so+0x9cb408) check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: #3 0x0000ffffb01c17e0 (linux-vdso.so.1+0x7e0) check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/constraint_manager_negate_difference.c (552 of 19719) ******************** TEST 'Clang :: Analysis/constraint_manager_negate_difference.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate_difference.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate_difference.c 1. parser at end of file 2. While analyzing stack: #0 Calling negated_unsigned_range 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate_difference.c:150:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate_difference.c:150:3: Error evaluating statement #0 0x0000ffff9e77ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9e779180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9e77b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa77317e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa66de560 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa66de560 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa66de560 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa66de560 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa66de560 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa66de560 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa66de560 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa66de560 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:0 #12 0x0000ffffa66de560 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:0 #13 0x0000ffffa66de560 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:0 #14 0x0000ffffa66de560 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:0 #15 0x0000ffffa66de560 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:0 #16 0x0000ffffa66de560 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #17 0x0000ffffa66de560 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #18 0x0000ffffa66de560 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #19 0x0000ffffa66de560 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #20 0x0000ffffa66de560 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #21 0x0000ffffa66de560 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #22 0x0000ffffa66dec90 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #23 0x0000ffffa66dec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffffa66dec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffa66dec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #26 0x0000ffffa66f1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa66f1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa66f1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, 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 0x0000ffffa66f2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffa66f2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffa66f2ff0 clang::ento::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 0x0000ffffa66f24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffffa66f24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffffa66f24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #35 0x0000ffffa66feb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #36 0x0000ffffa66feb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #37 0x0000ffffa66feb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #38 0x0000ffffa6708484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x0000ffffa6708484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x0000ffffa6708484 clang::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 0x0000ffffa666c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #42 0x0000ffffa666c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #43 0x0000ffffa666c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #44 0x0000ffffa666c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #45 0x0000ffffa6b5f5b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #46 0x0000ffffa6b5f5b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x0000ffffa6b5f5b4 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 0x0000ffffa6b5f5b4 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 0x0000ffffa6779ff0 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #50 0x0000ffffa6779ff0 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #51 0x0000ffffa6779ff0 (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 0x0000ffffa67ad7c0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #53 0x0000ffffa67ad7c0 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #54 0x0000ffffa665719c 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 0x0000ffffa66b6bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #56 0x0000ffffa66b6bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #57 0x0000ffffa66b6bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #58 0x0000ffffa66b6bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #59 0x0000ffffa66b74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #60 0x0000ffffa6699250 clang::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 0x0000ffffa6699250 clang::ento::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 0x0000ffffa669a2b8 clang::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 0x0000ffffa669a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa669a7cc clang::ento::CoreEngine::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 0x0000ffffa669ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffffa669ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffffa669ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffffa669ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffffa669ab14 clang::ento::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 0x0000ffffa69652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffffa69652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffffa69652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffffa69652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffffa69652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffffa6966278 llvm::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 0x0000ffffa6966278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffffa6966278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffffa696a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffffa696a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffffa696a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffffa696a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffffa696a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffffa4dc1b88 __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 0x0000ffffa4dc1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffffa4dc1b88 void clang::finalize>, 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 0x0000ffffa4dc1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffffa6485600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffffa643d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffffa643d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffffa643d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffffa64c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaab12e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaab12e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaab12eaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaab12e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffff9d9c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffff9d9c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaab12e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/constraint_manager_negate_difference.c.script: line 1: 36265 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate_difference.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/constraint_manager_negate.c (553 of 19719) ******************** TEST 'Clang :: Analysis/constraint_manager_negate.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate.c 1. parser at end of file 2. While analyzing stack: #0 Calling negate_unsigned_one 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate.c:110:3 : Error evaluating branch #0 0x0000ffff873dad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff873d9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff873db408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9039f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8f690e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8f690e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8f690e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8f690e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8f690e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8f690e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8f690e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8f690e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8f33e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8f33e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8f33e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8f33e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8f33eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8f33eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8f33eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8f33eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8f351aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8f351aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8f351aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8f352ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8f352ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8f352ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8f3524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8f3524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8f3524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8f35eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8f35eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8f35eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8f368484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8f368484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8f368484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8f2cc9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8f2cc9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8f2cc9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8f2cc9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8f7bb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8f7bb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8f7bb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8f2e2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff8f2e2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff8f2e2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff8f2e2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff8f2e2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff8f2e2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff8f2e2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff8f2e2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff8f2e2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff8f2e2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff8f2e3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8f2fab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8f2fab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8f2fab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8f2fab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8f2fab14 clang::ento::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 0x0000ffff8f5c52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8f5c52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8f5c52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8f5c52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8f5c52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8f5c6278 llvm::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 0x0000ffff8f5c6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8f5c6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8f5ca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8f5ca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8f5ca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8f5ca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8f5ca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8da21b88 __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 0x0000ffff8da21b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8da21b88 void clang::finalize>, 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 0x0000ffff8da21b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8f0e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8f09d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8f09d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8f09d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8f1236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac90859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac90894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac908aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac9081fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8662098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff86620a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac90820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/constraint_manager_negate.c.script: line 1: 36246 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/conditional-operator.cpp (554 of 19719) ******************** TEST 'Clang :: Analysis/conditional-operator.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-operator.cpp -analyzer-output=text -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-operator.cpp -analyzer-output=text -verify 1. parser at end of file 2. While analyzing stack: #0 Calling OperatorEvaluationTest(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-operator.cpp:12:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-operator.cpp:12:10: Error evaluating statement #0 0x0000ffff9c08ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9c089180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9c08b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa504c7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa4340e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa4340e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa4340e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa4340e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa4340e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa4340e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa4340e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa4340e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa3fee018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa3fee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa3fee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa3fee018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa3feeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa3feeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa3feeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa3feeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa4001aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa4001aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa4001aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa4002ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa4002ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa4002ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa40024c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa40024c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa40024c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa400eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa400eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa400eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa4018484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa4018484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa4018484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa3f7c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa3f7c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa3f7c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa3f7c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa446b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa446b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa446b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa409c500 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa409c500 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa409c500 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffa409c500 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffa3f66c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffa3f8f570 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffa3f8f570 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffa3f8f7ac llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffffa3f8f7ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffa3f8f7ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffa3f8f7ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffa3f9f470 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffa3f9f470 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffa3f9f470 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffa3fa8c34 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffa3fa8c34 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffa3fa8c34 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffa3faa2b8 clang::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 0x0000ffffa3faa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa3faa7cc clang::ento::CoreEngine::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 0x0000ffffa3faab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffa3faab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffa3faab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffa3faab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffa3faab14 clang::ento::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 0x0000ffffa42752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffa42752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffa42752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffa42752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffa42752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffa4276278 llvm::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 0x0000ffffa4276278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffa4276278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffa427a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffa427a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffa427a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffa427a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffa427a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffa26d1b88 __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 0x0000ffffa26d1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffa26d1b88 void clang::finalize>, 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 0x0000ffffa26d1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffa3d95600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffa3d4d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffa3d4d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffa3d4d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffa3dd36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaadb4459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaadb4494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaadb44aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaadb441fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff9b2d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff9b2d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaadb4420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/conditional-operator.cpp.script: line 1: 36208 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-operator.cpp -analyzer-output=text -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/call.cpp (558 of 19719) ******************** TEST 'Clang :: Analysis/copypaste/call.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/call.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/call.cpp 1. parser at end of file #0 0x0000ffffa397ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa3979180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa397b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffac9357e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffab889f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffab889f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffab889f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffab889f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffab889f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffab889f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffab889f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffab889f54 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 0x0000ffffab88a878 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 0x0000ffffab89a954 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 0x0000ffffab89ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffab89ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffab89ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffab89ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffab89ab14 clang::ento::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 0x0000ffffabb652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffabb652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffabb652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffabb652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffabb652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffabb66278 llvm::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 0x0000ffffabb66278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffabb66278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffabb6a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffabb6a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffabb6a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffabb6a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffabb6a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffa9fc1b88 __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 0x0000ffffa9fc1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffa9fc1b88 void clang::finalize>, 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 0x0000ffffa9fc1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffab685600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffab63d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffab63d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffab63d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffab6c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaae1d059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaae1d094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaae1d0aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaae1d01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffa2bc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffa2bc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaae1d020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/call.cpp.script: line 1: 36293 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/call.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copy-elision.cpp (560 of 19719) ******************** TEST 'Clang :: Analysis/copy-elision.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -analyzer-config elide-constructors=false -DNO_ELIDE_FLAG -analyzer-config eagerly-assume=false -verify=expected,no-elide /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.cpp : 'RUN: at line 8'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -analyzer-config elide-constructors=false -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling arg_directly_from_return_in_loop::create() at line 439 #1 Calling arg_directly_from_return_in_loop::test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.cpp:430:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.cpp:430:10: Error evaluating statement #0 0x0000ffff9004ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff90049180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9004b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9900a7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff97f5b9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff97f5b9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff97f5b9a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff97f5b9a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff97f5b9a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff97f5b9a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff97f5b9a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff97f5b9a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff97f5bd94 llvm::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 0x0000ffff97f5bd94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff97f5bd94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff97f5bd94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff97f5bd94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff97f5c474 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffff97f5c474 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffff97f5c474 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:0 #20 0x0000ffff97f5c3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x0000ffff97f5c3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x0000ffff97f5c3b4 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:451:0 #23 0x0000ffff97f63db0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x0000ffff97f63db0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x0000ffff97f63db0 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 0x0000ffff97f63db0 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 0x0000ffff97f6920c clang::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 0x0000ffff97f6920c clang::ento::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 0x0000ffff97f6a2b8 clang::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 0x0000ffff97f6a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff97f6a7cc clang::ento::CoreEngine::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 0x0000ffff97f6ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #33 0x0000ffff97f6ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #34 0x0000ffff97f6ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #35 0x0000ffff97f6ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #36 0x0000ffff97f6ab14 clang::ento::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 0x0000ffff982352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #38 0x0000ffff982352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #39 0x0000ffff982352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #40 0x0000ffff982352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #41 0x0000ffff982352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #42 0x0000ffff98236278 llvm::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 0x0000ffff98236278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #44 0x0000ffff98236278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #45 0x0000ffff9823a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffff9823a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffff9823a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #48 0x0000ffff9823a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #49 0x0000ffff9823a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #50 0x0000ffff96691b88 __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 0x0000ffff96691b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #52 0x0000ffff96691b88 void clang::finalize>, 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 0x0000ffff96691b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #54 0x0000ffff97d55600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #55 0x0000ffff97d0d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #56 0x0000ffff97d0d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #57 0x0000ffff97d0d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #58 0x0000ffff97d936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #59 0x0000aaaacc1259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #60 0x0000aaaacc1294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #61 0x0000aaaacc12aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #62 0x0000aaaacc121fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #63 0x0000ffff8f29098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #64 0x0000ffff8f290a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #65 0x0000aaaacc1220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/copy-elision.cpp.script: line 4: 36282 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/conversion-tracking-notes.c (561 of 19719) ******************** TEST 'Clang :: Analysis/conversion-tracking-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion-tracking-notes.c -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,apiModeling,alpha.core.Conversion -analyzer-output=text -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion-tracking-notes.c -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,apiModeling,alpha.core.Conversion -analyzer-output=text -verify 1. parser at end of file 2. While analyzing stack: #0 Calling track_relational #0 0x0000ffff9c3cad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9c3c9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9c3cb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa538d7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa432a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa432a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa432a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa432a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffa432a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffa432a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffa42d53bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffa42d53bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffa42d53bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffa4300e2c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #14 0x0000ffffa4300e2c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #15 0x0000ffffa42da3e8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #16 0x0000ffffa42da3e8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #17 0x0000ffffa42da3e8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #18 0x0000ffffa42da3e8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #19 0x0000ffffa42da878 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #20 0x0000ffffa42ea954 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #21 0x0000ffffa42eab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffffa42eab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffffa42eab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffffa42eab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffffa42eab14 clang::ento::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 0x0000ffffa45b52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa45b52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa45b52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffffa45b52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffffa45b52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffffa45b6278 llvm::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 0x0000ffffa45b6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffffa45b6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffffa45ba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffffa45ba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffffa45ba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffffa45ba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffffa45ba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffffa2a11b88 __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 0x0000ffffa2a11b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffffa2a11b88 void clang::finalize>, 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 0x0000ffffa2a11b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffffa40d5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffffa408d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffffa408d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffffa408d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffffa41136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaae74a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaae74a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaae74aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaae74a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffff9b61098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffff9b610a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaae74a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/conversion-tracking-notes.c.script: line 1: 36273 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion-tracking-notes.c -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,apiModeling,alpha.core.Conversion -analyzer-output=text -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/copy-elision.mm (562 of 19719) ******************** TEST 'Clang :: Analysis/copy-elision.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.mm 1. parser at end of file 2. While analyzing stack: #0 Calling anonymous code at line 14 Invoking block defined at line 14 #1 Calling block_rvo_crash::foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.mm:15:5: Error evaluating statement #0 0x0000ffff7b94ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7b949180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7b94b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff849067e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff838550b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff838550b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff838550b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff838550b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff838550b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff838550b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff838550b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff838550b8 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 0x0000ffff8386a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff8386a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff8386a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff8386a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff8386a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff8386a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff8386a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff8386a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff8386a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff8386a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8386a7cc clang::ento::CoreEngine::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 0x0000ffff8386ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffff8386ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffff8386ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffff8386ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffff8386ab14 clang::ento::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 0x0000ffff83b352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffff83b352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffff83b352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffff83b352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffff83b352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffff83b36278 llvm::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 0x0000ffff83b36278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffff83b36278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffff83b3a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffff83b3a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffff83b3a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffff83b3a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffff83b3a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffff81f91b88 __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 0x0000ffff81f91b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffff81f91b88 void clang::finalize>, 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 0x0000ffff81f91b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffff83655600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffff8360d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffff8360d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffff8360d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffff836936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaad5c159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaad5c194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaad5c1aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaad5c11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffff7ab9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffff7ab90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaad5c120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/copy-elision.mm.script: line 1: 36287 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/asm.cpp (563 of 19719) ******************** TEST 'Clang :: Analysis/copypaste/asm.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/asm.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/asm.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo3(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/asm.cpp:43:10: Error evaluating statement #0 0x0000ffff96a3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff96a39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff96a3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9f9f87e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9e99a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9e99a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9e99a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9e99a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff9e99a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff9e99a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff9e9453bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff9e9453bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff9e9453bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff9e95a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff9e95a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff9e95a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff9e95a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff9e95a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff9e95a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff9e95a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff9e95a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff9e95a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff9e95a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9e95a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff9e95a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff9e95ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff9e95ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff9e95ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff9e95ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff9e95ab14 clang::ento::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 0x0000ffff9ec252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9ec252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9ec252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff9ec252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff9ec252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff9ec26278 llvm::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 0x0000ffff9ec26278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff9ec26278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff9ec2a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff9ec2a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff9ec2a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff9ec2a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff9ec2a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff9d081b88 __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 0x0000ffff9d081b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff9d081b88 void clang::finalize>, 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 0x0000ffff9d081b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff9e745600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff9e6fd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff9e6fd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff9e6fd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff9e7836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaac42159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaac42194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaac421aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaac4211fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff95c8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff95c80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaac42120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/asm.cpp.script: line 1: 36283 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/asm.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/conversion.c (564 of 19719) ******************** TEST 'Clang :: Analysis/conversion.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.c -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,apiModeling,alpha.unix.StdCLibraryFunctions,alpha.core.Conversion -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.c -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,apiModeling,alpha.unix.StdCLibraryFunctions,alpha.core.Conversion -verify 1. parser at end of file 2. While analyzing stack: #0 Calling floating_point 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.c:235:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.c:235:14: Error evaluating statement #0 0x0000ffff7bbead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7bbe9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7bbeb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff84bac7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff83b27cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff83b27cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff83b27cb0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff83b27cb0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff83b27cb0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff83b27cb0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff83b27cb0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff83b27cb0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff83b27cb0 (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 0x0000ffff83b27d8c (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffff83b3b9f4 clang::ento::ProgramState::getSVal(clang::ento::Loc, clang::QualType) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:273:0 #15 0x0000ffff83aef964 clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3670:25 #16 0x0000ffff83aff470 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x0000ffff83aff470 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x0000ffff83aff470 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #19 0x0000ffff83b08c34 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #20 0x0000ffff83b08c34 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #21 0x0000ffff83b08c34 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #22 0x0000ffff83b0a2b8 clang::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 0x0000ffff83b0a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff83b0a7cc clang::ento::CoreEngine::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 0x0000ffff83b0ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff83b0ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff83b0ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff83b0ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff83b0ab14 clang::ento::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 0x0000ffff83dd52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff83dd52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff83dd52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff83dd52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff83dd52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff83dd6278 llvm::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 0x0000ffff83dd6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff83dd6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff83dda900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff83dda900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff83dda900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff83dda900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff83dda900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff82231b88 __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 0x0000ffff82231b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff82231b88 void clang::finalize>, 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 0x0000ffff82231b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff838f5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff838ad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff838ad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff838ad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff839336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaad33b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaad33b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaad33baac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaad33b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff7ae3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff7ae30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaad33b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/conversion.c.script: line 1: 36272 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.c -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,apiModeling,alpha.unix.StdCLibraryFunctions,alpha.core.Conversion -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/conversion.cpp (565 of 19719) ******************** TEST 'Clang :: Analysis/conversion.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,alpha.core.Conversion -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,alpha.core.Conversion -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling functioncall1(long) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.cpp:21:5: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.cpp:21:5: Error evaluating statement #0 0x0000ffff79fead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff79fe9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff79feb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff82fab7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff81ef5734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff81ef5734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff81ef5734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff81ef5734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff81ef5734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff81ef5734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff81ef5734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff81ef5734 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 0x0000ffff81ebe1fc std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffff81ebe1fc std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffff81ebe1fc clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffff81ebe1fc 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 0x0000ffff81ebf1fc clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffff81ebf1fc 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 0x0000ffff81f80100 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffff81f80100 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffff81f3b2a8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffff81f3b2a8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffff81f3b458 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffff81f3b458 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff81f3b458 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffff81f3dee0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffff81f3dee0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffff81f3dee0 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffff81f3e7fc llvm::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 0x0000ffff81f3e7fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff81f3e7fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff81f3e7fc clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffff81ec7268 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffff81f033d8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffff81f033d8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffff81f033d8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffff81f033d8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffff81f033d8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffff81f033d8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffff81f033d8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffff81f0920c clang::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 0x0000ffff81f0920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffff81f0a2b8 clang::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 0x0000ffff81f0a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff81f0a7cc clang::ento::CoreEngine::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 0x0000ffff81f0ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffff81f0ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffff81f0ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffff81f0ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffff81f0ab14 clang::ento::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 0x0000ffff821d52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffff821d52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff821d52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffff821d52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffff821d52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffff821d6278 llvm::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 0x0000ffff821d6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffff821d6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffff821da900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffff821da900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffff821da900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffff821da900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffff821da900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffff80631b88 __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 0x0000ffff80631b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffff80631b88 void clang::finalize>, 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 0x0000ffff80631b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffff81cf5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffff81cad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffff81cad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffff81cad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffff81d336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaad8bc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaad8bc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaad8bcaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaad8bc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff7923098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff79230a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaad8bc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/conversion.cpp.script: line 1: 36277 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,alpha.core.Conversion -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/delete.cpp (566 of 19719) ******************** TEST 'Clang :: Analysis/copypaste/delete.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/delete.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/delete.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo3(int, int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/delete.cpp:26:12: Error evaluating statement #0 0x0000ffffabdfad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffabdf9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffabdfb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb4db97e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb3d5a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb3d5a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb3d5a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb3d5a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffb3d5a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffb3d5a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffb3d053bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffb3d053bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffb3d053bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffb3d1a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffb3d1a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffb3d1a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffb3d1a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffb3d1a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffb3d1a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffb3d1a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffb3d1a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffb3d1a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffb3d1a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb3d1a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffb3d1a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffb3d1ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffb3d1ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffb3d1ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffb3d1ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffb3d1ab14 clang::ento::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 0x0000ffffb3fe52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb3fe52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb3fe52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffb3fe52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffb3fe52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffb3fe6278 llvm::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 0x0000ffffb3fe6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffb3fe6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffb3fea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffb3fea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffb3fea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffb3fea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffb3fea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffb2441b88 __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 0x0000ffffb2441b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffb2441b88 void clang::finalize>, 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 0x0000ffffb2441b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffb3b05600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffb3abd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffb3abd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffb3abd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffb3b436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaab60259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaab60294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaab602aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaab6021fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffab04098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffab040a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaab60220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/delete.cpp.script: line 1: 36307 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/delete.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/attributes.cpp (567 of 19719) ******************** TEST 'Clang :: Analysis/copypaste/attributes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/attributes.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/attributes.cpp 1. parser at end of file #0 0x0000ffff91b5ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff91b59180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff91b5b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9ab127e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff99e10e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff99e10e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff99e10e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff99e10e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff99e10e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff99e10e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff99e10e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff99e10e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff99abe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff99abe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff99abe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff99abe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff99ac0038 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff99ac0038 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff99ac0038 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff99ac0038 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffff99ad2188 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff99ad2188 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff99ad2188 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffff99ad26e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff99ad26e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff99ad26e4 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffff99a4d018 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff99a4d018 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff99a4d018 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffff99a4d018 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffff99a634e8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff99a634e8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff99a634e8 clang::ento::ProgramState::assumeInclusiveRange(clang::ento::DefinedOrUnknownSVal, llvm::APSInt const&, llvm::APSInt const&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:746:43 #33 0x0000ffff99a634e8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #34 0x0000ffff99a6aebc clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #35 0x0000ffff99a7ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff99a7ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff99a7ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff99a7ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff99a7ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffff99d452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff99d452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff99d452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff99d452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff99d452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff99d46278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffff99d46278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff99d46278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff99d4a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff99d4a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff99d4a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff99d4a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff99d4a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff981a1b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffff981a1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff981a1b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffff981a1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff99865600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff9981d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff9981d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff9981d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff998a36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaaaca159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaaaca194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaaaca1aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaaaca11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff90da098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff90da0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaaaca120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/attributes.cpp.script: line 1: 36292 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/attributes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/container-modeling.cpp (568 of 19719) ******************** TEST 'Clang :: Analysis/container-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/container-modeling.cpp -analyzer-output=text -verify : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/container-modeling.cpp -analyzer-output=text -verify : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.IteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/container-modeling.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/container-modeling.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/container-modeling.cpp -analyzer-output=text -verify 1. parser at end of file 2. While analyzing stack: #0 Calling print_state(std::vector &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/container-modeling.cpp:248:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/container-modeling.cpp:248:3: Error evaluating statement #0 0x0000ffff77e6ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff77e69180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff77e6b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff80e257e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff7fda7cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff7fda7cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff7fda7cb0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff7fda7cb0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff7fda7cb0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff7fda7cb0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff7fda7cb0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff7fda7cb0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff7fda7cb0 (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 0x0000ffff7fda7d8c (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffff7fdfb478 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffff7fdfb478 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffff7fdfacb4 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1270:0 #17 0x0000ffff7fdfacb4 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:0 #18 0x0000ffff802082f4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffff802082f4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffff802082f4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffff7fde27b4 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffff7fde27b4 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffff7fde1d88 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #24 0x0000ffff7fde1e8c clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #25 0x0000ffff7fde2ecc clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:26:17 #26 0x0000ffff7fde24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7fde24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7fde24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff7fdeeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff7fdeeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff7fdeeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff7fdf8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff7fdf8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff7fdf8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff7fd5c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff7fd5c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff7fd5c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff7fd5c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff7fd5cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff7fd5cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff7fd5cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff7fd30400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff7fd30400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff7fd30400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff7fee3b04 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #46 0x0000ffff7fee3b04 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #47 0x0000ffff7fee3b04 clang::ento::iterator::assumeNoOverflow(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, long) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Iterator.cpp:291:0 #48 0x0000ffff7fe60008 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffff7fe60008 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff7fe60008 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:0 #51 0x0000ffff7fe60008 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:0 #52 0x0000ffff7fe60008 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:0 #53 0x0000ffff7fe60008 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #54 0x0000ffff7fd467b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x0000ffff7fd467b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x0000ffff7fd467b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #57 0x0000ffff7fd467b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #58 0x0000ffff7fd467b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #59 0x0000ffff7fda6c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #60 0x0000ffff7fda6c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #61 0x0000ffff7fda6c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #62 0x0000ffff7fda6c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #63 0x0000ffff7fda6c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #64 0x0000ffff7fda6c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #65 0x0000ffff7fda74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #66 0x0000ffff7fd89250 clang::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 0x0000ffff7fd89250 clang::ento::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 0x0000ffff7fd8a2b8 clang::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 0x0000ffff7fd8a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff7fd8a7cc clang::ento::CoreEngine::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 0x0000ffff7fd8ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffff7fd8ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffff7fd8ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #74 0x0000ffff7fd8ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #75 0x0000ffff7fd8ab14 clang::ento::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 0x0000ffff800552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #77 0x0000ffff800552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #78 0x0000ffff800552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #79 0x0000ffff800552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #80 0x0000ffff800552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #81 0x0000ffff80056278 llvm::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 0x0000ffff80056278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x0000ffff80056278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #84 0x0000ffff8005a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x0000ffff8005a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x0000ffff8005a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x0000ffff8005a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x0000ffff8005a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x0000ffff7e4b1b88 __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 0x0000ffff7e4b1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x0000ffff7e4b1b88 void clang::finalize>, 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 0x0000ffff7e4b1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x0000ffff7fb75600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #94 0x0000ffff7fb2d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #95 0x0000ffff7fb2d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #96 0x0000ffff7fb2d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #97 0x0000ffff7fbb36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #98 0x0000aaaacafb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x0000aaaacafb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x0000aaaacafbaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x0000aaaacafb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x0000ffff770b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #103 0x0000ffff770b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #104 0x0000aaaacafb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/container-modeling.cpp.script: line 3: 36275 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/container-modeling.cpp -analyzer-output=text -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/clone-begin-end-different-file.cpp (569 of 19719) ******************** TEST 'Clang :: Analysis/copypaste/clone-begin-end-different-file.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=5 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/clone-begin-end-different-file.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=5 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/clone-begin-end-different-file.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f2m(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/Inputs/clone-begin-end-different-file-begin-macro-1.inc:1:1 : Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/Inputs/clone-begin-end-different-file-begin-macro-1.inc:1:1 : Error evaluating statement #0 0x0000ffff7bcdad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7bcd9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7bcdb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff84c997e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff83f90e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff83f90e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff83f90e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff83f90e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff83f90e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff83f90e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff83f90e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff83f90e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff83c3e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff83c3e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff83c3e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff83c3e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff83c3eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff83c3eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff83c3eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff83c3eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff83c51aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff83c51aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff83c51aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff83c52ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff83c52ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff83c52ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff83c524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff83c524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff83c524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff83c5eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff83c5eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff83c5eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff83c68484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff83c68484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff83c68484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff83bcc9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff83bcc9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff83bcc9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff83bcc9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff840bb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff840bb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff840bb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff83bdfd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff83bdfd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff83bdfd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff83bfa05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff83bfa05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff83bfa05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff83bfa05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff83bfa05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff83bfa2b8 clang::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 0x0000ffff83bfa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff83bfa7cc clang::ento::CoreEngine::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 0x0000ffff83bfab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff83bfab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff83bfab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff83bfab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff83bfab14 clang::ento::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 0x0000ffff83ec52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff83ec52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff83ec52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff83ec52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff83ec52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff83ec6278 llvm::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 0x0000ffff83ec6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff83ec6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff83eca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff83eca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff83eca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff83eca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff83eca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff82321b88 __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 0x0000ffff82321b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff82321b88 void clang::finalize>, 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 0x0000ffff82321b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff839e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8399d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8399d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8399d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff83a236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae1ea59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae1ea94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae1eaaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae1ea1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7af2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7af20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae1ea20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/clone-begin-end-different-file.cpp.script: line 1: 36297 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=5 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/clone-begin-end-different-file.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/autogenerated_automoc.cpp (570 of 19719) ******************** TEST 'Clang :: Analysis/copypaste/autogenerated_automoc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|.*_automoc.cpp" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/autogenerated_automoc.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern=moc_|.*_automoc.cpp -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/autogenerated_automoc.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f1() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/autogenerated_automoc.cpp:9:13: Error evaluating New Allocator Call #0 0x0000ffff8ab7ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8ab79180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8ab7b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff93b3b7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff92e30e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff92e30e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff92e30e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff92e30e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff92e30e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff92e30e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff92e30e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff92e30e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff92ade018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff92ade018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff92ade018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff92ade018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff92adeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff92adeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff92adeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff92adeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff92af1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff92af1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff92af1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff92af2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff92af2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff92af2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff92af24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff92af24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff92af24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff92afeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff92afeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff92afeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff92b08484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff92b08484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff92b08484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff92a6c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff92a6c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff92a6c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff92a6c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff92a6cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff92a6cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff92a6cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff92a96f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff92a96f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff92a96f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff92a96f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff92a96f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff92a9735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff92a9735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff92a9735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff92a9735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff92a9735c 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 0x0000ffff92a9a5dc clang::ento::ExprEngine::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 0x0000ffff92a9a7cc clang::ento::CoreEngine::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 0x0000ffff92a9ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff92a9ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff92a9ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff92a9ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff92a9ab14 clang::ento::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 0x0000ffff92d652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff92d652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff92d652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff92d652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff92d652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff92d66278 llvm::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 0x0000ffff92d66278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff92d66278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff92d6a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff92d6a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff92d6a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff92d6a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff92d6a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff911c1b88 __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 0x0000ffff911c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff911c1b88 void clang::finalize>, 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 0x0000ffff911c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff92885600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff9283d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff9283d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff9283d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff928c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaae40d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaae40d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaae40daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaae40d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff89dc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff89dc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaae40d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/autogenerated_automoc.cpp.script: line 1: 36289 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|.*_automoc.cpp" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/autogenerated_automoc.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/dbus_autogenerated.cpp (571 of 19719) ******************** TEST 'Clang :: Analysis/copypaste/dbus_autogenerated.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|dbus_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/dbus_autogenerated.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern=moc_|dbus_|.*_automoc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/dbus_autogenerated.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f1() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/dbus_autogenerated.cpp:9:13: Error evaluating New Allocator Call #0 0x0000ffff796aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff796a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff796ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff826637e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff81960e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff81960e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff81960e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff81960e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff81960e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff81960e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff81960e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff81960e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8160e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8160e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8160e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8160e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8160eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8160eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8160eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8160eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff81621aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff81621aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff81621aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff81622ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff81622ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff81622ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff816224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff816224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff816224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8162eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8162eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8162eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff81638484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff81638484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff81638484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8159c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8159c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8159c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8159c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8159cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8159cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8159cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff815c6f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff815c6f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff815c6f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff815c6f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff815c6f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff815c735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff815c735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff815c735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff815c735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff815c735c 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 0x0000ffff815ca5dc clang::ento::ExprEngine::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 0x0000ffff815ca7cc clang::ento::CoreEngine::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 0x0000ffff815cab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff815cab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff815cab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff815cab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff815cab14 clang::ento::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 0x0000ffff818952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff818952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff818952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff818952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff818952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff81896278 llvm::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 0x0000ffff81896278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff81896278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff8189a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff8189a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff8189a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff8189a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff8189a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff7fcf1b88 __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 0x0000ffff7fcf1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff7fcf1b88 void clang::finalize>, 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 0x0000ffff7fcf1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff813b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff8136d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff8136d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff8136d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff813f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaadbad59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaadbad94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaadbadaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaadbad1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff788f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff788f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaadbad20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/dbus_autogenerated.cpp.script: line 1: 36302 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|dbus_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/dbus_autogenerated.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/catch.cpp (572 of 19719) ******************** TEST 'Clang :: Analysis/copypaste/catch.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fcxx-exceptions -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/catch.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fcxx-exceptions -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/catch.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo3(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/catch.cpp:26:12: Error evaluating statement #0 0x0000ffff9947ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff99479180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9947b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa24397e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa13da104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa13da104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa13da104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa13da104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffa13da104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffa13da104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffa13853bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffa13853bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffa13853bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffa139a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffa139a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffa139a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffa139a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffa139a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffa139a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffa139a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffa139a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffa139a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffa139a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa139a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffa139a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffa139ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffa139ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffa139ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffa139ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffa139ab14 clang::ento::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 0x0000ffffa16652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa16652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa16652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffa16652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffa16652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffa1666278 llvm::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 0x0000ffffa1666278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffa1666278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffa166a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffa166a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffa166a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffa166a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffa166a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff9fac1b88 __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 0x0000ffff9fac1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff9fac1b88 void clang::finalize>, 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 0x0000ffff9fac1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffa1185600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffa113d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffa113d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffa113d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffa11c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaacb7059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaacb7094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaacb70aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaacb701fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff986c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff986c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaacb7020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/catch.cpp.script: line 1: 36295 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fcxx-exceptions -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/catch.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/dependent-exist.cpp (573 of 19719) ******************** TEST 'Clang :: Analysis/copypaste/dependent-exist.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fms-extensions -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/dependent-exist.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fms-extensions -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/dependent-exist.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo2(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/dependent-exist.cpp:17:10: Error evaluating statement #0 0x0000ffff8da4ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8da49180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8da4b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff96a0e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff959aa104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff959aa104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff959aa104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff959aa104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff959aa104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff959aa104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff959553bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff959553bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff959553bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff9596a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff9596a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff9596a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff9596a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff9596a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff9596a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff9596a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff9596a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff9596a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff9596a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9596a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff9596a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff9596ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff9596ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff9596ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff9596ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff9596ab14 clang::ento::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 0x0000ffff95c352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff95c352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff95c352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff95c352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff95c352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff95c36278 llvm::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 0x0000ffff95c36278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff95c36278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff95c3a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff95c3a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff95c3a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff95c3a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff95c3a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff94091b88 __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 0x0000ffff94091b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff94091b88 void clang::finalize>, 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 0x0000ffff94091b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff95755600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff9570d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff9570d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff9570d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff957936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaac4bb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaac4bb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaac4bbaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaac4bb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff8cc9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff8cc90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaac4bb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/dependent-exist.cpp.script: line 1: 36312 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fms-extensions -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/dependent-exist.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/expr-types.cpp (574 of 19719) ******************** TEST 'Clang :: Analysis/copypaste/expr-types.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/expr-types.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/expr-types.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo2(long, long) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/expr-types.cpp:14:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/expr-types.cpp:14:7: Error evaluating statement #0 0x0000ffff9198ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff91989180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9198b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9a94f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff99c40e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff99c40e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff99c40e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff99c40e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff99c40e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff99c40e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff99c40e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff99c40e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff998ee018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff998ee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff998ee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff998ee018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff998eec90 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff998eec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff998eec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff998eec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff99902c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff99902c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff99902c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff999024c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff999024c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff999024c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffff9990eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffff9990eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffff9990eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffff99918484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffff99918484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff99918484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffff9987c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff9987c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff9987c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffff9987c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffff99d6b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff99d6b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff99d6b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffff9988fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffff9988fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffff9988fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffff998aa05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffff998aa05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffff998aa05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffff998aa05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffff998aa05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffff998aa2b8 clang::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 0x0000ffff998aa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff998aa7cc clang::ento::CoreEngine::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 0x0000ffff998aab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffff998aab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffff998aab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffff998aab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffff998aab14 clang::ento::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 0x0000ffff99b752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffff99b752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffff99b752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffff99b752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffff99b752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffff99b76278 llvm::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 0x0000ffff99b76278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffff99b76278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffff99b7a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffff99b7a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffff99b7a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffff99b7a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffff99b7a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffff97fd1b88 __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 0x0000ffff97fd1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffff97fd1b88 void clang::finalize>, 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 0x0000ffff97fd1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffff99695600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffff9964d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffff9964d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffff9964d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffff996d36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaacec359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaacec394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaacec3aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaacec31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff90bd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff90bd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaacec320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/expr-types.cpp.script: line 1: 36314 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/expr-types.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/generic.c (581 of 19719) ******************** TEST 'Clang :: Analysis/copypaste/generic.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/generic.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/generic.c 1. parser at end of file 2. While analyzing stack: #0 Calling foo3 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/generic.c:28:12: Error evaluating statement #0 0x0000ffff86ffad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff86ff9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff86ffb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8ffb07e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8ef5a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8ef5a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8ef5a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8ef5a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff8ef5a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff8ef5a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff8ef053bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff8ef053bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff8ef053bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8ef1a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff8ef1a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff8ef1a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff8ef1a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff8ef1a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff8ef1a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff8ef1a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff8ef1a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff8ef1a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff8ef1a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8ef1a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff8ef1a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff8ef1ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff8ef1ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff8ef1ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff8ef1ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff8ef1ab14 clang::ento::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 0x0000ffff8f1e52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8f1e52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8f1e52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff8f1e52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff8f1e52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff8f1e6278 llvm::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 0x0000ffff8f1e6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff8f1e6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff8f1ea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff8f1ea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff8f1ea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff8f1ea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff8f1ea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff8d641b88 __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 0x0000ffff8d641b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff8d641b88 void clang::finalize>, 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 0x0000ffff8d641b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff8ed05600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff8ecbd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff8ecbd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff8ecbd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff8ed436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaab45059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaab45094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaab450aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaab4501fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff8624098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff86240a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaab45020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/generic.c.script: line 1: 36336 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/generic.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/suspicious-clones.cpp (582 of 19719) ******************** TEST 'Clang :: Analysis/copypaste/suspicious-clones.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/suspicious-clones.cpp -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:ReportNormalClones=false -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/suspicious-clones.cpp -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:ReportNormalClones=false -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 1. parser at end of file 2. While analyzing stack: #0 Calling faultyBusyIncrement() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/suspicious-clones.cpp:50:7: Error evaluating statement #0 0x0000ffff87b2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff87b29180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff87b2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff90ae57e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8fa8a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8fa8a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8fa8a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8fa8a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff8fa8a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff8fa8a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff8fa353bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff8fa353bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff8fa353bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8fa4a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff8fa4a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff8fa4a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff8fa4a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff8fa4a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff8fa4a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff8fa4a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff8fa4a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff8fa4a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff8fa4a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8fa4a7cc clang::ento::CoreEngine::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 0x0000ffff8fa4ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff8fa4ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff8fa4ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff8fa4ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff8fa4ab14 clang::ento::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 0x0000ffff8fd152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff8fd152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff8fd152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff8fd152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff8fd152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff8fd16278 llvm::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 0x0000ffff8fd16278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff8fd16278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff8fd1a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff8fd1a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff8fd1a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff8fd1a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff8fd1a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff8e171b88 __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 0x0000ffff8e171b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff8e171b88 void clang::finalize>, 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 0x0000ffff8e171b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff8f835600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff8f7ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff8f7ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff8f7ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff8f8736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaae82359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaae82394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaae823aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaae8231fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff86d7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff86d70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaae82320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/suspicious-clones.cpp.script: line 1: 36352 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/suspicious-clones.cpp -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:ReportNormalClones=false -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/functions.cpp (583 of 19719) ******************** TEST 'Clang :: Analysis/copypaste/functions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/functions.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/functions.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling min2(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/functions.cpp:51:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/functions.cpp:51:7: Error evaluating statement #0 0x0000ffff9b09ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9b099180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9b09b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa40537e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa3350e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa3350e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa3350e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa3350e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa3350e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa3350e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa3350e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa3350e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa2ffe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa2ffe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa2ffe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa2ffe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa2ffec90 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa2ffec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa2ffec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa2ffec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffa3012c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa3012c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa3012c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa30124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa30124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa30124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffffa301eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffffa301eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffffa301eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffffa3028484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffffa3028484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffa3028484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffffa2f8c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffffa2f8c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffffa2f8c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffffa2f8c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffffa347b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffa347b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffa347b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffffa2f9fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffffa2f9fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffffa2f9fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffffa2fba05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffffa2fba05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffffa2fba05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffffa2fba05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffffa2fba05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffffa2fba2b8 clang::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 0x0000ffffa2fba5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa2fba7cc clang::ento::CoreEngine::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 0x0000ffffa2fbab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffffa2fbab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffffa2fbab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffffa2fbab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffffa2fbab14 clang::ento::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 0x0000ffffa32852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffffa32852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffffa32852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffffa32852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffffa32852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffffa3286278 llvm::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 0x0000ffffa3286278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffffa3286278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffffa328a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffffa328a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffffa328a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffffa328a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffffa328a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffffa16e1b88 __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 0x0000ffffa16e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffffa16e1b88 void clang::finalize>, 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 0x0000ffffa16e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffffa2da5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffffa2d5d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffffa2d5d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffffa2d5d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffffa2de36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaae9b259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaae9b294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaae9b2aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaae9b21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff9a2e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff9a2e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaae9b220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/functions.cpp.script: line 1: 36325 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/functions.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/moc_autogenerated.cpp (584 of 19719) ******************** TEST 'Clang :: Analysis/copypaste/moc_autogenerated.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/moc_autogenerated.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern=moc_|.*_automoc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/moc_autogenerated.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f1() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/moc_autogenerated.cpp:9:13: Error evaluating New Allocator Call #0 0x0000ffff8c7ead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8c7e9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8c7eb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff957a47e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff94aa0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff94aa0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff94aa0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff94aa0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff94aa0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff94aa0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff94aa0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff94aa0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9474e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9474e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9474e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9474e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9474eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9474eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9474eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9474eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff94761aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff94761aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff94761aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff94762ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff94762ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff94762ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff947624c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff947624c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff947624c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9476eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9476eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9476eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff94778484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff94778484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff94778484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff946dc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff946dc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff946dc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff946dc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff946dcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff946dcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff946dcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff94706f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff94706f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff94706f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff94706f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff94706f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff9470735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff9470735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff9470735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff9470735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff9470735c 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 0x0000ffff9470a5dc clang::ento::ExprEngine::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 0x0000ffff9470a7cc clang::ento::CoreEngine::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 0x0000ffff9470ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff9470ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff9470ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff9470ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff9470ab14 clang::ento::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 0x0000ffff949d52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff949d52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff949d52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff949d52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff949d52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff949d6278 llvm::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 0x0000ffff949d6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff949d6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff949da900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff949da900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff949da900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff949da900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff949da900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff92e31b88 __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 0x0000ffff92e31b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff92e31b88 void clang::finalize>, 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 0x0000ffff92e31b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff944f5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff944ad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff944ad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff944ad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff945336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaac63d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaac63d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaac63daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaac63d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff8ba3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff8ba30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaac63d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/moc_autogenerated.cpp.script: line 1: 36337 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/moc_autogenerated.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/macro-complexity.cpp (585 of 19719) ******************** TEST 'Clang :: Analysis/copypaste/macro-complexity.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/macro-complexity.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/macro-complexity.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling macroClone(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/macro-complexity.cpp:32:10 : Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/macro-complexity.cpp:32:10 : Error evaluating statement #0 0x0000ffff89faad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff89fa9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff89fab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff92f697e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff92260e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff92260e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff92260e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff92260e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff92260e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff92260e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff92260e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff92260e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff91f0e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff91f0e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff91f0e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff91f0e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff91f0ec90 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff91f0ec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff91f0ec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff91f0ec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff91f22c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff91f22c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff91f22c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff91f224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff91f224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff91f224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffff91f2eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffff91f2eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffff91f2eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffff91f38484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffff91f38484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff91f38484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffff91e9c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff91e9c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff91e9c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffff91e9c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffff9238b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff9238b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff9238b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffff91eafd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffff91eafd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffff91eafd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffff91eca05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffff91eca05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffff91eca05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffff91eca05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffff91eca05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffff91eca2b8 clang::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 0x0000ffff91eca5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff91eca7cc clang::ento::CoreEngine::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 0x0000ffff91ecab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffff91ecab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffff91ecab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffff91ecab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffff91ecab14 clang::ento::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 0x0000ffff921952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffff921952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffff921952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffff921952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffff921952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffff92196278 llvm::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 0x0000ffff92196278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffff92196278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffff9219a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffff9219a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffff9219a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffff9219a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffff9219a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffff905f1b88 __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 0x0000ffff905f1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffff905f1b88 void clang::finalize>, 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 0x0000ffff905f1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffff91cb5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffff91c6d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffff91c6d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffff91c6d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffff91cf36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaacd9e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaacd9e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaacd9eaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaacd9e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff891f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff891f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaacd9e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/macro-complexity.cpp.script: line 1: 36334 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/macro-complexity.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/plist-diagnostics-notes-as-events.cpp (586 of 19719) ******************** TEST 'Clang :: Analysis/copypaste/plist-diagnostics-notes-as-events.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -analyzer-config notes-as-events=true -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/plist-diagnostics-notes-as-events.cpp.tmp.plist -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/plist-diagnostics-notes-as-events.cpp : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling maxClone(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/plist-diagnostics-notes-as-events.cpp:15:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/plist-diagnostics-notes-as-events.cpp:15:7: Error evaluating statement #0 0x0000ffff9a0cad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9a0c9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9a0cb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa30817e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa2380e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa2380e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa2380e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa2380e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa2380e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa2380e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa2380e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa2380e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa202e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa202e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa202e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa202e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa202ec90 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa202ec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa202ec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa202ec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffa2042c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa2042c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa2042c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa20424c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa20424c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa20424c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffffa204eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffffa204eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffffa204eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffffa2058484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffffa2058484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffa2058484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffffa1fbc9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffffa1fbc9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffffa1fbc9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffffa1fbc9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffffa24ab004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffa24ab004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffa24ab004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffffa1fcfd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffffa1fcfd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffffa1fcfd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffffa1fea05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffffa1fea05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffffa1fea05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffffa1fea05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffffa1fea05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffffa1fea2b8 clang::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 0x0000ffffa1fea5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa1fea7cc clang::ento::CoreEngine::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 0x0000ffffa1feab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffffa1feab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffffa1feab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffffa1feab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffffa1feab14 clang::ento::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 0x0000ffffa22b52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffffa22b52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffffa22b52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffffa22b52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffffa22b52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffffa22b6278 llvm::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 0x0000ffffa22b6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffffa22b6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffffa22ba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffffa22ba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffffa22ba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffffa22ba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffffa22ba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffffa0711b88 __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 0x0000ffffa0711b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffffa0711b88 void clang::finalize>, 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 0x0000ffffa0711b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffffa1dd5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffffa1d8d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffffa1d8d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffffa1d8d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffffa1e136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaabd0159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaabd0194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaabd01aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaabd011fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff9931098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff99310a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaabd0120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/plist-diagnostics-notes-as-events.cpp.script: line 2: 36347 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -analyzer-config notes-as-events=true -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/plist-diagnostics-notes-as-events.cpp.tmp.plist -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/plist-diagnostics-notes-as-events.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/ui_autogenerated.cpp (587 of 19719) ******************** TEST 'Clang :: Analysis/copypaste/ui_autogenerated.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|ui_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/ui_autogenerated.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern=moc_|ui_|.*_automoc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/ui_autogenerated.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f1() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/ui_autogenerated.cpp:9:13: Error evaluating New Allocator Call #0 0x0000ffff9929ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff99299180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9929b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa225f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa1550e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa1550e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa1550e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa1550e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa1550e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa1550e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa1550e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa1550e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa11fe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa11fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa11fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa11fe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa11feef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa11feef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa11feef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa11feef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa1211aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa1211aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa1211aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa1212ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa1212ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa1212ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa12124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa12124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa12124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa121eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa121eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa121eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa1228484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa1228484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa1228484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa118c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa118c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa118c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa118c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa118cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa118cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa118cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa11b6f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffa11b6f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffa11b6f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffa11b6f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffa11b6f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffa11b735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffa11b735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffa11b735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffa11b735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffa11b735c 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 0x0000ffffa11ba5dc clang::ento::ExprEngine::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 0x0000ffffa11ba7cc clang::ento::CoreEngine::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 0x0000ffffa11bab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffffa11bab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffffa11bab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffffa11bab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffffa11bab14 clang::ento::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 0x0000ffffa14852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffffa14852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffffa14852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffffa14852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffffa14852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffffa1486278 llvm::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 0x0000ffffa1486278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffffa1486278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffffa148a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffa148a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffa148a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffffa148a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffffa148a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff9f8e1b88 __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 0x0000ffff9f8e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff9f8e1b88 void clang::finalize>, 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 0x0000ffff9f8e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffffa0fa5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffffa0f5d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffffa0f5d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffffa0f5d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffffa0fe36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaabe2459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaabe2494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaabe24aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaabe241fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff984e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff984e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaabe2420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/ui_autogenerated.cpp.script: line 1: 36356 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|ui_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/ui_autogenerated.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/text-diagnostics.cpp (588 of 19719) ******************** TEST 'Clang :: Analysis/copypaste/text-diagnostics.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/text-diagnostics.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/text-diagnostics.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling maxClone(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/text-diagnostics.cpp:14:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/text-diagnostics.cpp:14:7: Error evaluating statement #0 0x0000ffff9efbad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9efb9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9efbb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa7f7d7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa7270e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa7270e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa7270e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa7270e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa7270e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa7270e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa7270e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa7270e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa6f1e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa6f1e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa6f1e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa6f1e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa6f1ec90 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa6f1ec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa6f1ec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa6f1ec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffa6f32c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa6f32c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa6f32c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa6f324c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa6f324c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa6f324c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffffa6f3eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffffa6f3eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffffa6f3eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffffa6f48484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffffa6f48484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffa6f48484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffffa6eac9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffffa6eac9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffffa6eac9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffffa6eac9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffffa739b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffa739b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffa739b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffffa6ebfd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffffa6ebfd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffffa6ebfd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffffa6eda05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffffa6eda05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffffa6eda05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffffa6eda05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffffa6eda05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffffa6eda2b8 clang::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 0x0000ffffa6eda5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa6eda7cc clang::ento::CoreEngine::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 0x0000ffffa6edab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffffa6edab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffffa6edab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffffa6edab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffffa6edab14 clang::ento::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 0x0000ffffa71a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffffa71a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffffa71a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffffa71a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffffa71a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffffa71a6278 llvm::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 0x0000ffffa71a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffffa71a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffffa71aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffffa71aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffffa71aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffffa71aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffffa71aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffffa5601b88 __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 0x0000ffffa5601b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffffa5601b88 void clang::finalize>, 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 0x0000ffffa5601b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffffa6cc5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffffa6c7d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffffa6c7d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffffa6c7d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffffa6d036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaae04459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaae04494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaae044aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaae0441fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff9e20098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff9e200a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaae04420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/text-diagnostics.cpp.script: line 1: 36353 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/text-diagnostics.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/plist-diagnostics.cpp (589 of 19719) ******************** TEST 'Clang :: Analysis/copypaste/plist-diagnostics.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/plist-diagnostics.cpp.tmp.plist -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/plist-diagnostics.cpp : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling maxClone(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/plist-diagnostics.cpp:15:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/plist-diagnostics.cpp:15:7: Error evaluating statement #0 0x0000ffff9412ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff94129180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9412b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9d0e57e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9c3e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9c3e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9c3e0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9c3e0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9c3e0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9c3e0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9c3e0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9c3e0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9c08e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9c08e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9c08e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9c08e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9c08ec90 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9c08ec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9c08ec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9c08ec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff9c0a2c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9c0a2c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9c0a2c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff9c0a24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9c0a24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9c0a24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffff9c0aeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffff9c0aeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffff9c0aeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffff9c0b8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffff9c0b8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff9c0b8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffff9c01c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff9c01c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff9c01c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffff9c01c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffff9c50b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff9c50b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff9c50b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffff9c02fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffff9c02fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffff9c02fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffff9c04a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffff9c04a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffff9c04a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffff9c04a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffff9c04a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffff9c04a2b8 clang::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 0x0000ffff9c04a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9c04a7cc clang::ento::CoreEngine::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 0x0000ffff9c04ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffff9c04ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffff9c04ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffff9c04ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffff9c04ab14 clang::ento::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 0x0000ffff9c3152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffff9c3152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffff9c3152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffff9c3152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffff9c3152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffff9c316278 llvm::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 0x0000ffff9c316278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffff9c316278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffff9c31a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffff9c31a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffff9c31a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffff9c31a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffff9c31a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffff9a771b88 __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 0x0000ffff9a771b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffff9a771b88 void clang::finalize>, 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 0x0000ffff9a771b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffff9be35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffff9bded524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffff9bded524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffff9bded524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffff9be736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaab92659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaab92694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaab926aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaab9261fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff9337098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff93370a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaab92620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/plist-diagnostics.cpp.script: line 2: 36346 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/plist-diagnostics.cpp.tmp.plist -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/plist-diagnostics.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/labels.cpp (591 of 19719) ******************** TEST 'Clang :: Analysis/copypaste/labels.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=gnu++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/labels.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=gnu++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/labels.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo4(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/labels.cpp:44:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/labels.cpp:44:7: Error evaluating statement #0 0x0000ffff9f9dad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9f9d9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9f9db408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa899e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa7c90e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa7c90e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa7c90e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa7c90e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa7c90e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa7c90e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa7c90e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa7c90e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa793e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa793e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa793e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa793e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa793eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa793eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa793eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa793eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa7951aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa7951aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa7951aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa7952ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa7952ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa7952ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa79524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa79524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa79524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa795eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa795eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa795eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa7968484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa7968484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa7968484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa78cc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa78cc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa78cc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa78cc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa7dbb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa7dbb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa7dbb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa78dfd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa78dfd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa78dfd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffa78fa05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffa78fa05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffa78fa05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffa78fa05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffa78fa05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffa78fa2b8 clang::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 0x0000ffffa78fa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa78fa7cc clang::ento::CoreEngine::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 0x0000ffffa78fab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa78fab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa78fab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa78fab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa78fab14 clang::ento::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 0x0000ffffa7bc52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa7bc52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa7bc52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa7bc52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa7bc52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa7bc6278 llvm::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 0x0000ffffa7bc6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa7bc6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa7bca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa7bca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa7bca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa7bca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa7bca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa6021b88 __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 0x0000ffffa6021b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa6021b88 void clang::finalize>, 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 0x0000ffffa6021b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa76e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa769d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa769d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa769d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa77236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaac0f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaac0f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaac0faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaac0f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9ec2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9ec20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaac0f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/labels.cpp.script: line 1: 36328 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=gnu++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/labels.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/not-autogenerated.cpp (592 of 19719) ******************** TEST 'Clang :: Analysis/copypaste/not-autogenerated.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|ui_|dbus_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/not-autogenerated.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern=moc_|ui_|dbus_|.*_automoc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/not-autogenerated.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f1() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/not-autogenerated.cpp:4:13: Error evaluating New Allocator Call #0 0x0000ffff7fb5ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7fb59180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7fb5b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff88b147e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff87e10e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff87e10e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff87e10e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff87e10e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff87e10e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff87e10e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff87e10e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff87e10e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff87abe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff87abe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff87abe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff87abe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff87abeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff87abeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff87abeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff87abeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff87ad1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff87ad1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff87ad1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff87ad2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff87ad2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff87ad2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff87ad24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff87ad24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff87ad24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff87adeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff87adeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff87adeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff87ae8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff87ae8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff87ae8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff87a4c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff87a4c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff87a4c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff87a4c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff87a4cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff87a4cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff87a4cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff87a76f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff87a76f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff87a76f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff87a76f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff87a76f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff87a7735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff87a7735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff87a7735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff87a7735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff87a7735c 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 0x0000ffff87a7a5dc clang::ento::ExprEngine::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 0x0000ffff87a7a7cc clang::ento::CoreEngine::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 0x0000ffff87a7ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff87a7ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff87a7ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff87a7ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff87a7ab14 clang::ento::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 0x0000ffff87d452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff87d452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff87d452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff87d452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff87d452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff87d46278 llvm::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 0x0000ffff87d46278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff87d46278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff87d4a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff87d4a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff87d4a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff87d4a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff87d4a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff861a1b88 __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 0x0000ffff861a1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff861a1b88 void clang::finalize>, 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 0x0000ffff861a1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff87865600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff8781d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff8781d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff8781d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff878a36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaabd6a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaabd6a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaabd6aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaabd6a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff7eda098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff7eda0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaabd6a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/not-autogenerated.cpp.script: line 1: 36341 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|ui_|dbus_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/not-autogenerated.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/objc-methods.m (593 of 19719) ******************** TEST 'Clang :: Analysis/copypaste/objc-methods.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-root-class -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/objc-methods.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-root-class -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/objc-methods.m 1. parser at end of file #0 0x0000ffffa12ead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa12e9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa12eb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffaa2a57e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa95a0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa95a0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa95a0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa95a0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa95a0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa95a0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa95a0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa95a0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa924e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa924e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa924e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa924e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa924eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa924eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa924eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa924eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa9261aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa9261aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa9261aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa9262ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa9262ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa9262ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa92624c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa92624c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa92624c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa926eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa926eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa926eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa9278484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa9278484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa9278484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa91dc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa91dc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa91dc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa91dc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa91dcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa91dcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa91dcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa91b0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa91b0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa91b0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa91ecea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa91ecea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa91ecea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa920ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa920ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa920ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa94d52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa94d52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa94d52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa94d52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa94d52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa94d6278 llvm::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 0x0000ffffa94d6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa94d6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa94da900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa94da900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa94da900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa94da900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa94da900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa7931b88 __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 0x0000ffffa7931b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa7931b88 void clang::finalize>, 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 0x0000ffffa7931b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa8ff5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa8fad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa8fad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa8fad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa90336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaaddae59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaaddae94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaaddaeaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaaddae1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa053098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa0530a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaaddae20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/objc-methods.m.script: line 1: 36342 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-root-class -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/objc-methods.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/lambda.cpp (594 of 19719) ******************** TEST 'Clang :: Analysis/copypaste/lambda.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/lambda.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/lambda.cpp 1. parser at end of file #0 0x0000ffff79abad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff79ab9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff79abb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff82a7a7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff81d70e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff81d70e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff81d70e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff81d70e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff81d70e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff81d70e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff81d70e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff81d70e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff81a1e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff81a1e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff81a1e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff81a1e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff81a1eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff81a1eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff81a1eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff81a1eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff81a31aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff81a31aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff81a31aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff81a32ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff81a32ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff81a32ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff81a324c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff81a324c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff81a324c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff81a3eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff81a3eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff81a3eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff81a48484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff81a48484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff81a48484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff819ac9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff819ac9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff819ac9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff819ac9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff819acec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff819acec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff819acec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff81980400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff81980400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff81980400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff819bce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff819bce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff819bce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff819dae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff819dae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff819dae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff81ca52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff81ca52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff81ca52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff81ca52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff81ca52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff81ca6278 llvm::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 0x0000ffff81ca6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff81ca6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff81caa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff81caa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff81caa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff81caa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff81caa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff80101b88 __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 0x0000ffff80101b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff80101b88 void clang::finalize>, 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 0x0000ffff80101b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff817c5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8177d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8177d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8177d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff818036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaadcfb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaadcfb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaadcfbaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaadcfb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff78d0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff78d00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaadcfb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/lambda.cpp.script: line 1: 36329 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/lambda.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/coverage.c (596 of 19719) ******************** TEST 'Clang :: Analysis/coverage.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -analyzer-max-loop 4 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/coverage.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -analyzer-max-loop 4 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/coverage.c 1. parser at end of file 2. While analyzing stack: #0 Calling coverage9 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/coverage.c:93:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/coverage.c:93:7: Error evaluating statement #0 0x0000ffff8752ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff87529180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8752b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff904e27e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8f7e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8f7e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8f7e0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8f7e0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8f7e0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8f7e0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8f7e0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8f7e0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8f48e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8f48e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8f48e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8f48e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8f48eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8f48eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8f48eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8f48eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8f4a1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8f4a1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8f4a1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8f4a2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8f4a2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8f4a2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8f4a24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8f4a24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8f4a24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8f4aeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8f4aeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8f4aeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8f4b8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8f4b8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8f4b8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8f41c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8f41c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8f41c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8f41c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8f90b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8f90b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8f90b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8f53c500 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8f53c500 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8f53c500 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff8f53c500 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff8f406c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff8f42f570 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff8f42f570 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff8f42f7ac llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffff8f42f7ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff8f42f7ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff8f42f7ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffff8f43f470 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff8f43f470 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff8f43f470 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffff8f448c34 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffff8f448c34 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffff8f448c34 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffff8f44a2b8 clang::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 0x0000ffff8f44a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8f44a7cc clang::ento::CoreEngine::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 0x0000ffff8f44ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff8f44ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff8f44ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff8f44ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff8f44ab14 clang::ento::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 0x0000ffff8f7152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff8f7152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff8f7152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff8f7152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff8f7152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff8f716278 llvm::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 0x0000ffff8f716278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff8f716278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff8f71a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff8f71a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff8f71a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff8f71a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff8f71a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff8db71b88 __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 0x0000ffff8db71b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff8db71b88 void clang::finalize>, 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 0x0000ffff8db71b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff8f235600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff8f1ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff8f1ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff8f1ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff8f2736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaacecf59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaacecf94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaacecfaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaacecf1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff8677098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff86770a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaacecf20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/coverage.c.script: line 1: 36360 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -analyzer-max-loop 4 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/coverage.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/sub-sequences.cpp (597 of 19719) ******************** TEST 'Clang :: Analysis/copypaste/sub-sequences.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/sub-sequences.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/sub-sequences.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling maxClone(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/sub-sequences.cpp:18:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/sub-sequences.cpp:18:7: Error evaluating statement #0 0x0000ffffa06dad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa06d9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa06db408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa96907e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa8990e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa8990e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa8990e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa8990e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa8990e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa8990e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa8990e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa8990e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa863e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa863e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa863e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa863e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa863ec90 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa863ec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa863ec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa863ec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffa8652c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa8652c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa8652c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa86524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa86524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa86524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffffa865eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffffa865eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffffa865eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffffa8668484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffffa8668484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffa8668484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffffa85cc9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffffa85cc9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffffa85cc9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffffa85cc9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffffa8abb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffa8abb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffa8abb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffffa85dfd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffffa85dfd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffffa85dfd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffffa85fa05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffffa85fa05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffffa85fa05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffffa85fa05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffffa85fa05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffffa85fa2b8 clang::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 0x0000ffffa85fa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa85fa7cc clang::ento::CoreEngine::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 0x0000ffffa85fab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffffa85fab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffffa85fab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffffa85fab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffffa85fab14 clang::ento::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 0x0000ffffa88c52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffffa88c52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffffa88c52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffffa88c52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffffa88c52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffffa88c6278 llvm::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 0x0000ffffa88c6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffffa88c6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffffa88ca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffffa88ca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffffa88ca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffffa88ca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffffa88ca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffffa6d21b88 __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 0x0000ffffa6d21b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffffa6d21b88 void clang::finalize>, 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 0x0000ffffa6d21b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffffa83e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffffa839d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffffa839d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffffa839d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffffa84236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaadcce59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaadcce94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaadcceaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaadcce1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff9f92098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff9f920a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaadcce20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/sub-sequences.cpp.script: line 1: 36348 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/sub-sequences.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cstring-plist.c (598 of 19719) ******************** TEST 'Clang :: Analysis/cstring-plist.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -f /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-plist.c.tmp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -analyzer-checker=unix.Malloc -analyzer-checker=unix.cstring.NullArg -analyzer-disable-checker=alpha.unix.cstring.OutOfBounds -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-plist.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-plist.c : 'RUN: at line 8'; /usr/bin/FileCheck -input-file /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-plist.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-plist.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -analyzer-checker=unix.Malloc -analyzer-checker=unix.cstring.NullArg -analyzer-disable-checker=alpha.unix.cstring.OutOfBounds -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-plist.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-plist.c 1. parser at end of file 2. While analyzing stack: #0 Calling cstringchecker_bounds_nocrash 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-plist.c:18:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-plist.c:18:13: Error evaluating statement #0 0x0000ffff7936ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff79369180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7936b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8232c7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff816076d0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff816076d0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff816076d0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff816076d0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff816076d0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff816076d0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff816076d0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff816076d0 (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 0x0000ffff81415990 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff81415990 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff81415990 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 0x0000ffff812295a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff812295a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff812295a8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff812295a8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff812eebf4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff812eebf4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff812eebf4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff812eebf4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff812f8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff812f8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff812f8484 clang::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 0x0000ffff8125cae8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8125cae8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8125cae8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff8125cae8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff8174b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8174b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8174b004 clang::ento::ProgramState::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 0x0000ffff81421ba0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff81421ba0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff81421ba0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff81421ba0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff81421ba0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff81421ba0 (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 0x0000ffff81421ff0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff81421ff0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff81421ff0 (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 0x0000ffff8142e4d0 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff8142e4d0 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 0x0000ffff812467b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff812467b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff812467b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff812467b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff812467b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff812a6c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff812a6c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff812a6c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff812a6c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff812a6c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff812a6c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff812a74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff81289250 clang::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 0x0000ffff81289250 clang::ento::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 0x0000ffff8128a2b8 clang::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 0x0000ffff8128a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8128a7cc clang::ento::CoreEngine::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 0x0000ffff8128ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff8128ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff8128ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff8128ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff8128ab14 clang::ento::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 0x0000ffff815552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff815552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff815552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff815552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff815552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff81556278 llvm::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 0x0000ffff81556278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff81556278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff8155a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff8155a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff8155a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff8155a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff8155a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff7f9b1b88 __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 0x0000ffff7f9b1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff7f9b1b88 void clang::finalize>, 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 0x0000ffff7f9b1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff81075600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff8102d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff8102d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff8102d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff810b36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaac43159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaac43194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaac431aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaac4311fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff785b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff785b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaac43120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-plist.c.script: line 3: 36369 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -analyzer-checker=unix.Malloc -analyzer-checker=unix.cstring.NullArg -analyzer-disable-checker=alpha.unix.cstring.OutOfBounds -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-plist.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-plist.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/cstring-syntax-cxx.cpp (601 of 19719) ******************** TEST 'Clang :: Analysis/cstring-syntax-cxx.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-cxx.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-cxx.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test(X, X) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-cxx.cpp:15:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-cxx.cpp:15:9: Error evaluating statement #0 0x0000ffffa99cad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa99c9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa99cb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb29877e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb18d5734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb18d5734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb18d5734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb18d5734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb18d5734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb18d5734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb18d5734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffb18d5734 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 0x0000ffffb1906660 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffffb1906804 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffffb1906804 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffffb1906804 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffffb18e3514 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffffb18e920c clang::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 0x0000ffffb18e920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffffb18ea2b8 clang::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 0x0000ffffb18ea5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb18ea7cc clang::ento::CoreEngine::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 0x0000ffffb18eab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffffb18eab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffffb18eab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffffb18eab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffffb18eab14 clang::ento::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 0x0000ffffb1bb52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffffb1bb52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffffb1bb52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffffb1bb52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffffb1bb52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffffb1bb6278 llvm::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 0x0000ffffb1bb6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffffb1bb6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffffb1bba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffb1bba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffb1bba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffffb1bba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffffb1bba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffffb0011b88 __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 0x0000ffffb0011b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffffb0011b88 void clang::finalize>, 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 0x0000ffffb0011b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffffb16d5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffffb168d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffffb168d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffffb168d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffffb17136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaab3e459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaab3e494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaab3e4aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaab3e41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffffa8c1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffffa8c10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaab3e420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-syntax-cxx.cpp.script: line 1: 36379 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-cxx.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctor-trivial-copy.cpp (602 of 19719) ******************** TEST 'Clang :: Analysis/ctor-trivial-copy.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-trivial-copy.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-trivial-copy.cpp 1. parser at end of file #0 0x0000ffff847fad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff847f9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff847fb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8d7b67e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8c709f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8c709f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8c709f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8c709f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8c709f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8c709f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8c709f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8c709f54 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 0x0000ffff8c70a878 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 0x0000ffff8c71a954 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 0x0000ffff8c71ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff8c71ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff8c71ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff8c71ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff8c71ab14 clang::ento::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 0x0000ffff8c9e52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff8c9e52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff8c9e52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff8c9e52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff8c9e52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff8c9e6278 llvm::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 0x0000ffff8c9e6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff8c9e6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff8c9ea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff8c9ea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff8c9ea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff8c9ea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff8c9ea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff8ae41b88 __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 0x0000ffff8ae41b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff8ae41b88 void clang::finalize>, 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 0x0000ffff8ae41b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff8c505600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff8c4bd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff8c4bd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff8c4bd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff8c5436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaac06f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaac06f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaac06faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaac06f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff83a4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff83a40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaac06f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctor-trivial-copy.cpp.script: line 1: 36394 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-trivial-copy.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctor-bug-path.cpp (603 of 19719) ******************** TEST 'Clang :: Analysis/ctor-bug-path.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-output=text -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-bug-path.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-output=text -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-bug-path.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-output=text -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-bug-path.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling NestedElementRegionTrack::NestedElementRegionTrack() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-bug-path.cpp:263:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-bug-path.cpp:263:9: Error evaluating statement #0 0x0000ffff9124ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff91249180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9124b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9a2077e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff99155734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff99155734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff99155734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff99155734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff99155734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff99155734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff99155734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff99155734 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 0x0000ffff99186660 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffff99186804 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffff99186804 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffff99186804 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffff99163514 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffff9916920c clang::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 0x0000ffff9916920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffff9916a2b8 clang::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 0x0000ffff9916a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9916a7cc clang::ento::CoreEngine::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 0x0000ffff9916ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffff9916ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffff9916ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffff9916ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffff9916ab14 clang::ento::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 0x0000ffff994352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffff994352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffff994352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffff994352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffff994352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffff99436278 llvm::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 0x0000ffff99436278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffff99436278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffff9943a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff9943a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff9943a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffff9943a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffff9943a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffff97891b88 __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 0x0000ffff97891b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffff97891b88 void clang::finalize>, 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 0x0000ffff97891b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffff98f55600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffff98f0d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffff98f0d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffff98f0d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffff98f936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaab28559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaab28594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaab285aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaab2851fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffff9049098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffff90490a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaab28520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctor-bug-path.cpp.script: line 2: 36390 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-output=text -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-bug-path.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctor-array.cpp (604 of 19719) ******************** TEST 'Clang :: Analysis/ctor-array.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-disable-checker=cplusplus -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-array.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-disable-checker=cplusplus -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-array.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling Parent::Parent() at line 245 #1 Calling member() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-array.cpp:241:19: Error evaluating statement #0 0x0000ffffb565ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb5659180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb565b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbe61b7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbd5650b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffbd5650b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbd5650b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbd5650b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbd5650b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffbd5650b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffbd5650b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffbd5650b8 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 0x0000ffffbd57a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffbd57a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffbd57a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffbd57a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffbd57a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffbd57a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffbd57a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffbd57a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffbd57a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffbd57a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbd57a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffbd57a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffbd57ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffbd57ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffbd57ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffbd57ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffbd57ab14 clang::ento::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 0x0000ffffbd8452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffbd8452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffbd8452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffbd8452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffbd8452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffbd846278 llvm::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 0x0000ffffbd846278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffbd846278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffbd84a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffbd84a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffbd84a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffbd84a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffbd84a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffbbca1b88 __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 0x0000ffffbbca1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffbbca1b88 void clang::finalize>, 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 0x0000ffffbbca1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffbd365600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffbd31d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffbd31d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffbd31d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffbd3a36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaae4ca59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaae4ca94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaae4caaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaae4ca1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffb48a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffb48a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaae4ca20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctor-array.cpp.script: line 1: 36393 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-disable-checker=cplusplus -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-array.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-on-demand-parsing.cpp (605 of 19719) ******************** TEST 'Clang :: Analysis/ctu-on-demand-parsing.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs : 'RUN: at line 3'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-on-demand-parsing.cpp /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/ctu-on-demand-parsing.cpp : 'RUN: at line 4'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-hdr.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/ctu-hdr.h : 'RUN: at line 5'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-chain.cpp /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs/ctu-chain.cpp : 'RUN: at line 6'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.cpp /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs/ctu-other.cpp : 'RUN: at line 10'; echo '[{"directory":"/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs","command":"clang++ ctu-chain.cpp","file":"ctu-chain.cpp"},{"directory":"/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs","command":"clang++ ctu-other.cpp","file":"ctu-other.cpp"}]' | sed -e 's/\\/\\\\/g' > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/compile_commands.json : 'RUN: at line 12'; echo '{"/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs/ctu-chain.cpp": ["g++", "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs/ctu-chain.cpp"], "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs/ctu-other.cpp": ["g++", "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs/ctu-other.cpp"]}' | sed -e 's/\\/\\\\/g' > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/invocations.yaml : 'RUN: at line 14'; cd "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp" && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-extdef-mapping Inputs/ctu-chain.cpp Inputs/ctu-other.cpp > externalDefMap.txt : 'RUN: at line 16'; cd "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp" && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=. -analyzer-config ctu-invocation-list=invocations.yaml -analyzer-config ctu-phase1-inlining=all -verify ctu-on-demand-parsing.cpp : 'RUN: at line 23'; cd "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp" && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=. -analyzer-config ctu-invocation-list=invocations.yaml -analyzer-config display-ctu-progress=true ctu-on-demand-parsing.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/ctu-on-demand-parsing.cpp -- Exit Code: 139 Command Output (stderr): -- ctu-other.cpp:105:10: warning: 'extern' variable has an initializer [-Wextern-initializer] 105 | extern S extNonConstS = {.a = 4}; | ^ 1 warning generated. PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=. -analyzer-config ctu-invocation-list=invocations.yaml -analyzer-config ctu-phase1-inlining=all -verify ctu-on-demand-parsing.cpp 1. parser at end of file #0 0x0000ffffb0d6ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb0d69180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb0d6b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb9d257e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb8c79f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb8c79f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb8c79f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb8c79f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb8c79f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb8c79f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb8c79f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb8c79f54 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 0x0000ffffb8c7a878 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 0x0000ffffb8c8a954 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 0x0000ffffb8c8ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffb8c8ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffb8c8ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffb8c8ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffb8c8ab14 clang::ento::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 0x0000ffffb8f552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb8f552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb8f552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffb8f552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffb8f552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffb8f56278 llvm::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 0x0000ffffb8f56278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffb8f56278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffb8f5a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffb8f5a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffb8f5a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffb8f5a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffb8f5a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffb73b1b88 __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 0x0000ffffb73b1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffb73b1b88 void clang::finalize>, 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 0x0000ffffb73b1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffb8a75600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffb8a2d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffb8a2d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffb8a2d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffb8ab36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaad1d059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaad1d094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaad1d0aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaad1d01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffaffb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffaffb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaad1d020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.script: line 11: 36495 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=. -analyzer-config ctu-invocation-list=invocations.yaml -analyzer-config ctu-phase1-inlining=all -verify ctu-on-demand-parsing.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-implicit.c (606 of 19719) ******************** TEST 'Clang :: Analysis/ctu-implicit.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp/ctudir2 : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp/ctudir2/ctu-import.c.ast /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-import.c : 'RUN: at line 5'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-import.c.externalDefMap.ast-dump.txt /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp/ctudir2/externalDefMap.txt : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config display-ctu-progress=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp/ctudir2 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-implicit.c -- Exit Code: 139 Command Output (stderr): -- CTU loaded AST file: ctu-import.c.ast PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config display-ctu-progress=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp/ctudir2 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-implicit.c 1. parser at end of file 2. While analyzing stack: #0 Calling func 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-implicit.c:19:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-implicit.c:19:3: Error evaluating statement #0 0x0000ffffb4baad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb4ba9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb4bab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbdb6c7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbce60e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbce60e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbce60e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbce60e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbce60e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbce60e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbce60e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbce60e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbcb0e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbcb0e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbcb0e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbcb0e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbcb0eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbcb0eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbcb0eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbcb0eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbcb21aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbcb21aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbcb21aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbcb22ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbcb22ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbcb22ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbcb224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbcb224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbcb224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbcb2eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbcb2eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbcb2eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbcb38484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbcb38484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbcb38484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbca9c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbca9c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbca9c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbca9c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffbcf8f5b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbcf8f5b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbcf8f5b4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbcf8f5b4 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #43 0x0000ffffbcba9ff0 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #44 0x0000ffffbcba9ff0 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #45 0x0000ffffbcba9ff0 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #46 0x0000ffffbcbdd7c0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #47 0x0000ffffbcbdd7c0 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #48 0x0000ffffbca8719c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #49 0x0000ffffbcae6bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #50 0x0000ffffbcae6bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #51 0x0000ffffbcae6bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #52 0x0000ffffbcae6bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #53 0x0000ffffbcae74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #54 0x0000ffffbcac9250 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #55 0x0000ffffbcac9250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #56 0x0000ffffbcaca2b8 clang::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 0x0000ffffbcaca5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbcaca7cc clang::ento::CoreEngine::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 0x0000ffffbcacab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffbcacab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffbcacab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffbcacab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffbcacab14 clang::ento::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 0x0000ffffbcd952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffbcd952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffbcd952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffbcd952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffbcd952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffbcd96278 llvm::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 0x0000ffffbcd96278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffbcd96278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffbcd9a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffbcd9a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffbcd9a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffbcd9a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffbcd9a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffbb1f1b88 __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 0x0000ffffbb1f1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffbb1f1b88 void clang::finalize>, 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 0x0000ffffbb1f1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffbc8b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffbc86d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffbc86d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffbc86d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffbc8f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaaaba959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaaaba994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaaaba9aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaaaba91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffffb3df098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffb3df0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaaaba920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.script: line 5: 36440 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config display-ctu-progress=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp/ctudir2 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-implicit.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/cstring-syntax.c (607 of 19719) ******************** TEST 'Clang :: Analysis/cstring-syntax.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax.c -Wno-strncat-size -Wno-sizeof-pointer-memaccess -Wno-strlcpy-strlcat-size -Wno-sizeof-array-argument : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax.c -Wno-strncat-size -Wno-sizeof-pointer-memaccess -Wno-strlcpy-strlcat-size -Wno-sizeof-array-argument -triple armv7-a15-linux : 'RUN: at line 8'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax.c -Wno-strncat-size -Wno-sizeof-pointer-memaccess -Wno-strlcpy-strlcat-size -Wno-sizeof-array-argument -triple aarch64_be-none-linux-gnu : 'RUN: at line 12'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax.c -Wno-strncat-size -Wno-sizeof-pointer-memaccess -Wno-strlcpy-strlcat-size -Wno-sizeof-array-argument -triple i386-apple-darwin10 -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax.c -Wno-strncat-size -Wno-sizeof-pointer-memaccess -Wno-strlcpy-strlcat-size -Wno-sizeof-array-argument 1. parser at end of file 2. While analyzing stack: #0 Calling testStrlcat 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax.c:54:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax.c:54:3: Error evaluating statement #0 0x0000ffff7b11ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7b119180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7b11b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff840dd7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff833b931c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff833b931c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff833b931c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff833b931c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff833b931c llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff833b931c 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 0x0000ffff833b931c get<(anonymous namespace)::CStringLength> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff833b931c (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 0x0000ffff830ce868 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff830ce868 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff830ce868 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 0x0000ffff82fd92f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff82fd92f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff82fd92f4 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff82fd92f4 clang::ento::CheckerManager::runCheckersForRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:608:0 #19 0x0000ffff8306a6c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x0000ffff8306a6c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x0000ffff8306a6c0 clang::ento::ExprEngine::processRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:681:0 #22 0x0000ffff8306a6c0 clang::ento::ProgramState::invalidateRegionsImpl(llvm::ArrayRef, clang::Expr const*, unsigned int, clang::LocationContext const*, bool, llvm::DenseSet>*, clang::ento::RegionAndSymbolInvalidationTraits*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:215:0 #23 0x0000ffff8306a960 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #24 0x0000ffff8306a960 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #25 0x0000ffff8306a960 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #26 0x0000ffff8306a960 clang::ento::ProgramState::invalidateRegions(llvm::ArrayRef, clang::Expr const*, unsigned int, clang::LocationContext const*, bool, llvm::DenseSet>*, clang::ento::CallEvent const*, clang::ento::RegionAndSymbolInvalidationTraits*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:164:0 #27 0x0000ffff83502b48 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #28 0x0000ffff83502b48 clang::ento::RegionAndSymbolInvalidationTraits::~RegionAndSymbolInvalidationTraits() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:1624:0 #29 0x0000ffff83502b48 (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 0x0000ffff83092a64 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff83092a64 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff83092a64 (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 0x0000ffff830d0d1c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:15 #34 0x0000ffff830d0d1c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #35 0x0000ffff830d0d1c (anonymous namespace)::CStringChecker::evalStrcpyCommon(clang::ento::CheckerContext&, clang::CallExpr const*, bool, bool, (anonymous namespace)::ConcatFnKind, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2040:78 #36 0x0000ffff830dc070 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #37 0x0000ffff830dc070 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2515:23 #38 0x0000ffff830dc070 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CStringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #39 0x0000ffff82ff719c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #40 0x0000ffff83056bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #41 0x0000ffff83056bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #42 0x0000ffff83056bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #43 0x0000ffff83056bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #44 0x0000ffff830574f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #45 0x0000ffff83039250 clang::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 0x0000ffff83039250 clang::ento::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 0x0000ffff8303a2b8 clang::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 0x0000ffff8303a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8303a7cc clang::ento::CoreEngine::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 0x0000ffff8303ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffff8303ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffff8303ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffff8303ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffff8303ab14 clang::ento::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 0x0000ffff833052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffff833052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffff833052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffff833052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffff833052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffff83306278 llvm::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 0x0000ffff83306278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffff83306278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffff8330a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffff8330a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffff8330a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffff8330a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffff8330a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffff81761b88 __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 0x0000ffff81761b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffff81761b88 void clang::finalize>, 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 0x0000ffff81761b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffff82e25600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffff82ddd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffff82ddd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffff82ddd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffff82e636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaac09659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaac09694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaac096aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaac0961fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff7a36098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff7a360a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaac09620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-syntax.c.script: line 4: 36391 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax.c -Wno-strncat-size -Wno-sizeof-pointer-memaccess -Wno-strlcpy-strlcat-size -Wno-sizeof-array-argument -- ******************** Testing: 0 FAIL: Clang :: Analysis/cstring-syntax-weird.c (608 of 19719) ******************** TEST 'Clang :: Analysis/cstring-syntax-weird.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird.c 1. parser at end of file 2. While analyzing stack: #0 Calling testWeirdDecls 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird.c:17:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird.c:17:3: Error evaluating statement #0 0x0000ffff9f75ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9f759180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9f75b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa871d7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa7a10e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa7a10e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa7a10e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa7a10e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa7a10e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa7a10e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa7a10e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa7a10e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa76be018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa76be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa76be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa76be018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa76beef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa76beef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa76beef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa76beef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa76d1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa76d1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa76d1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa76d2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa76d2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa76d2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa76d24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa76d24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa76d24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa76deb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa76deb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa76deb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa76e8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa76e8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa76e8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa764c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa764c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa764c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa764c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa7b42d58 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa7b42d58 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa7b42d58 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa7b42d58 (anonymous namespace)::CStringChecker::assumeZero(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::QualType) (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:346:0 #43 0x0000ffffa7b42e18 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #44 0x0000ffffa7b42e18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #45 0x0000ffffa7b42e18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffa7b42e18 (anonymous namespace)::CStringChecker::checkNonNull(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, (anonymous namespace)::AnyArgExpr, clang::ento::SVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:358:0 #47 0x0000ffffa77103b0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #48 0x0000ffffa77103b0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #49 0x0000ffffa77103b0 (anonymous namespace)::CStringChecker::evalStrcpyCommon(clang::ento::CheckerContext&, clang::CallExpr const*, bool, bool, (anonymous namespace)::ConcatFnKind, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1710:49 #50 0x0000ffffa771c070 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #51 0x0000ffffa771c070 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2515:23 #52 0x0000ffffa771c070 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CStringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #53 0x0000ffffa763719c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #54 0x0000ffffa7696bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #55 0x0000ffffa7696bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #56 0x0000ffffa7696bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #57 0x0000ffffa7696bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #58 0x0000ffffa76974f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #59 0x0000ffffa7679250 clang::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 0x0000ffffa7679250 clang::ento::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 0x0000ffffa767a2b8 clang::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 0x0000ffffa767a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa767a7cc clang::ento::CoreEngine::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 0x0000ffffa767ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x0000ffffa767ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x0000ffffa767ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #67 0x0000ffffa767ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #68 0x0000ffffa767ab14 clang::ento::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 0x0000ffffa79452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #70 0x0000ffffa79452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #71 0x0000ffffa79452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #72 0x0000ffffa79452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #73 0x0000ffffa79452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #74 0x0000ffffa7946278 llvm::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 0x0000ffffa7946278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #76 0x0000ffffa7946278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #77 0x0000ffffa794a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #78 0x0000ffffa794a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #79 0x0000ffffa794a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #80 0x0000ffffa794a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #81 0x0000ffffa794a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #82 0x0000ffffa5da1b88 __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 0x0000ffffa5da1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #84 0x0000ffffa5da1b88 void clang::finalize>, 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 0x0000ffffa5da1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #86 0x0000ffffa7465600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #87 0x0000ffffa741d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #88 0x0000ffffa741d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #89 0x0000ffffa741d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #90 0x0000ffffa74a36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #91 0x0000aaaaae9b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #92 0x0000aaaaae9b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #93 0x0000aaaaae9baac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #94 0x0000aaaaae9b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #95 0x0000ffff9e9a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #96 0x0000ffff9e9a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #97 0x0000aaaaae9b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-syntax-weird.c.script: line 1: 36382 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-main.cpp (609 of 19719) ******************** TEST 'Clang :: Analysis/ctu-main.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -triple x86_64-pc-linux-gnu -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir/ctu-other.cpp.ast /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -triple x86_64-pc-linux-gnu -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir/ctu-chain.cpp.ast /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-chain.cpp : 'RUN: at line 7'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.cpp.externalDefMap.ast-dump.txt /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir/externalDefMap.txt : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir -analyzer-config ctu-phase1-inlining=none -verify=newctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.cpp : 'RUN: at line 19'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir -analyzer-config ctu-phase1-inlining=all -verify=oldctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.cpp : 'RUN: at line 27'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir -analyzer-config display-ctu-progress=true 2>&1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.cpp | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.cpp -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.cpp:105:10: warning: 'extern' variable has an initializer [-Wextern-initializer] 105 | extern S extNonConstS = {.a = 4}; | ^ 1 warning generated. PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir -analyzer-config ctu-phase1-inlining=none -verify=newctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling main() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.cpp:161:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.cpp:161:3: Error evaluating statement #0 0x0000ffffa092ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa0929180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa092b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa98e87e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa8be0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa8be0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa8be0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa8be0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa8be0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa8be0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa8be0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa8be0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa888e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa888e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa888e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa888e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa888eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa888eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa888eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa888eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa88a1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa88a1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa88a1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa88a2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa88a2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa88a2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa88a24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa88a24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa88a24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa88aeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa88aeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa88aeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa88b8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa88b8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa88b8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa881c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa881c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa881c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa881c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa8d0f5b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa8d0f5b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa8d0f5b4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa8d0f5b4 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #43 0x0000ffffa8929ff0 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #44 0x0000ffffa8929ff0 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #45 0x0000ffffa8929ff0 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #46 0x0000ffffa895d7c0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #47 0x0000ffffa895d7c0 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #48 0x0000ffffa880719c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #49 0x0000ffffa8866bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #50 0x0000ffffa8866bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #51 0x0000ffffa8866bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #52 0x0000ffffa8866bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #53 0x0000ffffa88674f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #54 0x0000ffffa8849250 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #55 0x0000ffffa8849250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #56 0x0000ffffa884a2b8 clang::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 0x0000ffffa884a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa884a7cc clang::ento::CoreEngine::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 0x0000ffffa884ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa884ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa884ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffa884ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffa884ab14 clang::ento::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 0x0000ffffa8b152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffa8b152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffa8b152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffa8b152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffa8b152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffa8b16278 llvm::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 0x0000ffffa8b16278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffa8b16278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffa8b1a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffa8b1a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffa8b1a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffa8b1a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffa8b1a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffa6f71b88 __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 0x0000ffffa6f71b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffa6f71b88 void clang::finalize>, 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 0x0000ffffa6f71b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffa8635600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffa85ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffa85ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffa85ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffa86736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaade7a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaade7a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaade7aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaade7a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff9fb7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff9fb70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaade7a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.script: line 8: 36471 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir -analyzer-config ctu-phase1-inlining=none -verify=newctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cstring-syntax-weird2.c (610 of 19719) ******************** TEST 'Clang :: Analysis/cstring-syntax-weird2.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird2.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird2.c 1. parser at end of file 2. While analyzing stack: #0 Calling testWeirdDecls 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird2.c:15:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird2.c:15:3: Error evaluating statement #0 0x0000ffff94fbad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff94fb9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff94fbb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9df717e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9d270e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9d270e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9d270e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9d270e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9d270e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9d270e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9d270e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9d270e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9cf1e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9cf1e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9cf1e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9cf1e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9cf1eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9cf1eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9cf1eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9cf1eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9cf31aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9cf31aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9cf31aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9cf32ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9cf32ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9cf32ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9cf324c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9cf324c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9cf324c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9cf3eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9cf3eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9cf3eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9cf48484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9cf48484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9cf48484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9ceac9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9ceac9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9ceac9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9ceac9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9d3a2d58 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9d3a2d58 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9d3a2d58 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9d3a2d58 (anonymous namespace)::CStringChecker::assumeZero(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::QualType) (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:346:0 #43 0x0000ffff9d3a2e18 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #44 0x0000ffff9d3a2e18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #45 0x0000ffff9d3a2e18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff9d3a2e18 (anonymous namespace)::CStringChecker::checkNonNull(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, (anonymous namespace)::AnyArgExpr, clang::ento::SVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:358:0 #47 0x0000ffff9cf703b0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #48 0x0000ffff9cf703b0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #49 0x0000ffff9cf703b0 (anonymous namespace)::CStringChecker::evalStrcpyCommon(clang::ento::CheckerContext&, clang::CallExpr const*, bool, bool, (anonymous namespace)::ConcatFnKind, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1710:49 #50 0x0000ffff9cf7c070 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #51 0x0000ffff9cf7c070 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2515:23 #52 0x0000ffff9cf7c070 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CStringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #53 0x0000ffff9ce9719c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #54 0x0000ffff9cef6bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #55 0x0000ffff9cef6bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #56 0x0000ffff9cef6bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #57 0x0000ffff9cef6bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #58 0x0000ffff9cef74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #59 0x0000ffff9ced9250 clang::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 0x0000ffff9ced9250 clang::ento::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 0x0000ffff9ceda2b8 clang::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 0x0000ffff9ceda5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9ceda7cc clang::ento::CoreEngine::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 0x0000ffff9cedab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x0000ffff9cedab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x0000ffff9cedab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #67 0x0000ffff9cedab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #68 0x0000ffff9cedab14 clang::ento::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 0x0000ffff9d1a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #70 0x0000ffff9d1a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #71 0x0000ffff9d1a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #72 0x0000ffff9d1a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #73 0x0000ffff9d1a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #74 0x0000ffff9d1a6278 llvm::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 0x0000ffff9d1a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #76 0x0000ffff9d1a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #77 0x0000ffff9d1aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #78 0x0000ffff9d1aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #79 0x0000ffff9d1aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #80 0x0000ffff9d1aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #81 0x0000ffff9d1aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #82 0x0000ffff9b601b88 __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 0x0000ffff9b601b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #84 0x0000ffff9b601b88 void clang::finalize>, 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 0x0000ffff9b601b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #86 0x0000ffff9ccc5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #87 0x0000ffff9cc7d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #88 0x0000ffff9cc7d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #89 0x0000ffff9cc7d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #90 0x0000ffff9cd036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #91 0x0000aaaac2b559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #92 0x0000aaaac2b594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #93 0x0000aaaac2b5aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #94 0x0000aaaac2b51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #95 0x0000ffff9420098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #96 0x0000ffff94200a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #97 0x0000aaaac2b520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-syntax-weird2.c.script: line 1: 36384 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird2.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-on-demand-parsing.c (611 of 19719) ******************** TEST 'Clang :: Analysis/ctu-on-demand-parsing.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp : 'RUN: at line 3'; cp "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-on-demand-parsing.c" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp/ctu-on-demand-parsing.c" : 'RUN: at line 4'; cp "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.c" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp/ctu-other.c" : 'RUN: at line 8'; echo '[{"directory":"/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp","command":"gcc -std=c89 -Wno-visibility ctu-other.c","file":"ctu-other.c"}]' | sed -e 's/\\/\\\\/g' > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp/compile_commands.json : 'RUN: at line 10'; echo '"/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp/ctu-other.c": ["gcc", "-std=c89", "-Wno-visibility", "ctu-other.c"]' | sed -e 's/\\/\\\\/g' > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp/invocations.yaml : 'RUN: at line 12'; cd "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp" && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-extdef-mapping "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp/ctu-other.c" > externalDefMap.txt : 'RUN: at line 14'; cd "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp" && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -std=c89 -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=. -analyzer-config ctu-invocation-list=invocations.yaml -analyzer-config ctu-phase1-inlining=all -verify ctu-on-demand-parsing.c -- Exit Code: 139 Command Output (stderr): -- ctu-other.c:39:18: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths] 39 | : "=r"(res)); | ^ ctu-other.c:38:21: note: use constraint modifier "w" 38 | __asm__("mov $42, %0" | ^~ | %w0 1 warning generated. PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -std=c89 -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=. -analyzer-config ctu-invocation-list=invocations.yaml -analyzer-config ctu-phase1-inlining=all -verify ctu-on-demand-parsing.c 1. parser at end of file 2. While analyzing stack: #0 Calling testStructDefInArgument 3. ctu-on-demand-parsing.c:86:23: Error evaluating statement 4. ctu-on-demand-parsing.c:86:23: Error evaluating statement #0 0x0000ffff9748ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff97489180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9748b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa044c7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9f740e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9f740e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9f740e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9f740e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9f740e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9f740e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9f740e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9f740e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9f3ee018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9f3ee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9f3ee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9f3ee018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9f3eeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9f3eeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9f3eeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9f3eeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9f401aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9f401aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9f401aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9f402ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9f402ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9f402ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9f4024c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9f4024c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9f4024c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9f40eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9f40eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9f40eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9f418484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9f418484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9f418484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9f37c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9f37c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9f37c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9f37c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9f86b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9f86b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9f86b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9f38fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9f38fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9f38fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff9f3aa05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff9f3aa05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff9f3aa05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff9f3aa05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff9f3aa05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff9f3aa2b8 clang::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 0x0000ffff9f3aa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9f3aa7cc clang::ento::CoreEngine::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 0x0000ffff9f3aab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9f3aab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9f3aab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9f3aab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9f3aab14 clang::ento::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 0x0000ffff9f6752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9f6752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9f6752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9f6752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9f6752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9f676278 llvm::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 0x0000ffff9f676278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9f676278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9f67a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9f67a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9f67a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9f67a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9f67a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9dad1b88 __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 0x0000ffff9dad1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9dad1b88 void clang::finalize>, 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 0x0000ffff9dad1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9f195600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9f14d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9f14d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9f14d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9f1d36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac09d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac09d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac09daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac09d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff966d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff966d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac09d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.script: line 8: 36482 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -std=c89 -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=. -analyzer-config ctu-invocation-list=invocations.yaml -analyzer-config ctu-phase1-inlining=all -verify ctu-on-demand-parsing.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-onego-indirect.cpp (612 of 19719) ******************** TEST 'Clang :: Analysis/ctu-onego-indirect.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp/ctudir : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -triple x86_64-pc-linux-gnu -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp/ctudir/ctu-onego-indirect-other.cpp.ast /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-onego-indirect-other.cpp : 'RUN: at line 5'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-onego-indirect-other.cpp.externalDefMap.ast-dump.txt /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp/ctudir/externalDefMap.txt : 'RUN: at line 14'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp/ctudir -analyzer-display-progress -analyzer-inlining-mode=all -analyzer-config ctu-phase1-inlining=none -analyzer-config ctu-max-nodes-pct=100 -analyzer-config ctu-max-nodes-min=1000 2>&1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-indirect.cpp | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-indirect.cpp : 'RUN: at line 27'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp/ctudir -analyzer-display-progress -analyzer-inlining-mode=all -analyzer-config ctu-phase1-inlining=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-indirect.cpp -analyzer-config ctu-max-nodes-pct=100 -analyzer-config ctu-max-nodes-min=1000 -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.script: line 6: 36498 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp/ctudir -analyzer-display-progress -analyzer-inlining-mode=all -analyzer-config ctu-phase1-inlining=none -analyzer-config ctu-max-nodes-pct=100 -analyzer-config ctu-max-nodes-min=1000 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-indirect.cpp 2>&1 36499 Done | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-indirect.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-onego-toplevel.cpp (613 of 19719) ******************** TEST 'Clang :: Analysis/ctu-onego-toplevel.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp/ctudir : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -triple x86_64-pc-linux-gnu -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp/ctudir/ctu-onego-toplevel-other.cpp.ast /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-onego-toplevel-other.cpp : 'RUN: at line 5'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-onego-toplevel-other.cpp.externalDefMap.ast-dump.txt /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp/ctudir/externalDefMap.txt : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp/ctudir -analyzer-config ctu-phase1-inlining=none -verify=ctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-toplevel.cpp : 'RUN: at line 15'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp/ctudir -analyzer-config ctu-phase1-inlining=none -analyzer-config display-ctu-progress=true -analyzer-display-progress -verify=ctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-toplevel.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-toplevel.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp/ctudir -analyzer-config ctu-phase1-inlining=none -verify=ctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-toplevel.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling b(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-toplevel.cpp:50:7: Error evaluating branch #0 0x0000ffffa57dad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa57d9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa57db408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffae79d7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffada90e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffada90e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffada90e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffada90e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffada90e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffada90e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffada90e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffada90e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffad73e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffad73e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffad73e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffad73e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffad73eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffad73eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffad73eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffad73eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffad751aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffad751aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffad751aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffad752ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffad752ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffad752ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffad7524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffad7524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffad7524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffad75eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffad75eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffad75eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffad768484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffad768484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffad768484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffad6cc9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffad6cc9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffad6cc9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffad6cc9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffadbbb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffadbbb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffadbbb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffad6e2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffad6e2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffad6e2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffad6e2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffad6e2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffad6e2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffad6e2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffad6e2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffad6e2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffad6e2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffad6e3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffad6fab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffad6fab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffad6fab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffad6fab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffad6fab14 clang::ento::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 0x0000ffffad9c52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffad9c52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffad9c52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffad9c52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffad9c52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffad9c6278 llvm::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 0x0000ffffad9c6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffad9c6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffad9ca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffad9ca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffad9ca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffad9ca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffad9ca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffabe21b88 __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 0x0000ffffabe21b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffabe21b88 void clang::finalize>, 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 0x0000ffffabe21b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffad4e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffad49d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffad49d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffad49d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffad5236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad00c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad00c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad00caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad00c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa4a2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa4a20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad00c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.script: line 6: 36518 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp/ctudir -analyzer-config ctu-phase1-inlining=none -verify=ctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-toplevel.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-onego-small.cpp (614 of 19719) ******************** TEST 'Clang :: Analysis/ctu-onego-small.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -triple x86_64-pc-linux-gnu -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir/ctu-onego-small-other.cpp.ast /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-onego-small-other.cpp : 'RUN: at line 5'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-onego-small-other.cpp.externalDefMap.ast-dump.txt /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir/externalDefMap.txt : 'RUN: at line 14'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir -analyzer-config display-ctu-progress=true -analyzer-display-progress -analyzer-config ctu-max-nodes-pct=0 -analyzer-config ctu-max-nodes-min=0 2>&1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-small.cpp | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-small.cpp : 'RUN: at line 25'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir -analyzer-config ctu-max-nodes-pct=0 -analyzer-config ctu-phase1-inlining=none -analyzer-config ctu-max-nodes-min=0 -verify=inline-none /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-small.cpp : 'RUN: at line 34'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir -analyzer-config ctu-max-nodes-pct=0 -analyzer-config ctu-phase1-inlining=small -analyzer-config ctu-max-nodes-min=0 -verify=inline-small /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-small.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir -analyzer-config ctu-max-nodes-pct=0 -analyzer-config ctu-phase1-inlining=none -analyzer-config ctu-max-nodes-min=0 -verify=inline-none /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-small.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling baruser(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-small.cpp:50:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-small.cpp:50:3: Error evaluating statement #0 0x0000ffff80faad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff80fa9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff80fab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff89f677e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff89260e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff89260e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff89260e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff89260e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff89260e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff89260e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff89260e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff89260e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff88f0e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff88f0e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff88f0e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff88f0e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff88f0eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff88f0eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff88f0eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff88f0eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff88f21aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff88f21aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff88f21aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff88f22ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff88f22ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff88f22ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff88f224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff88f224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff88f224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff88f2eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff88f2eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff88f2eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff88f38484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff88f38484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff88f38484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff88e9c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff88e9c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff88e9c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff88e9c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8938f5b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8938f5b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8938f5b4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8938f5b4 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #43 0x0000ffff88fa9ff0 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #44 0x0000ffff88fa9ff0 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #45 0x0000ffff88fa9ff0 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #46 0x0000ffff88fdd7c0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #47 0x0000ffff88fdd7c0 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #48 0x0000ffff88e8719c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #49 0x0000ffff88ee6bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #50 0x0000ffff88ee6bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #51 0x0000ffff88ee6bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #52 0x0000ffff88ee6bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #53 0x0000ffff88ee74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #54 0x0000ffff88ec9250 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #55 0x0000ffff88ec9250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #56 0x0000ffff88eca2b8 clang::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 0x0000ffff88eca5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff88eca7cc clang::ento::CoreEngine::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 0x0000ffff88ecab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff88ecab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff88ecab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff88ecab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff88ecab14 clang::ento::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 0x0000ffff891952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff891952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff891952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff891952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff891952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff89196278 llvm::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 0x0000ffff89196278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffff89196278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffff8919a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffff8919a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffff8919a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffff8919a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffff8919a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffff875f1b88 __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 0x0000ffff875f1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffff875f1b88 void clang::finalize>, 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 0x0000ffff875f1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffff88cb5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffff88c6d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffff88c6d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffff88c6d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffff88cf36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaaad0d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaaad0d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaaad0daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaaad0d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff801f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff801f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaaad0d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.script: line 7: 36507 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir -analyzer-config ctu-max-nodes-pct=0 -analyzer-config ctu-phase1-inlining=none -analyzer-config ctu-max-nodes-min=0 -verify=inline-none /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-small.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-main.c (615 of 19719) ******************** TEST 'Clang :: Analysis/ctu-main.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp/ctudir2 : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -triple x86_64-pc-linux-gnu -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp/ctudir2/ctu-other.c.ast /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.c : 'RUN: at line 5'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.c.externalDefMap.ast-dump.txt /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp/ctudir2/externalDefMap.txt : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -triple x86_64-pc-linux-gnu -fsyntax-only -std=c89 -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp/ctudir2 -analyzer-config ctu-phase1-inlining=none -verify=newctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.c : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -triple x86_64-pc-linux-gnu -fsyntax-only -std=c89 -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp/ctudir2 -analyzer-config ctu-phase1-inlining=all -verify=oldctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.c -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.c:49:26: warning: declaration of 'struct DataType' will not be visible outside of this function [-Wvisibility] 49 | int structInProto(struct DataType {int a;int b; } * d) { | ^ 1 warning generated. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.c:49:26: error: cannot import unsupported AST node Record 49 | int structInProto(struct DataType {int a;int b; } * d) { | ^ PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -triple x86_64-pc-linux-gnu -fsyntax-only -std=c89 -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp/ctudir2 -analyzer-config ctu-phase1-inlining=none -verify=newctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.c 1. parser at end of file 2. While analyzing stack: #0 Calling testStructDefInArgument 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.c:102:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.c:102:3: Error evaluating statement #0 0x0000ffffa5d2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa5d29180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa5d2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffaece87e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffadfe0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffadfe0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffadfe0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffadfe0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffadfe0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffadfe0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffadfe0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffadfe0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffadc8e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffadc8e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffadc8e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffadc8e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffadc8eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffadc8eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffadc8eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffadc8eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffadca1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffadca1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffadca1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffadca2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffadca2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffadca2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffadca24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffadca24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffadca24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffadcaeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffadcaeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffadcaeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffadcb8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffadcb8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffadcb8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffadc1c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffadc1c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffadc1c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffadc1c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffae10f5b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffae10f5b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffae10f5b4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffae10f5b4 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #43 0x0000ffffadd29ff0 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #44 0x0000ffffadd29ff0 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #45 0x0000ffffadd29ff0 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #46 0x0000ffffadd5d7c0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #47 0x0000ffffadd5d7c0 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #48 0x0000ffffadc0719c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #49 0x0000ffffadc66bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #50 0x0000ffffadc66bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #51 0x0000ffffadc66bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #52 0x0000ffffadc66bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #53 0x0000ffffadc674f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #54 0x0000ffffadc49250 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #55 0x0000ffffadc49250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #56 0x0000ffffadc4a2b8 clang::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 0x0000ffffadc4a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffadc4a7cc clang::ento::CoreEngine::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 0x0000ffffadc4ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffadc4ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffadc4ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffadc4ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffadc4ab14 clang::ento::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 0x0000ffffadf152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffadf152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffadf152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffadf152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffadf152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffadf16278 llvm::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 0x0000ffffadf16278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffadf16278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffadf1a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffadf1a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffadf1a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffadf1a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffadf1a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffac371b88 __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 0x0000ffffac371b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffac371b88 void clang::finalize>, 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 0x0000ffffac371b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffada35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffad9ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffad9ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffad9ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffada736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaae46959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaae46994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaae469aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaae4691fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffffa4f7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffa4f70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaae46920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.script: line 6: 36444 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -triple x86_64-pc-linux-gnu -fsyntax-only -std=c89 -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp/ctudir2 -analyzer-config ctu-phase1-inlining=none -verify=newctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctor.mm (616 of 19719) ******************** TEST 'Clang :: Analysis/ctor.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -DI386 -analyzer-checker=core,debug.ExprInspection -fobjc-arc -analyzer-config c++-inlining=constructors -Wno-null-dereference -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor.mm : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -DI386 -analyzer-checker=core,debug.ExprInspection -fobjc-arc -analyzer-config c++-inlining=constructors -Wno-null-dereference -std=c++11 -verify -DTEST_INLINABLE_ALLOCATORS -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor.mm : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin12 -analyzer-checker=core,debug.ExprInspection -fobjc-arc -analyzer-config c++-inlining=constructors -Wno-null-dereference -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor.mm : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin12 -analyzer-checker=core,debug.ExprInspection -fobjc-arc -analyzer-config c++-inlining=constructors -Wno-null-dereference -std=c++11 -verify -DTEST_INLINABLE_ALLOCATORS -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -DI386 -analyzer-checker=core,debug.ExprInspection -fobjc-arc -analyzer-config c++-inlining=constructors -Wno-null-dereference -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor.mm 1. parser at end of file #0 0x0000ffffb2f7ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb2f79180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb2f7b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbbf3d7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbb230e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbb230e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbb230e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbb230e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbb230e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbb230e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbb230e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbb230e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbaede018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbaede018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbaede018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbaede018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbaedeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbaedeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbaedeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbaedeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbaef1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbaef1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbaef1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbaef2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbaef2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbaef2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbaef24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbaef24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbaef24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbaefeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbaefeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbaefeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbaf08484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbaf08484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbaf08484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbae6c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbae6c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbae6c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbae6c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbae6cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbae6cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbae6cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffbae40400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffbae40400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffbae40400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffbae7ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffbae7ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffbae7ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffbae9ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffbae9ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffbae9ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffbb1652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffbb1652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffbb1652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffbb1652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffbb1652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffbb166278 llvm::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 0x0000ffffbb166278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffbb166278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffbb16a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffbb16a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffbb16a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffbb16a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffbb16a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb95c1b88 __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 0x0000ffffb95c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb95c1b88 void clang::finalize>, 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 0x0000ffffb95c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffbac85600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffbac3d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffbac3d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffbac3d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffbacc36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad17259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad17294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad172aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad1721fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffb21c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffb21c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad17220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctor.mm.script: line 4: 36396 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -DI386 -analyzer-checker=core,debug.ExprInspection -fobjc-arc -analyzer-config c++-inlining=constructors -Wno-null-dereference -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-for-range.cpp (627 of 19719) ******************** TEST 'Clang :: Analysis/cxx-for-range.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core -analyzer-output=plist-multi-file -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-for-range.cpp.tmp.plist -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-for-range.cpp : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling get2() at line 73 #1 Calling testLoopOpaqueIterator() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-for-range.cpp:69:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-for-range.cpp:69:10: Error evaluating statement #0 0x0000ffffa4c9ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa4c99180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa4c9b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffadc527e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffacbab9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffacbab9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffacbab9a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffacbab9a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffacbab9a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffacbab9a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffacbab9a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffacbab9a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffffacbabd94 llvm::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 0x0000ffffacbabd94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffacbabd94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffacbabd94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffffacbabd94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffffacbac474 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffffacbac474 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffffacbac474 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:0 #20 0x0000ffffacbb3db0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffffacbb3db0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffffacbb3db0 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 0x0000ffffacbb3db0 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 0x0000ffffacbb920c clang::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 0x0000ffffacbb920c clang::ento::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 0x0000ffffacbba2b8 clang::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 0x0000ffffacbba5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffacbba6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #29 0x0000ffffacbba98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #30 0x0000ffffacbbab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #31 0x0000ffffacbbab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #32 0x0000ffffacbbab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #33 0x0000ffffacbbab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #34 0x0000ffffacbbab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #35 0x0000fffface852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000fffface852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000fffface852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #38 0x0000fffface852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #39 0x0000fffface852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #40 0x0000fffface86278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #41 0x0000fffface86278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x0000fffface86278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #43 0x0000fffface8a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000fffface8a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000fffface8a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x0000fffface8a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x0000fffface8a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x0000ffffab2e1b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #49 0x0000ffffab2e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffffab2e1b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #51 0x0000ffffab2e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffffac9a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffffac95d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffffac95d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffffac95d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffffac9e36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #57 0x0000aaaac20c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x0000aaaac20c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x0000aaaac20caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x0000aaaac20c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x0000ffffa3ee098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #62 0x0000ffffa3ee0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #63 0x0000aaaac20c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-for-range.cpp.script: line 2: 36538 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core -analyzer-output=plist-multi-file -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-for-range.cpp.tmp.plist -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-for-range.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-inherited-ctor-init-expr.cpp (628 of 19719) ******************** TEST 'Clang :: Analysis/cxx-inherited-ctor-init-expr.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-init-expr.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-init-expr.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling arguments_with_constructors::test_B() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-init-expr.cpp:48:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-init-expr.cpp:48:7: Error evaluating statement #0 0x0000ffff9266ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff92669180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9266b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9b6297e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9a57b9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff9a57b9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9a57b9a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9a57b9a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9a57b9a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9a57b9a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9a57b9a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9a57b9a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff9a57bd94 llvm::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 0x0000ffff9a57bd94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff9a57bd94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff9a57bd94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff9a57bd94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff9a57c1c8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #18 0x0000ffff9a57c1c8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #19 0x0000ffff9a57c1c8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x0000ffff9a57c1c8 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:507:0 #21 0x0000ffff9a583db0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #22 0x0000ffff9a583db0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #23 0x0000ffff9a583db0 clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #24 0x0000ffff9a583db0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:665:0 #25 0x0000ffff9a58920c clang::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 0x0000ffff9a58920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #27 0x0000ffff9a58a2b8 clang::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 0x0000ffff9a58a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9a58a7cc clang::ento::CoreEngine::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 0x0000ffff9a58ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #31 0x0000ffff9a58ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #32 0x0000ffff9a58ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #33 0x0000ffff9a58ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #34 0x0000ffff9a58ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #35 0x0000ffff9a8552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9a8552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9a8552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #38 0x0000ffff9a8552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #39 0x0000ffff9a8552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #40 0x0000ffff9a856278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #41 0x0000ffff9a856278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x0000ffff9a856278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #43 0x0000ffff9a85a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffff9a85a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffff9a85a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x0000ffff9a85a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x0000ffff9a85a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x0000ffff98cb1b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #49 0x0000ffff98cb1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffff98cb1b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #51 0x0000ffff98cb1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffff9a375600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffff9a32d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffff9a32d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffff9a32d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffff9a3b36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #57 0x0000aaaaab7359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x0000aaaaab7394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x0000aaaaab73aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x0000aaaaab731fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x0000ffff918b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #62 0x0000ffff918b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #63 0x0000aaaaab7320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-inherited-ctor-init-expr.cpp.script: line 1: 36542 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-init-expr.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object.cpp (629 of 19719) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object.cpp -analyzer-checker=core -analyzer-checker=optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true : 'RUN: at line 8'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object.cpp -analyzer-checker=core -analyzer-checker=optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object.cpp -analyzer-checker=core -analyzer-checker=optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true 1. parser at end of file 2. While analyzing stack: #0 Calling ComplexInitTest::ComplexInitTest() at line 1180 #1 Calling fComplexTest() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object.cpp:1172:10: Error evaluating statement #0 0x0000ffffa768ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa7689180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa768b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb064c7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffaf5950b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffaf5950b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffaf5950b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffaf5950b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffaf5950b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffaf5950b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffaf5950b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffaf5950b8 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 0x0000ffffaf5aa244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffaf5aa244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffaf5aa244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffaf5aa244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffaf5aa244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffaf5aa244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffaf5aa244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffaf5aa244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffaf5aa244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffaf5aa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffaf5aa6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffaf5aa98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffaf5aab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffaf5aab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffaf5aab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffaf5aab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffaf5aab14 clang::ento::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 0x0000ffffaf8752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffaf8752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffaf8752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffaf8752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffaf8752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffaf876278 llvm::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 0x0000ffffaf876278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffaf876278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffaf87a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffaf87a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffaf87a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffaf87a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffaf87a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffadcd1b88 __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 0x0000ffffadcd1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffadcd1b88 void clang::finalize>, 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 0x0000ffffadcd1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffaf395600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffaf34d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffaf34d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffaf34d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffaf3d36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaad3ab59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaad3ab94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaad3abaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaad3ab1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffa68d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffa68d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaad3ab20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object.cpp.script: line 2: 36562 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object.cpp -analyzer-checker=core -analyzer-checker=optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-method-names.cpp (630 of 19719) ******************** TEST 'Clang :: Analysis/cxx-method-names.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix,osx,alpha.unix,alpha.security.taint -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-method-names.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix,osx,alpha.unix,alpha.security.taint -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-method-names.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test(Evil &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-method-names.cpp:16:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-method-names.cpp:16:3: Error evaluating statement #0 0x0000ffff98b4ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff98b49180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff98b4b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa1b017e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa0c4f908 isEqual /usr/include/llvm/ADT/ImmutableMap.h:45:41 #5 0x0000ffffa0c4f908 remove_internal /usr/include/llvm/ADT/ImmutableSet.h:558:26 #6 0x0000ffffa0c4f908 remove /usr/include/llvm/ADT/ImmutableSet.h:403:0 #7 0x0000ffffa0c4f908 remove /usr/include/llvm/ADT/ImmutableMap.h:105:0 #8 0x0000ffffa0c4f908 Remove /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:175:0 #9 0x0000ffffa0c4f908 remove<(anonymous namespace)::LockMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:669:0 #10 0x0000ffffa0c4f908 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::remove<(anonymous namespace)::LockMap>(clang::ento::ProgramStateTrait<(anonymous namespace)::LockMap>::key_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:854:0 #11 0x0000ffffa0c6b664 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #12 0x0000ffffa0c6b664 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #13 0x0000ffffa0c6b664 checkRegionChanges /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp:689:0 #14 0x0000ffffa0c6b664 llvm::IntrusiveRefCntPtr clang::ento::check::RegionChanges::_checkRegionChanges<(anonymous namespace)::PthreadLockChecker>(void*, llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:344:0 #15 0x0000ffffa0a092f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffa0a092f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffa0a092f4 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffa0a092f4 clang::ento::CheckerManager::runCheckersForRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:608:0 #19 0x0000ffffa0a9a6c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x0000ffffa0a9a6c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x0000ffffa0a9a6c0 clang::ento::ExprEngine::processRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:681:0 #22 0x0000ffffa0a9a6c0 clang::ento::ProgramState::invalidateRegionsImpl(llvm::ArrayRef, clang::Expr const*, unsigned int, clang::LocationContext const*, bool, llvm::DenseSet>*, clang::ento::RegionAndSymbolInvalidationTraits*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:215:0 #23 0x0000ffffa0a1d9f4 std::_Rb_tree, std::less, std::allocator>::~_Rb_tree() /usr/include/c++/12/bits/stl_tree.h:986:0 #24 0x0000ffffa0a1d9f4 std::set, std::allocator>::~set() /usr/include/c++/12/bits/stl_set.h:281:0 #25 0x0000ffffa0a1d9f4 llvm::SmallSet>::~SmallSet() /usr/include/llvm/ADT/SmallSet.h:135:0 #26 0x0000ffffa0a1d9f4 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 0x0000ffffa0a9dc70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #28 0x0000ffffa0a9dc70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #29 0x0000ffffa0a9dc70 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 0x0000ffffa0a9e684 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x0000ffffa0a9e684 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x0000ffffa0a9e684 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 0x0000ffffa0a27268 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 0x0000ffffa0a86bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #35 0x0000ffffa0a86bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #36 0x0000ffffa0a86bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #37 0x0000ffffa0a86bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #38 0x0000ffffa0a874f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #39 0x0000ffffa0a69250 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #40 0x0000ffffa0a69250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #41 0x0000ffffa0a6a2b8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #42 0x0000ffffa0a6a5a0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #43 0x0000ffffa0a6a7cc clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #44 0x0000ffffa0a6ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffa0a6ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffa0a6ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #47 0x0000ffffa0a6ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #48 0x0000ffffa0a6ab14 clang::ento::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 0x0000ffffa0d352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #50 0x0000ffffa0d352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #51 0x0000ffffa0d352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #52 0x0000ffffa0d352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #53 0x0000ffffa0d352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #54 0x0000ffffa0d36278 llvm::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 0x0000ffffa0d36278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #56 0x0000ffffa0d36278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #57 0x0000ffffa0d3a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #58 0x0000ffffa0d3a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #59 0x0000ffffa0d3a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #60 0x0000ffffa0d3a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #61 0x0000ffffa0d3a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #62 0x0000ffff9f191b88 __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 0x0000ffff9f191b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #64 0x0000ffff9f191b88 void clang::finalize>, 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 0x0000ffff9f191b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #66 0x0000ffffa0855600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #67 0x0000ffffa080d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #68 0x0000ffffa080d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #69 0x0000ffffa080d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #70 0x0000ffffa08936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #71 0x0000aaaae1c859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #72 0x0000aaaae1c894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #73 0x0000aaaae1c8aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #74 0x0000aaaae1c81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #75 0x0000ffff97d9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #76 0x0000ffff97d90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #77 0x0000aaaae1c820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-method-names.cpp.script: line 1: 36554 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix,osx,alpha.unix,alpha.security.taint -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-method-names.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object-notes-as-warnings.cpp (631 of 19719) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-notes-as-warnings.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:NotesAsWarnings=true -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-notes-as-warnings.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:NotesAsWarnings=true -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-notes-as-warnings.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling NotesAsWarningsTest::NotesAsWarningsTest() at line 17 #1 Calling fNotesAsWarningsTest() #0 0x0000ffff9db1ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9db19180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9db1b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa6add7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa5c9e9d4 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffa5c9e9d4 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa5c9e9d4 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa5c9e9d4 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa5c9e9d4 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x0000ffffa5c9e9d4 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 0x0000ffffa5c9e9d4 contains<(anonymous namespace)::AnalyzedRegions> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:470:42 #11 0x0000ffffa5c9e9d4 clang::ento::FindUninitializedFields::addFieldToUninits(clang::ento::FieldChainInfo, clang::ento::MemRegion const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp:255:39 #12 0x0000ffffa5ca1458 clang::ento::FindUninitializedFields::isNonUnionUninit(clang::ento::TypedValueRegion const*, clang::ento::FieldChainInfo) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp:339:9 #13 0x0000ffffa5ca1638 clang::ento::FindUninitializedFields::FindUninitializedFields(llvm::IntrusiveRefCntPtr, clang::ento::TypedValueRegion const*, clang::ento::UninitObjCheckerOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp:236:24 #14 0x0000ffffa5db3a04 llvm::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 0x0000ffffa5db3a04 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #16 0x0000ffffa5db3a04 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffa5db3a04 (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 0x0000ffffa59ce6b4 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 0x0000ffffa5a2a260 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2957:0 #20 0x0000ffffa5a2a878 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 0x0000ffffa5a3a954 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 0x0000ffffa5a3ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffffa5a3ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffffa5a3ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffffa5a3ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffffa5a3ab14 clang::ento::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 0x0000ffffa5d052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffffa5d052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffffa5d052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffffa5d052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffffa5d052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffffa5d06278 llvm::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 0x0000ffffa5d06278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffffa5d06278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffffa5d0a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffa5d0a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffa5d0a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffffa5d0a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffffa5d0a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffffa4161b88 __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 0x0000ffffa4161b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffffa4161b88 void clang::finalize>, 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 0x0000ffffa4161b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffffa5825600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffffa57dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffffa57dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffffa57dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffffa58636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaac5c559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaac5c594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaac5c5aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaac5c51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffff9cd6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffff9cd60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaac5c520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-notes-as-warnings.cpp.script: line 1: 36556 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:NotesAsWarnings=true -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-notes-as-warnings.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-inherited-ctor-is-skipped-as-top-level.cpp (632 of 19719) ******************** TEST 'Clang :: Analysis/cxx-inherited-ctor-is-skipped-as-top-level.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-display-progress /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-is-skipped-as-top-level.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-is-skipped-as-top-level.cpp -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-inherited-ctor-is-skipped-as-top-level.cpp.script: line 1: 36541 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-display-progress /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-is-skipped-as-top-level.cpp 2>&1 36543 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/cxxctr-evalcall-analysis-order.cpp (633 of 19719) ******************** TEST 'Clang :: Analysis/cxxctr-evalcall-analysis-order.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-evalcall-analysis-order.cpp -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:EvalCall=true -analyzer-config debug.AnalysisOrder:PreCall=true -analyzer-config debug.AnalysisOrder:PostCall=true 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-evalcall-analysis-order.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-evalcall-analysis-order.cpp:26:16: error: CHECK-NEXT: expected string not found in input // CHECK-NEXT: PreCall (C::C) [CXXConstructorCall] ^ :3:37: note: scanning from here PostCall (C::C) [CXXConstructorCall] ^ :21:45: note: possible intended match here #10 0x0000ffffa57d50b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-evalcall-analysis-order.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PreCall (C::C) [CXXConstructorCall] 2: EvalCall (C::C) {argno: 0} [CXXConstructorCall] 3: PostCall (C::C) [CXXConstructorCall] next:26'0 X error: no match found 4: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: Stack dump: next:26'0 ~~~~~~~~~~~~ 6: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-evalcall-analysis-order.cpp -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:EvalCall=true -analyzer-config debug.AnalysisOrder:PreCall=true -analyzer-config debug.AnalysisOrder:PostCall=true next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: 1. parser at end of file next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 2. While analyzing stack: next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . 16: #5 0x0000ffffa57d50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17: #6 0x0000ffffa57d50b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18: #7 0x0000ffffa57d50b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19: #8 0x0000ffffa57d50b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 20: #9 0x0000ffffa57d50b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21: #10 0x0000ffffa57d50b8 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 0x0000ffffa57d50b8 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 0x0000ffffa57ea244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24: #13 0x0000ffffa57ea244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25: #14 0x0000ffffa57ea244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26: #15 0x0000ffffa57ea244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-member-initializer-const-field.cpp (634 of 19719) ******************** TEST 'Clang :: Analysis/cxx-member-initializer-const-field.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-member-initializer-const-field.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-member-initializer-const-field.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling NonAggregate::compliant2(NonAggregate) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-member-initializer-const-field.cpp:106:12: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-member-initializer-const-field.cpp:106:12: Error evaluating statement #0 0x0000ffffaa4dad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffaa4d9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffaa4db408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb34927e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb2790e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb2790e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb2790e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb2790e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb2790e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb2790e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb2790e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb2790e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb243e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb243e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb243e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb243e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb243eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb243eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb243eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb243eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb2451aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb2451aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb2451aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb2452ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb2452ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb2452ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb24524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb24524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb24524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb245eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb245eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb245eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb2468484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb2468484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb2468484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb23cc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb23cc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb23cc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb23cc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb24ed468 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #40 0x0000ffffb24ed468 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #41 0x0000ffffb24ed468 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #42 0x0000ffffb24ed468 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #43 0x0000ffffb24ed468 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #44 0x0000ffffb24ed468 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:11 #45 0x0000ffffb24ed468 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #46 0x0000ffffb23b5308 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffb23b5308 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #48 0x0000ffffb23ed0b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffffb23ed0b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffffb23ed0b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #51 0x0000ffffb23ed0b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #52 0x0000ffffb23ed0b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #53 0x0000ffffb23ed0b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #54 0x0000ffffb23ed0b8 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:50:0 #55 0x0000ffffb23f9f88 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #56 0x0000ffffb23fa2b8 clang::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 0x0000ffffb23fa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb23fa7cc clang::ento::CoreEngine::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 0x0000ffffb23fab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb23fab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb23fab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffb23fab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffb23fab14 clang::ento::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 0x0000ffffb26c52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffb26c52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffb26c52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffb26c52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffb26c52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffb26c6278 llvm::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 0x0000ffffb26c6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffb26c6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffb26ca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffb26ca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffb26ca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffb26ca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffb26ca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffb0b21b88 __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 0x0000ffffb0b21b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffb0b21b88 void clang::finalize>, 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 0x0000ffffb0b21b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffb21e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffb219d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffb219d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffb219d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffb22236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaace8159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaace8194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaace81aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaace811fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffffa972098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffa9720a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaace8120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-member-initializer-const-field.cpp.script: line 1: 36547 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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-array-evalcall-analysis-order.cpp (635 of 19719) ******************** TEST 'Clang :: Analysis/cxxctr-array-evalcall-analysis-order.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-array-evalcall-analysis-order.cpp -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:PreCall=true -analyzer-config debug.AnalysisOrder:PostCall=true 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-array-evalcall-analysis-order.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-array-evalcall-analysis-order.cpp:22:16: error: CHECK-NEXT: expected string not found in input // CHECK-NEXT: PostCall (C::C) [CXXConstructorCall] ^ :1:36: note: scanning from here PreCall (C::C) [CXXConstructorCall] ^ :4:512: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-array-evalcall-analysis-order.cpp -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:PreCall=true -analyzer-config debug.AnalysisOrder:PostCall=true ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-array-evalcall-analysis-order.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PreCall (C::C) [CXXConstructorCall] next:22'0 X error: no match found 2: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3: Stack dump: next:22'0 ~~~~~~~~~~~~ 4: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-array-evalcall-analysis-order.cpp -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:PreCall=true -analyzer-config debug.AnalysisOrder:PostCall=true next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:22'1 ? possible intended match 5: 1. parser at end of file next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 0x0000ffffb3a2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: #1 0x0000ffffb3a29180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: #2 0x0000ffffb3a2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #3 0x0000ffffbc9e77e0 (linux-vdso.so.1+0x7e0) next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object-ptr-ref.cpp (636 of 19719) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-ptr-ref.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling fMultipleObjectsReferencingTheSameObjectTest() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp:947:24: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp:947:24: Error evaluating statement #0 0x0000ffffa51dad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa51d9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa51db408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffae1947e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffad0e5734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffad0e5734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffad0e5734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffad0e5734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffad0e5734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffad0e5734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffad0e5734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffad0e5734 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 0x0000ffffad0ae1fc std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffffad0ae1fc std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffffad0ae1fc clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffffad0ae1fc 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 0x0000ffffad0af1fc clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffffad0af1fc 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 0x0000ffffad170100 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffffad170100 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffffad12b2a8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffffad12b2a8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffffad12b458 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffffad12b458 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffffad12b458 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffffad12dee0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffffad12dee0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffffad12dee0 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffffad12e7fc llvm::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 0x0000ffffad12e7fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffffad12e7fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffad12e7fc clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffffad0b7268 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffffad0f33d8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffffad0f33d8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffffad0f33d8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffffad0f33d8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffffad0f33d8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffffad0f33d8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffffad0f33d8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffffad0f920c clang::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 0x0000ffffad0f920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffffad0fa2b8 clang::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 0x0000ffffad0fa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffad0fa7cc clang::ento::CoreEngine::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 0x0000ffffad0fab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffffad0fab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffffad0fab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffffad0fab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffffad0fab14 clang::ento::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 0x0000ffffad3c52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffffad3c52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffad3c52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffffad3c52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffffad3c52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffffad3c6278 llvm::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 0x0000ffffad3c6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffffad3c6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffffad3ca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffffad3ca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffffad3ca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffffad3ca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffffad3ca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffffab821b88 __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 0x0000ffffab821b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffffab821b88 void clang::finalize>, 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 0x0000ffffab821b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffffacee5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000fffface9d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000fffface9d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000fffface9d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffffacf236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaae6ea59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaae6ea94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaae6eaaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaae6ea1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffffa442098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffffa4420a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaae6ea20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-ptr-ref.cpp.script: line 2: 36555 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object-unguarded-access.cpp (637 of 19719) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-unguarded-access.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:IgnoreGuardedFields=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unguarded-access.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:IgnoreGuardedFields=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unguarded-access.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling fConditionalOperatorGuardedFieldsTest() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unguarded-access.cpp:437:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unguarded-access.cpp:437:7: Error evaluating statement #0 0x0000ffff97c2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff97c29180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff97c2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa0bec7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9fb35734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9fb35734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9fb35734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9fb35734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9fb35734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9fb35734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9fb35734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff9fb35734 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 0x0000ffff9fafe1fc std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffff9fafe1fc std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffff9fafe1fc clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffff9fafe1fc 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 0x0000ffff9faff1fc clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffff9faff1fc 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 0x0000ffff9fbc0100 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffff9fbc0100 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffff9fb7b2a8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffff9fb7b2a8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffff9fb7b458 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffff9fb7b458 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff9fb7b458 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffff9fb7dee0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffff9fb7dee0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffff9fb7dee0 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffff9fb7e7fc llvm::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 0x0000ffff9fb7e7fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff9fb7e7fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff9fb7e7fc clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffff9fb07268 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffff9fb433d8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffff9fb433d8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffff9fb433d8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffff9fb433d8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffff9fb433d8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffff9fb433d8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffff9fb433d8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffff9fb4920c clang::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 0x0000ffff9fb4920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffff9fb4a2b8 clang::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 0x0000ffff9fb4a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9fb4a7cc clang::ento::CoreEngine::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 0x0000ffff9fb4ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffff9fb4ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffff9fb4ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffff9fb4ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffff9fb4ab14 clang::ento::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 0x0000ffff9fe152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffff9fe152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff9fe152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffff9fe152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffff9fe152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffff9fe16278 llvm::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 0x0000ffff9fe16278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffff9fe16278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffff9fe1a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffff9fe1a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffff9fe1a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffff9fe1a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffff9fe1a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffff9e271b88 __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 0x0000ffff9e271b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffff9e271b88 void clang::finalize>, 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 0x0000ffff9e271b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffff9f935600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffff9f8ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffff9f8ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffff9f8ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffff9f9736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaac14a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaac14a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaac14aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaac14a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff96e7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff96e70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaac14a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-unguarded-access.cpp.script: line 1: 36560 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:IgnoreGuardedFields=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unguarded-access.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object-inheritance.cpp (638 of 19719) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-inheritance.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-inheritance.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-inheritance.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling fSymbolicSuperRegionTest() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-inheritance.cpp:832:30: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-inheritance.cpp:832:30: Error evaluating statement #0 0x0000ffff9eb4ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9eb49180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9eb4b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa7b007e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa6a55734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa6a55734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa6a55734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa6a55734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa6a55734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa6a55734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa6a55734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffa6a55734 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 0x0000ffffa6a1e1fc std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffffa6a1e1fc std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffffa6a1e1fc clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffffa6a1e1fc 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 0x0000ffffa6a1f1fc clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffffa6a1f1fc 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 0x0000ffffa6ae0100 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffffa6ae0100 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffffa6a9b2a8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffffa6a9b2a8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffffa6a9b458 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffffa6a9b458 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffffa6a9b458 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffffa6a9dee0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffffa6a9dee0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffffa6a9dee0 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffffa6a9e7fc llvm::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 0x0000ffffa6a9e7fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffffa6a9e7fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffa6a9e7fc clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffffa6a27268 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffffa6a633d8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffffa6a633d8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffffa6a633d8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffffa6a633d8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffffa6a633d8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffffa6a633d8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffffa6a633d8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffffa6a6920c clang::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 0x0000ffffa6a6920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffffa6a6a2b8 clang::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 0x0000ffffa6a6a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa6a6a7cc clang::ento::CoreEngine::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 0x0000ffffa6a6ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffffa6a6ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffffa6a6ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffffa6a6ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffffa6a6ab14 clang::ento::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 0x0000ffffa6d352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffffa6d352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffa6d352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffffa6d352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffffa6d352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffffa6d36278 llvm::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 0x0000ffffa6d36278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffffa6d36278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffffa6d3a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffffa6d3a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffffa6d3a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffffa6d3a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffffa6d3a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffffa5191b88 __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 0x0000ffffa5191b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffffa5191b88 void clang::finalize>, 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 0x0000ffffa5191b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffffa6855600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffffa680d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffffa680d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffffa680d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffffa68936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaac7e959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaac7e994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaac7e9aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaac7e91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff9dd9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff9dd90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaac7e920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-inheritance.cpp.script: line 1: 36553 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-inheritance.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object-no-dereference.cpp (639 of 19719) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-no-dereference.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -std=c++11 -DPEDANTIC -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-no-dereference.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -std=c++11 -DPEDANTIC -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-no-dereference.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling fUninitPointeeTest() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-no-dereference.cpp:26:21: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-no-dereference.cpp:26:21: Error evaluating statement #0 0x0000ffff92b9ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff92b99180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff92b9b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9bb547e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9aaa5734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9aaa5734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9aaa5734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9aaa5734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9aaa5734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9aaa5734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9aaa5734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff9aaa5734 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 0x0000ffff9aa6e1fc std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffff9aa6e1fc std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffff9aa6e1fc clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffff9aa6e1fc 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 0x0000ffff9aa6f1fc clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffff9aa6f1fc 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 0x0000ffff9ab30100 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffff9ab30100 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffff9aaeb2a8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffff9aaeb2a8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffff9aaeb458 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffff9aaeb458 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff9aaeb458 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffff9aaedee0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffff9aaedee0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffff9aaedee0 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffff9aaee7fc llvm::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 0x0000ffff9aaee7fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff9aaee7fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff9aaee7fc clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffff9aa77268 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffff9aab33d8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffff9aab33d8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffff9aab33d8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffff9aab33d8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffff9aab33d8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffff9aab33d8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffff9aab33d8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffff9aab920c clang::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 0x0000ffff9aab920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffff9aaba2b8 clang::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 0x0000ffff9aaba5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9aaba7cc clang::ento::CoreEngine::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 0x0000ffff9aabab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffff9aabab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffff9aabab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffff9aabab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffff9aabab14 clang::ento::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 0x0000ffff9ad852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffff9ad852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff9ad852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffff9ad852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffff9ad852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffff9ad86278 llvm::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 0x0000ffff9ad86278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffff9ad86278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffff9ad8a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffff9ad8a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffff9ad8a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffff9ad8a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffff9ad8a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffff991e1b88 __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 0x0000ffff991e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffff991e1b88 void clang::finalize>, 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 0x0000ffff991e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffff9a8a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffff9a85d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffff9a85d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffff9a85d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffff9a8e36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaabb2259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaabb2294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaabb22aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaabb221fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff91de098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff91de0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaabb2220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-no-dereference.cpp.script: line 1: 36548 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -std=c++11 -DPEDANTIC -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-no-dereference.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object-unionlike-constructs.cpp (640 of 19719) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-unionlike-constructs.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:IgnoreRecordsWithField="[Tt]ag|[Kk]ind" -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unionlike-constructs.cpp : 'RUN: at line 6'; not /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unionlike-constructs.cpp -analyzer-checker=core -analyzer-checker=optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:IgnoreRecordsWithField="([)]" 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unionlike-constructs.cpp -check-prefix=CHECK-UNINIT-INVALID-REGEX -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:IgnoreRecordsWithField=[Tt]ag|[Kk]ind -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unionlike-constructs.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling fUnionLikeStruct5() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unionlike-constructs.cpp:149:20: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unionlike-constructs.cpp:149:20: Error evaluating statement #0 0x0000ffffa393ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa3939180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa393b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffac8f27e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffab845734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffab845734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffab845734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffab845734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffab845734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffab845734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffab845734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffab845734 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 0x0000ffffab80e1fc std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffffab80e1fc std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffffab80e1fc clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffffab80e1fc 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 0x0000ffffab80f1fc clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffffab80f1fc 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 0x0000ffffab8d0100 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffffab8d0100 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffffab88b2a8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffffab88b2a8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffffab88b458 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffffab88b458 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffffab88b458 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffffab88dee0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffffab88dee0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffffab88dee0 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffffab88e7fc llvm::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 0x0000ffffab88e7fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffffab88e7fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffab88e7fc clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffffab817268 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffffab8533d8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffffab8533d8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffffab8533d8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffffab8533d8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffffab8533d8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffffab8533d8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffffab8533d8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffffab85920c clang::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 0x0000ffffab85920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffffab85a2b8 clang::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 0x0000ffffab85a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffab85a7cc clang::ento::CoreEngine::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 0x0000ffffab85ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffffab85ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffffab85ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffffab85ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffffab85ab14 clang::ento::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 0x0000ffffabb252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffffabb252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffabb252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffffabb252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffffabb252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffffabb26278 llvm::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 0x0000ffffabb26278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffffabb26278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffffabb2a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffffabb2a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffffabb2a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffffabb2a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffffabb2a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffffa9f81b88 __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 0x0000ffffa9f81b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffffa9f81b88 void clang::finalize>, 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 0x0000ffffa9f81b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffffab645600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffffab5fd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffffab5fd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffffab5fd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffffab6836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaac0a059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaac0a094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaac0a0aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaac0a01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffffa2b8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffffa2b80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaac0a020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-unionlike-constructs.cpp.script: line 2: 36558 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:IgnoreRecordsWithField="[Tt]ag|[Kk]ind" -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unionlike-constructs.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-crashes.cpp (641 of 19719) ******************** TEST 'Clang :: Analysis/cxx-crashes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-crashes.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-crashes.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling vla(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-crashes.cpp:63:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-crashes.cpp:63:3: Error evaluating statement #0 0x0000ffffb29dad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb29d9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb29db408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbb9967e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbac90e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbac90e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbac90e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbac90e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbac90e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbac90e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbac90e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbac90e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffba93e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffba93e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffba93e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffba93e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffba93eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffba93eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffba93eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffba93eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffba952c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffba952c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffba952c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffba952f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffba952f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffba952f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffba9524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffba9524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffba9524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffba95eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffba95eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffba95eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffba968484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffba968484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffba968484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffba8cc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffba8cc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffba8cc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffba8cc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbadbb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbadbb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbadbb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbac7340c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffbac7340c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffbac7340c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffbac7340c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffbac7340c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffbac7340c checkVLAIndexSize /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:175:0 #48 0x0000ffffbac7340c (anonymous namespace)::VLASizeChecker::checkVLA(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::VariableArrayType const*, clang::ento::SVal&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:83:0 #49 0x0000ffffbab63af8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #50 0x0000ffffbab63af8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #51 0x0000ffffbab63af8 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:297:44 #52 0x0000ffffbab63af8 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::VLASizeChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #53 0x0000ffffba8b5308 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #54 0x0000ffffba8b5308 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #55 0x0000ffffba8eb1cc llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #56 0x0000ffffba8eb1cc llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #57 0x0000ffffba8eb1cc llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #58 0x0000ffffba8eb1cc llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #59 0x0000ffffba8eb1cc llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #60 0x0000ffffba8eb1cc clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #61 0x0000ffffba8eb1cc 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 0x0000ffffba8f9bcc clang::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 0x0000ffffba8f9bcc clang::ento::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 0x0000ffffba8fa2b8 clang::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 0x0000ffffba8fa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffba8fa7cc clang::ento::CoreEngine::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 0x0000ffffba8fab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffba8fab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffba8fab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #70 0x0000ffffba8fab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #71 0x0000ffffba8fab14 clang::ento::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 0x0000ffffbabc52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #73 0x0000ffffbabc52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #74 0x0000ffffbabc52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #75 0x0000ffffbabc52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #76 0x0000ffffbabc52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #77 0x0000ffffbabc6278 llvm::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 0x0000ffffbabc6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #79 0x0000ffffbabc6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #80 0x0000ffffbabca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #81 0x0000ffffbabca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #82 0x0000ffffbabca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #83 0x0000ffffbabca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #84 0x0000ffffbabca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #85 0x0000ffffb9021b88 __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 0x0000ffffb9021b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #87 0x0000ffffb9021b88 void clang::finalize>, 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 0x0000ffffb9021b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #89 0x0000ffffba6e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #90 0x0000ffffba69d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #91 0x0000ffffba69d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #92 0x0000ffffba69d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #93 0x0000ffffba7236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #94 0x0000aaaab50859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #95 0x0000aaaab50894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #96 0x0000aaaab508aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #97 0x0000aaaab5081fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #98 0x0000ffffb1c2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #99 0x0000ffffb1c20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #100 0x0000aaaab50820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-crashes.cpp.script: line 1: 36529 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-crashes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-dynamic-memory-analysis-order.cpp (642 of 19719) ******************** TEST 'Clang :: Analysis/cxx-dynamic-memory-analysis-order.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++20 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-dynamic-memory-analysis-order.cpp -analyzer-checker=core -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:PreStmtCXXNewExpr=true -analyzer-config debug.AnalysisOrder:PostStmtCXXNewExpr=true -analyzer-config debug.AnalysisOrder:PreStmtCXXDeleteExpr=true -analyzer-config debug.AnalysisOrder:PostStmtCXXDeleteExpr=true -analyzer-config debug.AnalysisOrder:PreCall=true -analyzer-config debug.AnalysisOrder:PostCall=true 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-dynamic-memory-analysis-order.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-dynamic-memory-analysis-order.cpp:37:17: error: CHECK-NEXT: expected string not found in input // CHECK-NEXT: PostCall (operator new) [CXXAllocatorCall] ^ :1:42: note: scanning from here PreCall (operator new) [CXXAllocatorCall] ^ :8:104: note: possible intended match here 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-dynamic-memory-analysis-order.cpp:34:14: Error evaluating New Allocator Call ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-dynamic-memory-analysis-order.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PreCall (operator new) [CXXAllocatorCall] next:37'0 X error: no match found 2: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3: Stack dump: next:37'0 ~~~~~~~~~~~~ 4: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++20 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-dynamic-memory-analysis-order.cpp -analyzer-checker=core -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:PreStmtCXXNewExpr=true -analyzer-config debug.AnalysisOrder:PostStmtCXXNewExpr=true -analyzer-config debug.AnalysisOrder:PreStmtCXXDeleteExpr=true -analyzer-config debug.AnalysisOrder:PostStmtCXXDeleteExpr=true -analyzer-config debug.AnalysisOrder:PreCall=true -analyzer-config debug.AnalysisOrder:PostCall=true next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 1. parser at end of file next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: 2. While analyzing stack: next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: #0 Calling f() next:37'0 ~~~~~~~~~~~~~~~~ 8: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-dynamic-memory-analysis-order.cpp:34:14: Error evaluating New Allocator Call next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:37'1 ? possible intended match 9: #0 0x0000ffffa18ead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #1 0x0000ffffa18e9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #2 0x0000ffffa18eb408 (/usr/lib64/libLLVM-17.so+0x9cb408) next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12: #3 0x0000ffffaa8a37e0 (linux-vdso.so.1+0x7e0) next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13: #4 0x0000ffffa9ba0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxxnewexpr-callback.cpp (648 of 19719) ******************** TEST 'Clang :: Analysis/cxxnewexpr-callback.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder -analyzer-config c++-allocator-inlining=true,debug.AnalysisOrder:PreStmtCXXNewExpr=true,debug.AnalysisOrder:PostStmtCXXNewExpr=true,debug.AnalysisOrder:PreCall=true,debug.AnalysisOrder:PostCall=true,debug.AnalysisOrder:NewAllocator=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxnewexpr-callback.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxnewexpr-callback.cpp --check-prefixes=CHECK,CHECK-INLINE : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder -analyzer-config c++-allocator-inlining=false,debug.AnalysisOrder:PreStmtCXXNewExpr=true,debug.AnalysisOrder:PostStmtCXXNewExpr=true,debug.AnalysisOrder:PreCall=true,debug.AnalysisOrder:PostCall=true,debug.AnalysisOrder:NewAllocator=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxnewexpr-callback.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxnewexpr-callback.cpp --check-prefixes=CHECK,CHECK-NO-INLINE -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxnewexpr-callback.cpp:33:23: error: CHECK-INLINE-NEXT: expected string not found in input // CHECK-INLINE-NEXT: PostCall (operator new) ^ :3:23: note: scanning from here PostCall (std::malloc) [SimpleFunctionCall] ^ :9:2: note: possible intended match here #0 Calling operator new(size_t) at line 22 ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxnewexpr-callback.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PreCall (operator new) [CXXAllocatorCall] 2: PreCall (std::malloc) [SimpleFunctionCall] 3: PostCall (std::malloc) [SimpleFunctionCall] next:33'0 X~~~~~~~~~~~~~~~~~~~~~ error: no match found 4: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: Stack dump: next:33'0 ~~~~~~~~~~~~ 6: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder -analyzer-config c++-allocator-inlining=true,debug.AnalysisOrder:PreStmtCXXNewExpr=true,debug.AnalysisOrder:PostStmtCXXNewExpr=true,debug.AnalysisOrder:PreCall=true,debug.AnalysisOrder:PostCall=true,debug.AnalysisOrder:NewAllocator=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxnewexpr-callback.cpp next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: 1. parser at end of file next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 2. While analyzing stack: next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #0 Calling operator new(size_t) at line 22 next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:33'1 ? possible intended match 10: #1 Calling test() next:33'0 ~~~~~~~~~~~~~~~~~~~ 11: #0 0x0000ffffb286ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12: #1 0x0000ffffb2869180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13: #2 0x0000ffffb286b408 (/usr/lib64/libLLVM-17.so+0x9cb408) next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14: #3 0x0000ffffbb8257e0 (linux-vdso.so.1+0x7e0) next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/derived-to-base.cpp (649 of 19719) ******************** TEST 'Clang :: Analysis/derived-to-base.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/derived-to-base.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -DCONSTRUCTORS=1 -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/derived-to-base.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/derived-to-base.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling Bug16309::Derived::Derived() at line 469 #1 Calling Bug16309::g() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/derived-to-base.cpp:458:10: Error evaluating statement #0 0x0000ffff7c2fad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7c2f9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7c2fb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff852b87e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff842050b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff842050b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff842050b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff842050b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff842050b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff842050b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff842050b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff842050b8 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 0x0000ffff8421a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff8421a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff8421a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff8421a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff8421a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff8421a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff8421a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff8421a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff8421a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff8421a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8421a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff8421a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff8421ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff8421ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff8421ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff8421ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff8421ab14 clang::ento::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 0x0000ffff844e52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff844e52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff844e52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff844e52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff844e52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff844e6278 llvm::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 0x0000ffff844e6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff844e6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff844ea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff844ea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff844ea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff844ea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff844ea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff82941b88 __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 0x0000ffff82941b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff82941b88 void clang::finalize>, 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 0x0000ffff82941b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff84005600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff83fbd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff83fbd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff83fbd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff840436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaac59959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaac59994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaac599aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaac5991fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff7b54098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff7b540a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaac59920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/derived-to-base.cpp.script: line 2: 36625 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/derived-to-base.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/debug-exprinspection-istainted.c (650 of 19719) ******************** TEST 'Clang :: Analysis/debug-exprinspection-istainted.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-exprinspection-istainted.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.security.taint -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-exprinspection-istainted.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.security.taint 1. parser at end of file 2. While analyzing stack: #0 Calling exactly_one_argument_required 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-exprinspection-istainted.c:24:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-exprinspection-istainted.c:24:3: Error evaluating statement #0 0x0000ffff99bead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff99be9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff99beb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa2ba47e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa1e973b8 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa1e973b8 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa1e973b8 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa1e973b8 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa1e973b8 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa1e973b8 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 0x0000ffffa1e973b8 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa1e973b8 (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 0x0000ffffa1ac67b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffa1ac67b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffa1ac67b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #15 0x0000ffffa1ac67b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #16 0x0000ffffa1ac67b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #17 0x0000ffffa1b26c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #18 0x0000ffffa1b26c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #19 0x0000ffffa1b26c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #20 0x0000ffffa1b26c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #21 0x0000ffffa1b26c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #22 0x0000ffffa1b26c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #23 0x0000ffffa1b274f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #24 0x0000ffffa1b09250 clang::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 0x0000ffffa1b09250 clang::ento::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 0x0000ffffa1b0a2b8 clang::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 0x0000ffffa1b0a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa1b0a7cc clang::ento::CoreEngine::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 0x0000ffffa1b0ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffffa1b0ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffffa1b0ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffffa1b0ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffffa1b0ab14 clang::ento::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 0x0000ffffa1dd52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffffa1dd52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffffa1dd52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffffa1dd52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffffa1dd52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffffa1dd6278 llvm::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 0x0000ffffa1dd6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffffa1dd6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffffa1dda900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffffa1dda900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffffa1dda900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffffa1dda900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffffa1dda900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffffa0231b88 __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 0x0000ffffa0231b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffffa0231b88 void clang::finalize>, 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 0x0000ffffa0231b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffffa18f5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffffa18ad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffffa18ad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffffa18ad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffffa19336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaab45e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaab45e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaab45eaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaab45e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffff98e3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffff98e30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaab45e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/debug-exprinspection-istainted.c.script: line 1: 36607 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-exprinspection-istainted.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.security.taint -- ******************** Testing: 0 FAIL: Clang :: Analysis/debug-iterator-modeling.cpp (651 of 19719) ******************** TEST 'Clang :: Analysis/debug-iterator-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus -analyzer-checker=debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-iterator-modeling.cpp -verify : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus -analyzer-checker=debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-iterator-modeling.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus -analyzer-checker=debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-iterator-modeling.cpp -verify 1. parser at end of file 2. While analyzing stack: #0 Calling iterator_validity(std::vector) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-iterator-modeling.cpp:52:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-iterator-modeling.cpp:52:13: Error evaluating statement #0 0x0000ffff7e56ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7e569180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7e56b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff875277e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8647b9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff8647b9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8647b9a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8647b9a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8647b9a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8647b9a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8647b9a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8647b9a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff8647bd94 llvm::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 0x0000ffff8647bd94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff8647bd94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff8647bd94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff8647bd94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff8647c474 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffff8647c474 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffff8647c474 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:0 #20 0x0000ffff864bd82c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffff864bd82c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffff864bd82c 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 0x0000ffff864bd82c clang::ento::ExprEngine::bindReturnValue(clang::ento::CallEvent const&, clang::LocationContext const*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:773:0 #24 0x0000ffff864bdcc8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #25 0x0000ffff864bdcc8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #26 0x0000ffff864bdcc8 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:834:0 #27 0x0000ffff864be684 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x0000ffff864be684 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x0000ffff864be684 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #30 0x0000ffff86447268 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #31 0x0000ffff864a6bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #32 0x0000ffff864a6bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #33 0x0000ffff864a6bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #34 0x0000ffff864a6bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #35 0x0000ffff864a74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #36 0x0000ffff86489250 clang::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 0x0000ffff86489250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #38 0x0000ffff8648a2b8 clang::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 0x0000ffff8648a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8648a7cc clang::ento::CoreEngine::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 0x0000ffff8648ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x0000ffff8648ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x0000ffff8648ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #44 0x0000ffff8648ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #45 0x0000ffff8648ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #46 0x0000ffff867552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #47 0x0000ffff867552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #48 0x0000ffff867552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #49 0x0000ffff867552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #50 0x0000ffff867552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #51 0x0000ffff86756278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #52 0x0000ffff86756278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #53 0x0000ffff86756278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #54 0x0000ffff8675a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff8675a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff8675a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #57 0x0000ffff8675a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #58 0x0000ffff8675a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #59 0x0000ffff84bb1b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #60 0x0000ffff84bb1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #61 0x0000ffff84bb1b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #62 0x0000ffff84bb1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #63 0x0000ffff86275600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #64 0x0000ffff8622d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #65 0x0000ffff8622d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #66 0x0000ffff8622d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #67 0x0000ffff862b36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #68 0x0000aaaaca5859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #69 0x0000aaaaca5894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #70 0x0000aaaaca58aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #71 0x0000aaaaca581fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #72 0x0000ffff7d7b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #73 0x0000ffff7d7b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #74 0x0000aaaaca5820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/debug-iterator-modeling.cpp.script: line 2: 36614 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus -analyzer-checker=debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-iterator-modeling.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/dead-stores.c (652 of 19719) ******************** TEST 'Clang :: Analysis/dead-stores.c' FAILED ******************** Script: -- : 'RUN: at line 1'; "/usr/bin/python3.11" /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/check-analyzer-fixit.py /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dead-stores.c /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.c.tmp -Wunused-variable -fblocks -Wno-unreachable-code -analyzer-checker=core,deadcode.DeadStores -analyzer-config deadcode.DeadStores:ShowFixIts=true -analyzer-config deadcode.DeadStores:WarnForDeadNestedAssignments=false -verify=non-nested : 'RUN: at line 9'; "/usr/bin/python3.11" /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/check-analyzer-fixit.py /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dead-stores.c /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.c.tmp -Wunused-variable -fblocks -Wno-unreachable-code -analyzer-checker=core,deadcode.DeadStores -analyzer-config deadcode.DeadStores:ShowFixIts=true -verify=non-nested,nested -- Exit Code: 1 Command Output (stdout): -- Running ['clang', '-cc1', '-internal-isystem', '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include\n', '-nostdsysteminc', '-analyze', '-analyzer-constraints=range', '-analyzer-config', 'apply-fixits=true', '-Wunused-variable', '-fblocks', '-Wno-unreachable-code', '-analyzer-checker=core,deadcode.DeadStores', '-analyzer-config', 'deadcode.DeadStores:ShowFixIts=true', '-analyzer-config', 'deadcode.DeadStores:WarnForDeadNestedAssignments=false', '-verify=non-nested', '-verify', '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.c.tmp.c']... Clang Static Analyzer test failed: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include\n -nostdsysteminc -analyze -analyzer-constraints=range -analyzer-config apply-fixits=true -Wunused-variable -fblocks -Wno-unreachable-code -analyzer-checker=core,deadcode.DeadStores -analyzer-config deadcode.DeadStores:ShowFixIts=true -analyzer-config deadcode.DeadStores:WarnForDeadNestedAssignments=false -verify=non-nested -verify /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.c.tmp.c 1. parser at end of file 2. While analyzing stack: #0 Calling rdar34122265_test_nested 3. /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.c.tmp.c:675:12: Error evaluating statement #0 0x0000ffff9f70ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9f709180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9f70b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa86cf7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa766a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa766a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa766a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa766a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffa766a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffa766a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffa76153bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffa76153bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffa76153bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffa762a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffa762a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffa762a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffa762a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffa762a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffa762a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffa762a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffa762a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffa762a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffa762a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa762a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffa762a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffa762ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffa762ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffa762ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffa762ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffa762ab14 clang::ento::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 0x0000ffffa78f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa78f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa78f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffa78f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffa78f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffa78f6278 llvm::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 0x0000ffffa78f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffa78f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffa78fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffa78fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffa78fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffa78fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffa78fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffa5d51b88 __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 0x0000ffffa5d51b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffa5d51b88 void clang::finalize>, 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 0x0000ffffa5d51b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffa7415600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffa73cd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffa73cd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffa73cd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffa74536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaaaf7c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaaaf7c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaaaf7caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaaaf7c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff9e95098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff9e950a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaaaf7c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17+0x120b0) -- Command Output (stderr): -- Traceback (most recent call last): File "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/check-analyzer-fixit.py", line 144, in main() File "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/check-analyzer-fixit.py", line 140, in main run_test_once(args, extra_args) File "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/check-analyzer-fixit.py", line 92, in run_test_once clang_analyzer_output = subprocess.check_output( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/subprocess.py", line 466, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['clang', '-cc1', '-internal-isystem', '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include\n', '-nostdsysteminc', '-analyze', '-analyzer-constraints=range', '-analyzer-config', 'apply-fixits=true', '-Wunused-variable', '-fblocks', '-Wno-unreachable-code', '-analyzer-checker=core,deadcode.DeadStores', '-analyzer-config', 'deadcode.DeadStores:ShowFixIts=true', '-analyzer-config', 'deadcode.DeadStores:WarnForDeadNestedAssignments=false', '-verify=non-nested', '-verify', '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.c.tmp.c']' died with . -- ******************** Testing: 0 FAIL: Clang :: Analysis/dead-stores.m (653 of 19719) ******************** TEST 'Clang :: Analysis/dead-stores.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=deadcode.DeadStores,osx.cocoa.RetainCount -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dead-stores.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=deadcode.DeadStores,osx.cocoa.RetainCount -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dead-stores.m 1. parser at end of file #0 0x0000ffff7b8fad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7b8f9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7b8fb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff848b77e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff83bb0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff83bb0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff83bb0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff83bb0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff83bb0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff83bb0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff83bb0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff83bb0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8385e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8385e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8385e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8385e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8385eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8385eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8385eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8385eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff83871aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff83871aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff83871aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff83872ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff83872ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff83872ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff838724c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff838724c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff838724c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8387eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8387eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8387eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff83888484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff83888484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff83888484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff837ec9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff837ec9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff837ec9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff837ec9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff837ecec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff837ecec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff837ecec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff837c0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff837c0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff837c0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff837fcea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff837fcea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff837fcea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff8381ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8381ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8381ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff83ae52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff83ae52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff83ae52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff83ae52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff83ae52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff83ae6278 llvm::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 0x0000ffff83ae6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff83ae6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff83aea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff83aea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff83aea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff83aea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff83aea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff81f41b88 __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 0x0000ffff81f41b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff81f41b88 void clang::finalize>, 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 0x0000ffff81f41b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff83605600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff835bd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff835bd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff835bd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff836436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad7da59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad7da94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad7daaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad7da1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff7ab4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff7ab40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad7da20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.m.script: line 1: 36594 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=deadcode.DeadStores,osx.cocoa.RetainCount -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dead-stores.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/delegates.m (654 of 19719) ******************** TEST 'Clang :: Analysis/delegates.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -Wno-objc-root-class -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/delegates.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -Wno-objc-root-class -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/delegates.m 1. parser at end of file #0 0x0000ffffa127ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa1279180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa127b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffaa2397e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa9530e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa9530e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa9530e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa9530e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa9530e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa9530e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa9530e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa9530e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa91de018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa91de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa91de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa91de018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa91deef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa91deef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa91deef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa91deef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa91f1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa91f1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa91f1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa91f2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa91f2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa91f2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa91f24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa91f24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa91f24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa91feb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa91feb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa91feb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa9208484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa9208484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa9208484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa916c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa916c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa916c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa916c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa916cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa916cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa916cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa9140400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa9140400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa9140400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa917cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa917cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa917cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa919ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa919ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa919ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa94652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa94652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa94652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa94652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa94652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa9466278 llvm::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 0x0000ffffa9466278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa9466278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa946a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa946a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa946a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa946a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa946a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa78c1b88 __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 0x0000ffffa78c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa78c1b88 void clang::finalize>, 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 0x0000ffffa78c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa8f85600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa8f3d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa8f3d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa8f3d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa8fc36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaadc9a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaadc9a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaadc9aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaadc9a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa04c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa04c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaadc9a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/delegates.m.script: line 1: 36619 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -Wno-objc-root-class -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/delegates.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/dtors.cpp (655 of 19719) ******************** TEST 'Clang :: Analysis/diagnostics/dtors.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -w -analyzer-checker=core,cplusplus -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/dtors.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -w -analyzer-checker=core,cplusplus -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/dtors.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling no_crash_on_delete_dtor::smart_ptr::get() at line 28 #1 Calling no_crash_on_delete_dtor::bar(smart_ptr) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/dtors.cpp:19:13: Error evaluating branch #0 0x0000ffffa1afad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa1af9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa1afb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffaaab97e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa9db0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa9db0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa9db0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa9db0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa9db0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa9db0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa9db0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa9db0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa9a5e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa9a5e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa9a5e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa9a5e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa9a5eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa9a5eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa9a5eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa9a5eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa9a71aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa9a71aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa9a71aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa9a72ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa9a72ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa9a72ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa9a724c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa9a724c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa9a724c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa9a7eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa9a7eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa9a7eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa9a88484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa9a88484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa9a88484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa99ec9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa99ec9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa99ec9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa99ec9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa9edb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa9edb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa9edb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa9a02bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa9a02bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa9a02bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa9a02bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa9a02bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa9a02bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa9a02bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa9a02bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa9a02bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa9a02bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa9a03130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa9a1ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa9a1ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa9a1ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa9a1ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa9a1ab14 clang::ento::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 0x0000ffffa9ce52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa9ce52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa9ce52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa9ce52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa9ce52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa9ce6278 llvm::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 0x0000ffffa9ce6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa9ce6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa9cea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa9cea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa9cea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa9cea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa9cea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa8141b88 __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 0x0000ffffa8141b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa8141b88 void clang::finalize>, 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 0x0000ffffa8141b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa9805600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa97bd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa97bd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa97bd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa98436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae07e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae07e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae07eaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae07e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa0d4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa0d40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae07e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/dtors.cpp.script: line 1: 36644 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -w -analyzer-checker=core,cplusplus -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/dtors.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/explicit-suppression.cpp (656 of 19719) ******************** TEST 'Clang :: Analysis/diagnostics/explicit-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config suppress-c++-stdlib=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/explicit-suppression.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config suppress-c++-stdlib=true -DSUPPRESSED=1 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/explicit-suppression.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -DSUPPRESSED=1 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/explicit-suppression.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config suppress-c++-stdlib=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/explicit-suppression.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling std::__copy(class C *, class C *, class C *) at line /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/../Inputs/system-header-simulator-cxx.h:764:12 #1 Calling std::copy(class C *, class C *, class C *) at line 20 #2 Calling testCopyNull(C *, C *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/../Inputs/system-header-simulator-cxx.h:740:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/../Inputs/system-header-simulator-cxx.h:740:14: Error evaluating statement #0 0x0000ffffac4aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffac4a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffac4ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb546a7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb440e560 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb440e560 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb440e560 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb440e560 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb440e560 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb440e560 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb440e560 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb440e560 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:0 #12 0x0000ffffb440e560 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:0 #13 0x0000ffffb440e560 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:0 #14 0x0000ffffb440e560 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:0 #15 0x0000ffffb440e560 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:0 #16 0x0000ffffb440e560 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #17 0x0000ffffb440e560 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #18 0x0000ffffb440e560 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #19 0x0000ffffb440e560 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #20 0x0000ffffb440e560 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #21 0x0000ffffb440e560 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #22 0x0000ffffb440ec90 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #23 0x0000ffffb440ec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffffb440ec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffb440ec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #26 0x0000ffffb4421aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb4421aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb4421aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, 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 0x0000ffffb442310c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffb442310c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffb442310c 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 0x0000ffffb44224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffffb44224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffffb44224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #35 0x0000ffffb442eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #36 0x0000ffffb442eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #37 0x0000ffffb442eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #38 0x0000ffffb4438484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x0000ffffb4438484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x0000ffffb4438484 clang::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 0x0000ffffb439c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #42 0x0000ffffb439c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #43 0x0000ffffb439c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #44 0x0000ffffb439c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #45 0x0000ffffb488b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #46 0x0000ffffb488b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x0000ffffb488b004 clang::ento::ProgramState::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 0x0000ffffb43afd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #49 0x0000ffffb43afd0c 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 0x0000ffffb43afd0c 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 0x0000ffffb43ca05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #52 0x0000ffffb43ca05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #53 0x0000ffffb43ca05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #54 0x0000ffffb43ca05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #55 0x0000ffffb43ca05c clang::ento::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 0x0000ffffb43ca2b8 clang::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 0x0000ffffb43ca5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb43ca7cc clang::ento::CoreEngine::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 0x0000ffffb43cab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb43cab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb43cab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffb43cab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffb43cab14 clang::ento::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 0x0000ffffb46952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffb46952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffb46952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffb46952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffb46952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffb4696278 llvm::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 0x0000ffffb4696278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffb4696278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffb469a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffb469a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffb469a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffb469a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffb469a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffb2af1b88 __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 0x0000ffffb2af1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffb2af1b88 void clang::finalize>, 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 0x0000ffffb2af1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffb41b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffb416d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffb416d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffb416d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffb41f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaab5ec59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaab5ec94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaab5ecaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaab5ec1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffffab6f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffab6f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaab5ec20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/explicit-suppression.cpp.script: line 3: 36650 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config suppress-c++-stdlib=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/explicit-suppression.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/initializer.cpp (657 of 19719) ******************** TEST 'Clang :: Analysis/diagnostics/initializer.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/initializer.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/initializer.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling note_on_skipped_vbases::D::D() at line 40 #1 Calling note_on_skipped_vbases::test_prunability() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/initializer.cpp:36:11: Error evaluating statement #0 0x0000ffff9710ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff97109180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9710b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa00c47e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9f0150b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9f0150b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9f0150b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9f0150b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9f0150b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9f0150b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9f0150b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9f0150b8 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 0x0000ffff9f02a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff9f02a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff9f02a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff9f02a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff9f02a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff9f02a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff9f02a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff9f02a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff9f02a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff9f02a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9f02a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff9f02a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff9f02ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff9f02ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff9f02ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff9f02ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff9f02ab14 clang::ento::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 0x0000ffff9f2f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff9f2f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff9f2f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff9f2f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff9f2f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff9f2f6278 llvm::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 0x0000ffff9f2f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff9f2f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff9f2fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff9f2fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff9f2fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff9f2fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff9f2fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff9d751b88 __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 0x0000ffff9d751b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff9d751b88 void clang::finalize>, 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 0x0000ffff9d751b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff9ee15600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff9edcd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff9edcd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff9edcd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff9ee536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaadf4259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaadf4294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaadf42aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaadf421fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff9635098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff96350a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaadf4220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/initializer.cpp.script: line 1: 36685 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/initializer.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/find_last_store.c (658 of 19719) ******************** TEST 'Clang :: Analysis/diagnostics/find_last_store.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/find_last_store.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/find_last_store.c 1. parser at end of file 2. While analyzing stack: #0 Calling no_find_last_store 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/find_last_store.c:11:10: Error evaluating branch #0 0x0000ffff955aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff955a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff955ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9e5617e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9d860e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9d860e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9d860e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9d860e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9d860e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9d860e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9d860e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9d860e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9d50e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9d50e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9d50e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9d50e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9d50eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9d50eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9d50eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9d50eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9d521aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9d521aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9d521aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9d522ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9d522ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9d522ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9d5224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9d5224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9d5224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9d52eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9d52eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9d52eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9d538484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9d538484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9d538484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9d49c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9d49c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9d49c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9d49c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9d98b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9d98b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9d98b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9d4b2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff9d4b2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff9d4b2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff9d4b2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff9d4b2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff9d4b2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff9d4b2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff9d4b2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff9d4b2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff9d4b2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff9d4b3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff9d4cab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9d4cab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9d4cab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9d4cab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9d4cab14 clang::ento::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 0x0000ffff9d7952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9d7952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9d7952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9d7952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9d7952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9d796278 llvm::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 0x0000ffff9d796278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9d796278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9d79a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9d79a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9d79a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9d79a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9d79a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9bbf1b88 __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 0x0000ffff9bbf1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9bbf1b88 void clang::finalize>, 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 0x0000ffff9bbf1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9d2b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9d26d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9d26d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9d26d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9d2f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac93159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac93194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac931aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac9311fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff947f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff947f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac93120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/find_last_store.c.script: line 1: 36667 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/find_last_store.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/implicit-cxx-std-suppression.cpp (659 of 19719) ******************** TEST 'Clang :: Analysis/diagnostics/implicit-cxx-std-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=false -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/implicit-cxx-std-suppression.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/implicit-cxx-std-suppression.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=false -std=c++11 -DTEST_INLINABLE_ALLOCATORS -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/implicit-cxx-std-suppression.cpp : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=true -std=c++11 -DTEST_INLINABLE_ALLOCATORS -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/implicit-cxx-std-suppression.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=false -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/implicit-cxx-std-suppression.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testSuppression_std_shared_pointer() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/implicit-cxx-std-suppression.cpp:36:26: Error evaluating New Allocator Call #0 0x0000ffff8897ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff88979180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8897b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff919377e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff90c30e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff90c30e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff90c30e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff90c30e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff90c30e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff90c30e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff90c30e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff90c30e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff908de018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff908de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff908de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff908de018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff908deef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff908deef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff908deef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff908deef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff908f1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff908f1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff908f1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff908f2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff908f2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff908f2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff908f24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff908f24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff908f24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff908feb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff908feb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff908feb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff90908484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff90908484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff90908484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9086c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9086c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9086c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9086c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9086cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9086cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9086cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff90896f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff90896f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff90896f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff90896f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff90896f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff9089735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff9089735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff9089735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff9089735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff9089735c 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 0x0000ffff9089a5dc clang::ento::ExprEngine::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 0x0000ffff9089a6c0 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 0x0000ffff9089a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffff9089ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffff9089ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffff9089ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffff9089ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffff9089ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffff90b652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffff90b652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffff90b652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffff90b652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffff90b652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffff90b66278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffff90b66278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffff90b66278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffff90b6a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffff90b6a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffff90b6a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffff90b6a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffff90b6a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff8efc1b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffff8efc1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff8efc1b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffff8efc1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffff90685600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffff9063d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffff9063d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffff9063d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffff906c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaab7fd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaab7fd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaab7fdaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaab7fd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff87bc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff87bc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaab7fd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/implicit-cxx-std-suppression.cpp.script: line 4: 36670 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=false -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/implicit-cxx-std-suppression.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/deref-track-symbolic-region.cpp (660 of 19719) ******************** TEST 'Clang :: Analysis/diagnostics/deref-track-symbolic-region.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testRefParam(int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.cpp:20:6: Error evaluating branch #0 0x0000ffff9a17ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9a179180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9a17b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa313d7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa2430e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa2430e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa2430e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa2430e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa2430e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa2430e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa2430e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa2430e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa20de018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa20de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa20de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa20de018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa20deef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa20deef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa20deef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa20deef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa20f1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa20f1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa20f1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa20f2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa20f2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa20f2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa20f24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa20f24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa20f24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa20feb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa20feb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa20feb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa2108484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa2108484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa2108484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa206c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa206c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa206c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa206c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa255b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa255b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa255b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa2082bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa2082bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa2082bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa2082bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa2082bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa2082bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa2082bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa2082bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa2082bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa2082bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa2083130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa209ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa209ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa209ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa209ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa209ab14 clang::ento::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 0x0000ffffa23652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa23652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa23652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa23652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa23652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa2366278 llvm::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 0x0000ffffa2366278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa2366278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa236a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa236a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa236a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa236a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa236a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa07c1b88 __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 0x0000ffffa07c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa07c1b88 void clang::finalize>, 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 0x0000ffffa07c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa1e85600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa1e3d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa1e3d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa1e3d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa1ec36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab83159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab83194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab831aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab8311fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff993c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff993c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab83120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/deref-track-symbolic-region.cpp.script: line 1: 36638 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/false-positive-suppression.c (661 of 19719) ******************** TEST 'Clang :: Analysis/diagnostics/false-positive-suppression.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -I /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/Inputs -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/false-positive-suppression.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -I /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/Inputs -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/false-positive-suppression.c 1. parser at end of file 2. While analyzing stack: #0 Calling radar12491259_inside_macro 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/false-positive-suppression.c:19:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/false-positive-suppression.c:19:14: Error evaluating statement #0 0x0000ffff86f5ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff86f59180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff86f5b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8ff147e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8f1f76d0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8f1f76d0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8f1f76d0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8f1f76d0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8f1f76d0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8f1f76d0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8f1f76d0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8f1f76d0 (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 0x0000ffff8f005990 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff8f005990 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff8f005990 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 0x0000ffff8ee195a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff8ee195a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff8ee195a8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff8ee195a8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff8eedebf4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff8eedebf4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff8eedebf4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff8eedebf4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff8eee8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff8eee8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff8eee8484 clang::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 0x0000ffff8ee4cae8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8ee4cae8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8ee4cae8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff8ee4cae8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff8f33b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8f33b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8f33b004 clang::ento::ProgramState::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 0x0000ffff8f011ba0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff8f011ba0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff8f011ba0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff8f011ba0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff8f011ba0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff8f011ba0 (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 0x0000ffff8f011ff0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff8f011ff0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff8f011ff0 (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 0x0000ffff8f01e4d0 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff8f01e4d0 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 0x0000ffff8ee367b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff8ee367b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff8ee367b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff8ee367b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff8ee367b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff8ee96c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff8ee96c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff8ee96c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff8ee96c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff8ee96c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff8ee96c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff8ee974f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff8ee79250 clang::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 0x0000ffff8ee79250 clang::ento::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 0x0000ffff8ee7a2b8 clang::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 0x0000ffff8ee7a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8ee7a7cc clang::ento::CoreEngine::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 0x0000ffff8ee7ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff8ee7ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff8ee7ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff8ee7ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff8ee7ab14 clang::ento::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 0x0000ffff8f1452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff8f1452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff8f1452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff8f1452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff8f1452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff8f146278 llvm::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 0x0000ffff8f146278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff8f146278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff8f14a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff8f14a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff8f14a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff8f14a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff8f14a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff8d5a1b88 __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 0x0000ffff8d5a1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff8d5a1b88 void clang::finalize>, 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 0x0000ffff8d5a1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff8ec65600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff8ec1d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff8ec1d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff8ec1d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff8eca36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaaae6f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaaae6f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaaae6faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaaae6f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff861a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff861a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaaae6f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/false-positive-suppression.c.script: line 1: 36654 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -I /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/Inputs -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/false-positive-suppression.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/debug-container-modeling.cpp (662 of 19719) ******************** TEST 'Clang :: Analysis/debug-container-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus -analyzer-checker=debug.DebugContainerModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-container-modeling.cpp -verify : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus -analyzer-checker=debug.DebugContainerModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-container-modeling.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus -analyzer-checker=debug.DebugContainerModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-container-modeling.cpp -verify 1. parser at end of file 2. While analyzing stack: #0 Calling container_begin_end(const std::vector) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-container-modeling.cpp:23:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-container-modeling.cpp:23:3: Error evaluating statement #0 0x0000ffff9cf0ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9cf09180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9cf0b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa5ec47e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa4e47cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffa4e47cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa4e47cb0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa4e47cb0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa4e47cb0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa4e47cb0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa4e47cb0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffffa4e47cb0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffffa4e47cb0 (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 0x0000ffffa4e47d8c (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffffa4e9b478 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffffa4e9b478 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffffa4e9acb4 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1270:0 #17 0x0000ffffa4e9acb4 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:0 #18 0x0000ffffa52a82f4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffffa52a82f4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffffa52a82f4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffffa4e827b4 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffffa4e827b4 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffffa4e81d88 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #24 0x0000ffffa4e81e8c clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #25 0x0000ffffa4e82ecc clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:26:17 #26 0x0000ffffa4e824c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa4e824c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa4e824c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa4e8eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa4e8eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa4e8eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa4e98484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa4e98484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa4e98484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa4dfc9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa4dfc9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa4dfc9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa4dfc9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa4dfcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa4dfcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa4dfcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa4dd0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa4dd0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa4dd0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa4f83b04 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #46 0x0000ffffa4f83b04 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #47 0x0000ffffa4f83b04 clang::ento::iterator::assumeNoOverflow(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, long) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Iterator.cpp:291:0 #48 0x0000ffffa4f00008 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffffa4f00008 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa4f00008 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:0 #51 0x0000ffffa4f00008 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:0 #52 0x0000ffffa4f00008 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:0 #53 0x0000ffffa4f00008 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #54 0x0000ffffa4de67b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x0000ffffa4de67b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x0000ffffa4de67b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #57 0x0000ffffa4de67b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #58 0x0000ffffa4de67b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #59 0x0000ffffa4e46c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #60 0x0000ffffa4e46c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #61 0x0000ffffa4e46c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #62 0x0000ffffa4e46c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #63 0x0000ffffa4e46c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #64 0x0000ffffa4e46c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #65 0x0000ffffa4e474f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #66 0x0000ffffa4e29250 clang::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 0x0000ffffa4e29250 clang::ento::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 0x0000ffffa4e2a2b8 clang::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 0x0000ffffa4e2a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa4e2a7cc clang::ento::CoreEngine::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 0x0000ffffa4e2ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffffa4e2ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffffa4e2ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #74 0x0000ffffa4e2ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #75 0x0000ffffa4e2ab14 clang::ento::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 0x0000ffffa50f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #77 0x0000ffffa50f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #78 0x0000ffffa50f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #79 0x0000ffffa50f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #80 0x0000ffffa50f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #81 0x0000ffffa50f6278 llvm::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 0x0000ffffa50f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x0000ffffa50f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #84 0x0000ffffa50fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x0000ffffa50fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x0000ffffa50fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x0000ffffa50fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x0000ffffa50fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x0000ffffa3551b88 __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 0x0000ffffa3551b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x0000ffffa3551b88 void clang::finalize>, 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 0x0000ffffa3551b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x0000ffffa4c15600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #94 0x0000ffffa4bcd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #95 0x0000ffffa4bcd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #96 0x0000ffffa4bcd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #97 0x0000ffffa4c536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #98 0x0000aaaad63e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x0000aaaad63e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x0000aaaad63eaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x0000aaaad63e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x0000ffff9c15098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #103 0x0000ffff9c150a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #104 0x0000aaaad63e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/debug-container-modeling.cpp.script: line 2: 36608 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus -analyzer-checker=debug.DebugContainerModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-container-modeling.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/deref-track-symbolic-region.c (663 of 19719) ******************** TEST 'Clang :: Analysis/diagnostics/deref-track-symbolic-region.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.c -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/deref-track-symbolic-region.c.tmp.plist : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling testTrackConstraintBRVisitorIsTrackingTurnedOn 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.c:32:7: Error evaluating branch #0 0x0000ffffa91fad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa91f9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa91fb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb21b07e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb14b0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb14b0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb14b0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb14b0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb14b0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb14b0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb14b0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb14b0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb115e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb115e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb115e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb115e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb115eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb115eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb115eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb115eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb1171aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb1171aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb1171aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb1172ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb1172ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb1172ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb11724c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb11724c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb11724c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb117eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb117eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb117eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb1188484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb1188484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb1188484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb10ec9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb10ec9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb10ec9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb10ec9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb15db004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb15db004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb15db004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb1102bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb1102bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb1102bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb1102bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb1102bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb1102bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb1102bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb1102bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb1102bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb1102bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb1103130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb111ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb111ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb111ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb111ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb111ab14 clang::ento::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 0x0000ffffb13e52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb13e52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb13e52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb13e52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb13e52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb13e6278 llvm::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 0x0000ffffb13e6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb13e6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb13ea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb13ea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb13ea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb13ea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb13ea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffaf841b88 __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 0x0000ffffaf841b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffaf841b88 void clang::finalize>, 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 0x0000ffffaf841b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb0f05600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb0ebd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb0ebd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb0ebd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb0f436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae66559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae66594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae665aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae6651fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa844098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa8440a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae66520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/deref-track-symbolic-region.c.script: line 3: 36639 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/invalid-srcloc-fix.cpp (672 of 19719) ******************** TEST 'Clang :: Analysis/diagnostics/invalid-srcloc-fix.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/invalid-srcloc-fix.cpp -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/invalid-srcloc-fix.cpp.tmp.plist -analyzer-checker=core -analyzer-checker=debug.ReportStmts -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/invalid-srcloc-fix.cpp -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/invalid-srcloc-fix.cpp.tmp.plist -analyzer-checker=core -analyzer-checker=debug.ReportStmts 1. parser at end of file 2. While analyzing stack: #0 Calling k() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/invalid-srcloc-fix.cpp:11:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/invalid-srcloc-fix.cpp:11:10: Error evaluating statement #0 0x0000ffff7a21ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7a219180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7a21b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff831dc7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff82125734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff82125734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff82125734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff82125734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff82125734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff82125734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff82125734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff82125734 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 0x0000ffff82128314 llvm::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 0x0000ffff82128314 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff82128314 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff82128314 clang::ento::ExprEngine::createTemporaryRegionIfNeeded(llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::Expr const*, clang::Expr const*, clang::ento::SubRegion const**) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:386:0 #16 0x0000ffff82129340 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #17 0x0000ffff82129340 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #18 0x0000ffff82129340 clang::ento::ExprEngine::CreateCXXTemporaryObject(clang::MaterializeTemporaryExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:38:0 #19 0x0000ffff82139004 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2269:0 #20 0x0000ffff8213a2b8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #21 0x0000ffff8213a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8213a7cc clang::ento::CoreEngine::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 0x0000ffff8213ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffff8213ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffff8213ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffff8213ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffff8213ab14 clang::ento::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 0x0000ffff824052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffff824052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffff824052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffff824052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffff824052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffff82406278 llvm::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 0x0000ffff82406278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffff82406278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffff8240a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffff8240a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffff8240a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffff8240a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffff8240a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffff80861b88 __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 0x0000ffff80861b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffff80861b88 void clang::finalize>, 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 0x0000ffff80861b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffff81f25600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffff81edd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffff81edd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffff81edd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffff81f636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaac8cd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaac8cd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaac8cdaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaac8cd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffff7946098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffff79460a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaac8cd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/invalid-srcloc-fix.cpp.script: line 1: 36688 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/invalid-srcloc-fix.cpp -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/invalid-srcloc-fix.cpp.tmp.plist -analyzer-checker=core -analyzer-checker=debug.ReportStmts -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/no-store-func-path-notes.cpp (673 of 19719) ******************** TEST 'Clang :: Analysis/diagnostics/no-store-func-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -std=c++14 -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -std=c++14 -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.cpp 1. parser at end of file #0 0x0000ffffb1efad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb1ef9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb1efb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbaeb17e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb9e09f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb9e09f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb9e09f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb9e09f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb9e09f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb9e09f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb9e09f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb9e09f54 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 0x0000ffffb9e0a878 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 0x0000ffffb9e1a954 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 0x0000ffffb9e1ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffb9e1ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffb9e1ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffb9e1ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffb9e1ab14 clang::ento::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 0x0000ffffba0e52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffba0e52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffba0e52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffba0e52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffba0e52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffba0e6278 llvm::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 0x0000ffffba0e6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffba0e6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffba0ea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffba0ea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffba0ea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffba0ea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffba0ea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffb8541b88 __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 0x0000ffffb8541b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffb8541b88 void clang::finalize>, 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 0x0000ffffb8541b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffb9c05600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffb9bbd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffb9bbd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffb9bbd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffb9c436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaad72c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaad72c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaad72caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaad72c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffb114098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffb1140a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaad72c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/no-store-func-path-notes.cpp.script: line 1: 36702 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -std=c++14 -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/plist-diagnostics-include-check.cpp (674 of 19719) ******************** TEST 'Clang :: Analysis/diagnostics/plist-diagnostics-include-check.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/plist-diagnostics-include-check.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/plist-diagnostics-include-check.cpp.tmp.plist : 'RUN: at line 2'; tail -n +11 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/plist-diagnostics-include-check.cpp.tmp.plist | grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' | diff -ub /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/Inputs/expected-plists/plist-diagnostics-include-check.cpp.plist - -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/plist-diagnostics-include-check.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/plist-diagnostics-include-check.cpp.tmp.plist 1. parser at end of file #0 0x0000ffff92a5ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff92a59180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff92a5b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9ba187e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9a969f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9a969f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9a969f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9a969f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9a969f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9a969f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9a969f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9a969f54 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 0x0000ffff9a96a878 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 0x0000ffff9a97a954 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 0x0000ffff9a97ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff9a97ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff9a97ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff9a97ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff9a97ab14 clang::ento::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 0x0000ffff9ac452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff9ac452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff9ac452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff9ac452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff9ac452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff9ac46278 llvm::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 0x0000ffff9ac46278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff9ac46278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff9ac4a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff9ac4a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff9ac4a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff9ac4a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff9ac4a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff990a1b88 __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 0x0000ffff990a1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff990a1b88 void clang::finalize>, 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 0x0000ffff990a1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff9a765600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff9a71d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff9a71d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff9a71d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff9a7a36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaac3a259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaac3a294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaac3a2aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaac3a21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff91ca098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff91ca0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaac3a220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/plist-diagnostics-include-check.cpp.script: line 2: 36704 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/plist-diagnostics-include-check.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/plist-diagnostics-include-check.cpp.tmp.plist -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/macro-null-return-suppression.cpp (675 of 19719) ******************** TEST 'Clang :: Analysis/diagnostics/macro-null-return-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macro-null-return-suppression.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macro-null-return-suppression.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling noSuppressMacroUnrelated 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macro-null-return-suppression.cpp:54:7: Error evaluating branch #0 0x0000ffff9a5aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9a5a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9a5ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa356c7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa2860e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa2860e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa2860e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa2860e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa2860e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa2860e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa2860e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa2860e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa250e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa250e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa250e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa250e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa250eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa250eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa250eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa250eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa2521aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa2521aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa2521aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa2522ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa2522ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa2522ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa25224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa25224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa25224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa252eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa252eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa252eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa2538484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa2538484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa2538484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa249c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa249c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa249c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa249c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa298b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa298b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa298b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa24b2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa24b2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa24b2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa24b2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa24b2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa24b2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa24b2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa24b2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa24b2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa24b2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa24b3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa24cab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa24cab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa24cab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa24cab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa24cab14 clang::ento::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 0x0000ffffa27952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa27952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa27952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa27952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa27952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa2796278 llvm::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 0x0000ffffa2796278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa2796278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa279a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa279a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa279a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa279a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa279a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa0bf1b88 __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 0x0000ffffa0bf1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa0bf1b88 void clang::finalize>, 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 0x0000ffffa0bf1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa22b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa226d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa226d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa226d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa22f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabcb659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabcb694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabcb6aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabcb61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff997f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff997f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabcb620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/macro-null-return-suppression.cpp.script: line 1: 36691 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macro-null-return-suppression.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/undef-value-param.c (676 of 19719) ******************** TEST 'Clang :: Analysis/diagnostics/undef-value-param.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/undef-value-param.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/undef-value-param.c -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/undef-value-param.c.tmp.plist : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling initStruct at line 60 #1 Calling testPassingParentRegionStruct 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/undef-value-param.c:55:11: Error evaluating statement #0 0x0000ffff96c5ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff96c59180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff96c5b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9fc1c7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9ebba104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9ebba104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9ebba104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9ebba104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff9ebba104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff9ebba104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff9eb653bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff9eb653bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff9eb653bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff9eb7a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff9eb7a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff9eb7a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff9eb7a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff9eb7a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff9eb7a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff9eb7a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff9eb7a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff9eb7a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff9eb7a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9eb7a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff9eb7a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff9eb7ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff9eb7ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff9eb7ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff9eb7ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff9eb7ab14 clang::ento::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 0x0000ffff9ee452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9ee452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9ee452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff9ee452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff9ee452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff9ee46278 llvm::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 0x0000ffff9ee46278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff9ee46278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff9ee4a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff9ee4a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff9ee4a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff9ee4a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff9ee4a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff9d2a1b88 __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 0x0000ffff9d2a1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff9d2a1b88 void clang::finalize>, 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 0x0000ffff9d2a1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff9e965600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff9e91d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff9e91d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff9e91d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff9e9a36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaad8e559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaad8e594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaad8e5aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaad8e51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff95ea098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff95ea0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaad8e520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/undef-value-param.c.script: line 3: 36742 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/undef-value-param.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/no-store-func-path-notes.c (677 of 19719) ******************** TEST 'Clang :: Analysis/diagnostics/no-store-func-path-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-implicit-function-declaration -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-implicit-function-declaration -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_implicit_function_decl 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.c:256:7: Error evaluating branch #0 0x0000ffff9cf3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9cf39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9cf3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa5efe7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa51f0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa51f0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa51f0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa51f0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa51f0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa51f0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa51f0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa51f0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa4e9e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa4e9e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa4e9e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa4e9e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa4e9eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa4e9eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa4e9eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa4e9eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa4eb1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa4eb1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa4eb1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa4eb2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa4eb2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa4eb2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa4eb24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa4eb24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa4eb24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa4ebeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa4ebeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa4ebeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa4ec8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa4ec8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa4ec8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa4e2c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa4e2c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa4e2c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa4e2c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa531b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa531b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa531b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa4e42bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa4e42bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa4e42bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa4e42bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa4e42bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa4e42bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa4e42bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa4e42bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa4e42bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa4e42bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa4e43130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa4e5ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa4e5ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa4e5ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa4e5ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa4e5ab14 clang::ento::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 0x0000ffffa51252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa51252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa51252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa51252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa51252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa5126278 llvm::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 0x0000ffffa5126278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa5126278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa512a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa512a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa512a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa512a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa512a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa3581b88 __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 0x0000ffffa3581b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa3581b88 void clang::finalize>, 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 0x0000ffffa3581b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa4c45600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa4bfd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa4bfd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa4bfd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa4c836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad64459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad64494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad644aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad6441fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9c18098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9c180a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad64420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/no-store-func-path-notes.c.script: line 1: 36699 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-implicit-function-declaration -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/macros.m (678 of 19719) ******************** TEST 'Clang :: Analysis/diagnostics/macros.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -fblocks -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -fblocks -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.m 1. parser at end of file 2. While analyzing stack: #0 Calling testNilMacro 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.m:24:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.m:24:7: Error evaluating statement #0 0x0000ffff9916ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff99169180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9916b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa21227e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa1420e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa1420e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa1420e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa1420e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa1420e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa1420e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa1420e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa1420e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa10ce018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa10ce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa10ce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa10ce018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa10ceef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa10ceef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa10ceef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa10ceef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa10e1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa10e1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa10e1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa10e2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa10e2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa10e2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa10e24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa10e24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa10e24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa10eeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa10eeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa10eeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa10f8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa10f8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa10f8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa105c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa105c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa105c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa105c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa154b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa154b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa154b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa106fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa106fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa106fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffa108a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffa108a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffa108a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffa108a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffa108a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffa108a2b8 clang::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 0x0000ffffa108a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa108a7cc clang::ento::CoreEngine::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 0x0000ffffa108ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa108ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa108ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa108ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa108ab14 clang::ento::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 0x0000ffffa13552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa13552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa13552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa13552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa13552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa1356278 llvm::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 0x0000ffffa1356278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa1356278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa135a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa135a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa135a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa135a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa135a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9f7b1b88 __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 0x0000ffff9f7b1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9f7b1b88 void clang::finalize>, 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 0x0000ffff9f7b1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa0e75600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa0e2d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa0e2d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa0e2d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa0eb36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad1de59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad1de94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad1deaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad1de1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff983b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff983b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad1de20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/macros.m.script: line 1: 36696 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -fblocks -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/sarif-diagnostics-taint-test.c (679 of 19719) ******************** TEST 'Clang :: Analysis/diagnostics/sarif-diagnostics-taint-test.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint,debug.TaintTest /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/sarif-diagnostics-taint-test.c -verify -analyzer-output=sarif -o - | grep -Ev '^[[:space:]]*("uri": "file:.*sarif-diagnostics-taint-test.c"|"version": ".* version .*"|"version": "2.1.0")[[:space:]]*$' | diff -U1 -b /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-diagnostics-taint-test.c.sarif - -- Exit Code: 1 Command Output (stdout): -- --- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-diagnostics-taint-test.c.sarif 2023-11-28 16:52:28.000000000 +0800 +++ - 2024-09-29 01:02:45.911746325 +0800 @@ -1,115 +0,0 @@ -{ - "$schema": "https://docs.oasis-open.org/sarif/sarif/v2.1.0/cos02/schemas/sarif-schema-2.1.0.json", - "runs": [ - { - "artifacts": [ - { - "length": 434, - "location": { - "index": 0, - }, - "mimeType": "text/plain", - "roles": [ - "resultFile" - ] - } - ], - "columnKind": "unicodeCodePoints", - "results": [ - { - "codeFlows": [ - { - "threadFlows": [ - { - "locations": [ - { - "importance": "essential", - "location": { - "message": { - "text": "Calling 'f'" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 6, - "endLine": 13, - "startColumn": 3, - "startLine": 13 - } - } - } - }, - { - "importance": "essential", - "location": { - "message": { - "text": "tainted" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 18, - "endLine": 9, - "startColumn": 11, - "startLine": 9 - } - } - } - } - ] - } - ] - } - ], - "level": "warning", - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 18, - "endLine": 9, - "startColumn": 11, - "startLine": 9 - } - } - } - ], - "message": { - "text": "tainted" - }, - "ruleId": "debug.TaintTest", - "ruleIndex": 0 - } - ], - "tool": { - "driver": { - "fullName": "clang static analyzer", - "informationUri": "https://clang.llvm.org/docs/UsersManual.html", - "language": "en-US", - "name": "clang", - "rules": [ - { - "defaultConfiguration": { - "enabled": true, - "level": "warning", - "rank": -1 - }, - "fullDescription": { - "text": "Mark tainted symbols as such." - }, - "id": "debug.TaintTest", - "name": "debug.TaintTest" - } - ], - } - } - } - ], -} -- Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint,debug.TaintTest /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/sarif-diagnostics-taint-test.c -verify -analyzer-output=sarif -o - 1. parser at end of file 2. While analyzing stack: #0 Calling f at line 13 #1 Calling main 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/sarif-diagnostics-taint-test.c:8:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/sarif-diagnostics-taint-test.c:8:3: Error evaluating statement #0 0x0000ffffa9b7ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa9b79180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa9b7b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb2b367e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb1e273b8 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb1e273b8 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb1e273b8 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb1e273b8 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb1e273b8 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb1e273b8 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 0x0000ffffb1e273b8 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb1e273b8 (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 0x0000ffffb1a567b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffb1a567b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffb1a567b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #15 0x0000ffffb1a567b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #16 0x0000ffffb1a567b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #17 0x0000ffffb1ab6c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #18 0x0000ffffb1ab6c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #19 0x0000ffffb1ab6c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #20 0x0000ffffb1ab6c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #21 0x0000ffffb1ab6c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #22 0x0000ffffb1ab6c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #23 0x0000ffffb1ab74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #24 0x0000ffffb1a99250 clang::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 0x0000ffffb1a99250 clang::ento::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 0x0000ffffb1a9a2b8 clang::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 0x0000ffffb1a9a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb1a9a7cc clang::ento::CoreEngine::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 0x0000ffffb1a9ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffffb1a9ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffffb1a9ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffffb1a9ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffffb1a9ab14 clang::ento::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 0x0000ffffb1d652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffffb1d652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffffb1d652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffffb1d652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffffb1d652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffffb1d66278 llvm::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 0x0000ffffb1d66278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffffb1d66278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffffb1d6a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffffb1d6a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffffb1d6a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffffb1d6a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffffb1d6a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffffb01c1b88 __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 0x0000ffffb01c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffffb01c1b88 void clang::finalize>, 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 0x0000ffffb01c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffffb1885600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffffb183d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffffb183d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffffb183d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffffb18c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaaba4f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaaba4f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaaba4faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaaba4f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffffa8dc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffffa8dc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaaba4f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/track_subexpressions.cpp (680 of 19719) ******************** TEST 'Clang :: Analysis/diagnostics/track_subexpressions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/track_subexpressions.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/track_subexpressions.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling multi_array_index_tracking::getIndex(int) at line 76 #1 Calling multi_array_index_tracking::testArrayIndexTracking() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/track_subexpressions.cpp:62:9: Error evaluating statement #0 0x0000ffff88f3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff88f39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff88f3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff91ef77e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff90e9a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff90e9a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff90e9a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff90e9a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff90e9a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff90e9a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff90e453bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff90e453bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff90e453bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff90e5a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff90e5a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff90e5a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff90e5a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff90e5a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff90e5a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff90e5a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff90e5a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff90e5a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff90e5a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff90e5a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff90e5a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff90e5ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff90e5ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff90e5ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff90e5ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff90e5ab14 clang::ento::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 0x0000ffff911252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff911252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff911252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff911252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff911252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff91126278 llvm::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 0x0000ffff91126278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff91126278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff9112a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff9112a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff9112a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff9112a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff9112a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff8f581b88 __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 0x0000ffff8f581b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff8f581b88 void clang::finalize>, 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 0x0000ffff8f581b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff90c45600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff90bfd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff90bfd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff90bfd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff90c836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaae81759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaae81794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaae817aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaae8171fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff8818098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff88180a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaae81720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/track_subexpressions.cpp.script: line 1: 36735 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/track_subexpressions.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/report-issues-within-main-file.cpp (681 of 19719) ******************** TEST 'Clang :: Analysis/diagnostics/report-issues-within-main-file.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -analyzer-output=plist-multi-file -analyzer-config report-in-main-source-file=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/report-issues-within-main-file.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/report-issues-within-main-file.cpp.tmp.plist : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling mainPlusHeader() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/report-issues-within-main-file.cpp:6:20: Error evaluating New Allocator Call #0 0x0000ffff97c3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff97c39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff97c3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa0bf27e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9fef0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9fef0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9fef0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9fef0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9fef0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9fef0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9fef0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9fef0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9fb9e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9fb9e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9fb9e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9fb9e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9fb9eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9fb9eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9fb9eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9fb9eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9fbb1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9fbb1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9fbb1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9fbb2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9fbb2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9fbb2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9fbb24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9fbb24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9fbb24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9fbbeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9fbbeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9fbbeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9fbc8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9fbc8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9fbc8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9fb2c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9fb2c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9fb2c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9fb2c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9fb2cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9fb2cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9fb2cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9fb56f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff9fb56f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff9fb56f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff9fb56f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff9fb56f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff9fb5735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff9fb5735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff9fb5735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff9fb5735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff9fb5735c 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 0x0000ffff9fb5a5dc clang::ento::ExprEngine::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 0x0000ffff9fb5a7cc clang::ento::CoreEngine::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 0x0000ffff9fb5ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff9fb5ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff9fb5ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff9fb5ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff9fb5ab14 clang::ento::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 0x0000ffff9fe252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff9fe252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff9fe252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff9fe252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff9fe252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff9fe26278 llvm::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 0x0000ffff9fe26278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff9fe26278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff9fe2a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff9fe2a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff9fe2a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff9fe2a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff9fe2a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff9e281b88 __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 0x0000ffff9e281b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff9e281b88 void clang::finalize>, 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 0x0000ffff9e281b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff9f945600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff9f8fd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff9f8fd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff9f8fd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff9f9836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaac74a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaac74a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaac74aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaac74a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff96e8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff96e80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaac74a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/report-issues-within-main-file.cpp.script: line 2: 36710 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -analyzer-output=plist-multi-file -analyzer-config report-in-main-source-file=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/report-issues-within-main-file.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/report-issues-within-main-file.cpp.tmp.plist -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/sarif-multi-diagnostic-test.c (682 of 19719) ******************** TEST 'Clang :: Analysis/diagnostics/sarif-multi-diagnostic-test.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.taint,debug.TaintTest,unix.Malloc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/sarif-multi-diagnostic-test.c -verify -analyzer-output=sarif -o - | grep -Ev '^[[:space:]]*("uri": "file:.*sarif-multi-diagnostic-test.c"|"version": ".* version .*"|"version": "2.1.0")[[:space:]]*$' | diff -U1 -b /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-multi-diagnostic-test.c.sarif - -- Exit Code: 1 Command Output (stdout): -- --- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-multi-diagnostic-test.c.sarif 2023-11-28 16:52:28.000000000 +0800 +++ - 2024-09-29 01:02:45.917010060 +0800 @@ -1,506 +0,0 @@ -{ - "$schema": "https://docs.oasis-open.org/sarif/sarif/v2.1.0/cos02/schemas/sarif-schema-2.1.0.json", - "runs": [ - { - "artifacts": [ - { - "length": 1081, - "location": { - "index": 0, - }, - "mimeType": "text/plain", - "roles": [ - "resultFile" - ] - } - ], - "columnKind": "unicodeCodePoints", - "results": [ - { - "codeFlows": [ - { - "threadFlows": [ - { - "locations": [ - { - "importance": "essential", - "location": { - "message": { - "text": "Calling 'f'" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 6, - "endLine": 39, - "startColumn": 3, - "startLine": 39 - } - } - } - }, - { - "importance": "essential", - "location": { - "message": { - "text": "tainted" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 18, - "endLine": 11, - "startColumn": 11, - "startLine": 11 - } - } - } - } - ] - } - ] - } - ], - "level": "warning", - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 18, - "endLine": 11, - "startColumn": 11, - "startLine": 11 - } - } - } - ], - "message": { - "text": "tainted" - }, - "ruleId": "debug.TaintTest", - "ruleIndex": 0 - }, - { - "codeFlows": [ - { - "threadFlows": [ - { - "locations": [ - { - "importance": "essential", - "location": { - "message": { - "text": "Calling 'g'" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 6, - "endLine": 40, - "startColumn": 3, - "startLine": 40 - } - } - } - }, - { - "importance": "essential", - "location": { - "message": { - "text": "'fp' declared without an initial value" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 12, - "endLine": 15, - "startColumn": 3, - "startLine": 15 - } - } - } - }, - { - "importance": "essential", - "location": { - "message": { - "text": "Called function pointer is an uninitialized pointer value" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 9, - "endLine": 16, - "startColumn": 3, - "startLine": 16 - } - } - } - } - ] - } - ] - } - ], - "level": "warning", - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 9, - "endLine": 16, - "startColumn": 3, - "startLine": 16 - } - } - } - ], - "message": { - "text": "Called function pointer is an uninitialized pointer value" - }, - "ruleId": "core.CallAndMessage", - "ruleIndex": 1 - }, - { - "codeFlows": [ - { - "threadFlows": [ - { - "locations": [ - { - "importance": "important", - "location": { - "message": { - "text": "Assuming 'i' is equal to 0" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 13, - "endLine": 20, - "startColumn": 7, - "startLine": 20 - } - } - } - }, - { - "importance": "unimportant", - "location": { - "message": { - "text": "Taking true branch" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 3, - "startColumn": 3, - "startLine": 20 - } - } - } - }, - { - "importance": "essential", - "location": { - "message": { - "text": "Division by zero" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 14, - "startColumn": 14, - "startLine": 21 - } - } - } - } - ] - } - ] - } - ], - "level": "warning", - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 14, - "startColumn": 14, - "startLine": 21 - } - } - } - ], - "message": { - "text": "Division by zero" - }, - "ruleId": "core.DivideZero", - "ruleIndex": 2 - }, - { - "codeFlows": [ - { - "threadFlows": [ - { - "locations": [ - { - "importance": "essential", - "location": { - "message": { - "text": "Memory is allocated" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 24, - "endLine": 26, - "startColumn": 15, - "startLine": 26 - } - } - } - }, - { - "importance": "important", - "location": { - "message": { - "text": "Assuming 'i' is < 4" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 12, - "endLine": 27, - "startColumn": 7, - "startLine": 27 - } - } - } - }, - { - "importance": "unimportant", - "location": { - "message": { - "text": "Taking true branch" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 3, - "startColumn": 3, - "startLine": 27 - } - } - } - }, - { - "importance": "essential", - "location": { - "message": { - "text": "Potential leak of memory pointed to by 'mem'" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 12, - "startColumn": 12, - "startLine": 28 - } - } - } - } - ] - } - ] - } - ], - "level": "warning", - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 12, - "startColumn": 12, - "startLine": 28 - } - } - } - ], - "message": { - "text": "Potential leak of memory pointed to by 'mem'" - }, - "ruleId": "unix.Malloc", - "ruleIndex": 3 - }, - { - "codeFlows": [ - { - "threadFlows": [ - { - "locations": [ - { - "importance": "essential", - "location": { - "message": { - "text": "'løçål' initialized to 0" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 12, - "endLine": 34, - "startColumn": 3, - "startLine": 34 - } - } - } - }, - { - "importance": "essential", - "location": { - "message": { - "text": "Division by zero" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 20, - "startColumn": 20, - "startLine": 35 - } - } - } - } - ] - } - ] - } - ], - "level": "warning", - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 20, - "startColumn": 20, - "startLine": 35 - } - } - } - ], - "message": { - "text": "Division by zero" - }, - "ruleId": "core.DivideZero", - "ruleIndex": 2 - } - ], - "tool": { - "driver": { - "fullName": "clang static analyzer", - "informationUri": "https://clang.llvm.org/docs/UsersManual.html", - "language": "en-US", - "name": "clang", - "rules": [ - { - "defaultConfiguration": { - "enabled": true, - "level": "warning", - "rank": -1 - }, - "fullDescription": { - "text": "Mark tainted symbols as such." - }, - "id": "debug.TaintTest", - "name": "debug.TaintTest" - }, - { - "defaultConfiguration": { - "enabled": true, - "level": "warning", - "rank": -1 - }, - "fullDescription": { - "text": "Check for logical errors for function calls and Objective-C message expressions (e.g., uninitialized arguments, null function pointers)" - }, - "helpUri": "https://clang.llvm.org/docs/analyzer/checkers.html#core-callandmessage", - "id": "core.CallAndMessage", - "name": "core.CallAndMessage" - }, - { - "defaultConfiguration": { - "enabled": true, - "level": "warning", - "rank": -1 - }, - "fullDescription": { - "text": "Check for division by zero" - }, - "helpUri": "https://clang.llvm.org/docs/analyzer/checkers.html#core-dividezero", - "id": "core.DivideZero", - "name": "core.DivideZero" - }, - { - "defaultConfiguration": { - "enabled": true, - "level": "warning", - "rank": -1 - }, - "fullDescription": { - "text": "Check for memory leaks, double free, and use-after-free problems. Traces memory managed by malloc()/free()." - }, - "helpUri": "https://clang.llvm.org/docs/analyzer/checkers.html#unix-malloc", - "id": "unix.Malloc", - "name": "unix.Malloc" - } - ], - } - } - } - ], -} -- Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.taint,debug.TaintTest,unix.Malloc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/sarif-multi-diagnostic-test.c -verify -analyzer-output=sarif -o - 1. parser at end of file 2. While analyzing stack: #0 Calling f at line 39 #1 Calling main 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/sarif-multi-diagnostic-test.c:10:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/sarif-multi-diagnostic-test.c:10:3: Error evaluating statement #0 0x0000ffff9869ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff98699180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9869b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa16537e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa09473b8 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa09473b8 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa09473b8 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa09473b8 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa09473b8 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa09473b8 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 0x0000ffffa09473b8 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa09473b8 (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 0x0000ffffa05767b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffa05767b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffa05767b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #15 0x0000ffffa05767b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #16 0x0000ffffa05767b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #17 0x0000ffffa05d6c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #18 0x0000ffffa05d6c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #19 0x0000ffffa05d6c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #20 0x0000ffffa05d6c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #21 0x0000ffffa05d6c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #22 0x0000ffffa05d6c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #23 0x0000ffffa05d74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #24 0x0000ffffa05b9250 clang::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 0x0000ffffa05b9250 clang::ento::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 0x0000ffffa05ba2b8 clang::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 0x0000ffffa05ba5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa05ba7cc clang::ento::CoreEngine::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 0x0000ffffa05bab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffffa05bab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffffa05bab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffffa05bab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffffa05bab14 clang::ento::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 0x0000ffffa08852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffffa08852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffffa08852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffffa08852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffffa08852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffffa0886278 llvm::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 0x0000ffffa0886278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffffa0886278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffffa088a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffffa088a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffffa088a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffffa088a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffffa088a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffff9ece1b88 __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 0x0000ffff9ece1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffff9ece1b88 void clang::finalize>, 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 0x0000ffff9ece1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffffa03a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffffa035d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffffa035d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffffa035d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffffa03e36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaabe4659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaabe4694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaabe46aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaabe461fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffff978e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffff978e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaabe4620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/macros.cpp (683 of 19719) ******************** TEST 'Clang :: Analysis/diagnostics/macros.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testNestedNullSplitMacro(int, int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.cpp:68:3 : Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.cpp:68:3 : Error evaluating statement #0 0x0000ffffa7daad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa7da9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa7dab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb0d6e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb0060e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb0060e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb0060e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb0060e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb0060e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb0060e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb0060e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb0060e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffafd0e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffafd0e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffafd0e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffafd0e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffafd0eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffafd0eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffafd0eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffafd0eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffafd21aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffafd21aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffafd21aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffafd22ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffafd22ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffafd22ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffafd224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffafd224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffafd224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffafd2eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffafd2eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffafd2eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffafd38484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffafd38484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffafd38484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffafc9c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffafc9c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffafc9c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffafc9c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb018b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb018b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb018b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffafcafd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffafcafd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffafcafd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffafcca05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffafcca05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffafcca05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffafcca05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffafcca05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffafcca2b8 clang::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 0x0000ffffafcca5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffafcca7cc clang::ento::CoreEngine::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 0x0000ffffafccab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffafccab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffafccab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffafccab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffafccab14 clang::ento::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 0x0000ffffaff952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffaff952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffaff952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffaff952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffaff952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffaff96278 llvm::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 0x0000ffffaff96278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffaff96278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffaff9a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffaff9a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffaff9a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffaff9a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffaff9a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffae3f1b88 __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 0x0000ffffae3f1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffae3f1b88 void clang::finalize>, 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 0x0000ffffae3f1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffafab5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffafa6d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffafa6d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffafa6d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffafaf36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad23859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad23894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad238aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad2381fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa6ff098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa6ff0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad23820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/macros.cpp.script: line 1: 36693 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/undef-value-param.m (684 of 19719) ******************** TEST 'Clang :: Analysis/diagnostics/undef-value-param.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/undef-value-param.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/undef-value-param.m -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/undef-value-param.m.tmp.plist : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file #0 0x0000ffff7e0ead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7e0e9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7e0eb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff870a87e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff863a0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff863a0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff863a0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff863a0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff863a0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff863a0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff863a0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff863a0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8604e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8604e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8604e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8604e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8604eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8604eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8604eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8604eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff86061aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff86061aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff86061aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff86062ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff86062ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff86062ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff860624c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff860624c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff860624c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8606eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8606eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8606eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff86078484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff86078484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff86078484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff85fdc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff85fdc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff85fdc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff85fdc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff85fdcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff85fdcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff85fdcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff85fb0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff85fb0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff85fb0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff85fecea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff85fecea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff85fecea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff8600ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8600ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8600ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff862d52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff862d52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff862d52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff862d52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff862d52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff862d6278 llvm::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 0x0000ffff862d6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff862d6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff862da900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff862da900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff862da900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff862da900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff862da900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff84731b88 __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 0x0000ffff84731b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff84731b88 void clang::finalize>, 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 0x0000ffff84731b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff85df5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff85dad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff85dad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff85dad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff85e336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaadb4d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaadb4d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaadb4daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaadb4d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff7d33098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff7d330a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaadb4d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/undef-value-param.m.script: line 3: 36745 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/undef-value-param.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/dispatch-once.m (685 of 19719) ******************** TEST 'Clang :: Analysis/dispatch-once.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dispatch-once.m -analyzer-checker=core -analyzer-checker=osx.API -analyzer-checker=unix.Malloc -analyzer-config display-checker-name=false : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -fblocks -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dispatch-once.m -analyzer-checker=core -analyzer-checker=osx.API -analyzer-checker=unix.Malloc -analyzer-config display-checker-name=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dispatch-once.m -analyzer-checker=core -analyzer-checker=osx.API -analyzer-checker=unix.Malloc -analyzer-config display-checker-name=false 1. parser at end of file 2. While analyzing stack: #0 Calling dispatch_once at line 123 #1 Calling anonymous code 3. Error evaluating statement 4. Error evaluating statement #0 0x0000ffff96c3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff96c39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff96c3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9fbf77e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9eef0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9eef0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9eef0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9eef0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9eef0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9eef0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9eef0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9eef0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9eb9e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9eb9e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9eb9e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9eb9e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9eb9eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9eb9eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9eb9eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9eb9eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9ebb1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9ebb1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9ebb1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9ebb2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9ebb2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9ebb2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9ebb24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9ebb24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9ebb24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9ebbeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9ebbeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9ebbeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9ebc8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9ebc8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9ebc8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9eb2c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9eb2c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9eb2c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9eb2c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9f01b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9f01b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9f01b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9eb3fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9eb3fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9eb3fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff9eb5a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff9eb5a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff9eb5a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff9eb5a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff9eb5a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff9eb5a2b8 clang::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 0x0000ffff9eb5a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9eb5a7cc clang::ento::CoreEngine::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 0x0000ffff9eb5ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9eb5ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9eb5ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9eb5ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9eb5ab14 clang::ento::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 0x0000ffff9ee252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9ee252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9ee252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9ee252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9ee252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9ee26278 llvm::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 0x0000ffff9ee26278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9ee26278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9ee2a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9ee2a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9ee2a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9ee2a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9ee2a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9d281b88 __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 0x0000ffff9d281b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9d281b88 void clang::finalize>, 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 0x0000ffff9d281b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9e945600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9e8fd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9e8fd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9e8fd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9e9836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaaf2559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaaf2594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaaf25aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaaf251fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff95e8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff95e80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaaf2520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dispatch-once.m.script: line 2: 36759 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dispatch-once.m -analyzer-checker=core -analyzer-checker=osx.API -analyzer-checker=unix.Malloc -analyzer-config display-checker-name=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/no-store-func-path-notes.m (686 of 19719) ******************** TEST 'Clang :: Analysis/diagnostics/no-store-func-path-notes.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x objective-c -analyzer-checker=core,nullability -analyzer-output=text -Wno-objc-root-class -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x objective-c -analyzer-checker=core,nullability -analyzer-output=text -Wno-objc-root-class -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.m 1. parser at end of file #0 0x0000ffff876dad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff876d9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff876db408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff906967e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8f990e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8f990e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8f990e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8f990e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8f990e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8f990e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8f990e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8f990e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8f63e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8f63e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8f63e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8f63e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8f63eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8f63eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8f63eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8f63eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8f651aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8f651aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8f651aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8f652ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8f652ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8f652ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8f6524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8f6524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8f6524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8f65eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8f65eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8f65eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8f668484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8f668484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8f668484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8f5cc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8f5cc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8f5cc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8f5cc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8f5ccec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8f5ccec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8f5ccec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8f5a0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8f5a0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8f5a0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8f5dcea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8f5dcea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8f5dcea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff8f5fae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8f5fae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8f5fae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8f8c52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8f8c52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8f8c52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8f8c52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8f8c52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff8f8c6278 llvm::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 0x0000ffff8f8c6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff8f8c6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8f8ca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8f8ca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8f8ca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8f8ca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8f8ca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff8dd21b88 __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 0x0000ffff8dd21b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff8dd21b88 void clang::finalize>, 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 0x0000ffff8dd21b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff8f3e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8f39d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8f39d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8f39d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8f4236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad2cf59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad2cf94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad2cfaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad2cf1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8692098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff86920a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad2cf20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/no-store-func-path-notes.m.script: line 1: 36707 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x objective-c -analyzer-checker=core,nullability -analyzer-output=text -Wno-objc-root-class -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/text-diagnostics.c (687 of 19719) ******************** TEST 'Clang :: Analysis/diagnostics/text-diagnostics.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.NullDereference -analyzer-output=text -fno-caret-diagnostics /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/text-diagnostics.c 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/text-diagnostics.c -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/text-diagnostics.c:7:18: error: CHECK-LABEL: expected string not found in input // CHECK-LABEL: text-diagnostics.c:{{.*}}:6: warning: Dereference of null pointer (loaded from variable 'p') ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/text-diagnostics.c -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. label:7 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: label:7 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.NullDereference -analyzer-output=text -fno-caret-diagnostics /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/text-diagnostics.c label:7 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: 1. parser at end of file label:7 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: label:7 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling testB label:7 ~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/dump_egraph.cpp (706 of 19719) ******************** TEST 'Clang :: Analysis/dump_egraph.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dump_egraph.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dump_egraph.cpp : 'RUN: at line 2'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dump_egraph.cpp.tmp.dot | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dump_egraph.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dump_egraph.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dump_egraph.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling T::T() at line 15 #1 Calling foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dump_egraph.cpp:10:9: Error evaluating statement #0 0x0000ffffaeacad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffaeac9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffaeacb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb7a877e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb69d50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb69d50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb69d50b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb69d50b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb69d50b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb69d50b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb69d50b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb69d50b8 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 0x0000ffffb69ea244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffb69ea244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffb69ea244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffb69ea244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffb69ea244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffb69ea244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffb69ea244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffb69ea244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffb69ea244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffb69ea5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb69ea6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffb69ea98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffb69eab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffb69eab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffb69eab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffb69eab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffb69eab14 clang::ento::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 0x0000ffffb6cb52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffb6cb52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffb6cb52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffb6cb52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffb6cb52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffb6cb6278 llvm::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 0x0000ffffb6cb6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffb6cb6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffb6cba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffb6cba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffb6cba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffb6cba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffb6cba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffb5111b88 __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 0x0000ffffb5111b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffb5111b88 void clang::finalize>, 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 0x0000ffffb5111b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffb67d5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffb678d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffb678d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffb678d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffb68136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaac24559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaac24594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaac245aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaac2451fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffadd1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffadd10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaac24520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dump_egraph.cpp.script: line 2: 36794 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dump_egraph.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dump_egraph.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/division-by-zero-track-zero.cpp (707 of 19719) ******************** TEST 'Clang :: Analysis/division-by-zero-track-zero.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero-track-zero.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero-track-zero.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_tracking_of_assignment::f(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero-track-zero.cpp:91:5: Error evaluating statement #0 0x0000ffff78acad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff78ac9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff78acb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff81a837e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff80a2a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff80a2a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff80a2a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff80a2a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff80a2a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff80a2a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff809d53bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff809d53bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff809d53bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff809ea244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff809ea244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff809ea244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff809ea244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff809ea244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff809ea244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff809ea244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff809ea244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff809ea244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff809ea5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff809ea7cc clang::ento::CoreEngine::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 0x0000ffff809eab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff809eab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff809eab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff809eab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff809eab14 clang::ento::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 0x0000ffff80cb52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff80cb52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff80cb52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff80cb52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff80cb52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff80cb6278 llvm::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 0x0000ffff80cb6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff80cb6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff80cba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff80cba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff80cba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff80cba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff80cba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff7f111b88 __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 0x0000ffff7f111b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff7f111b88 void clang::finalize>, 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 0x0000ffff7f111b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff807d5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff8078d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff8078d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff8078d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff808136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaac8b559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaac8b594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaac8b5aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaac8b51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff77d1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff77d10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaac8b520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/division-by-zero-track-zero.cpp.script: line 1: 36768 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero-track-zero.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/dtor-cxx11.cpp (708 of 19719) ******************** TEST 'Clang :: Analysis/dtor-cxx11.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -Wno-null-dereference -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-cxx11.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -Wno-null-dereference -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-cxx11.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling Cxx11BraceInit::testInitializerList() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-cxx11.cpp:12:21: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-cxx11.cpp:12:21: Error evaluating statement #0 0x0000ffff88d9ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff88d99180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff88d9b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff91d5c7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff90cab9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff90cab9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff90cab9a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff90cab9a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff90cab9a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff90cab9a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff90cab9a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff90cab9a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff90cabd94 llvm::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 0x0000ffff90cabd94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff90cabd94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff90cabd94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff90cabd94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff90cac2ac llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffff90cac2ac llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffff90cac2ac clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:486:0 #20 0x0000ffff90cb3db0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffff90cb3db0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffff90cb3db0 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 0x0000ffff90cb3db0 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 0x0000ffff90cb920c clang::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 0x0000ffff90cb920c clang::ento::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 0x0000ffff90cba2b8 clang::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 0x0000ffff90cba5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff90cba6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #29 0x0000ffff90cba98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #30 0x0000ffff90cbab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #31 0x0000ffff90cbab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #32 0x0000ffff90cbab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #33 0x0000ffff90cbab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #34 0x0000ffff90cbab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #35 0x0000ffff90f852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff90f852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff90f852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #38 0x0000ffff90f852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #39 0x0000ffff90f852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #40 0x0000ffff90f86278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #41 0x0000ffff90f86278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x0000ffff90f86278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #43 0x0000ffff90f8a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffff90f8a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffff90f8a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x0000ffff90f8a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x0000ffff90f8a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x0000ffff8f3e1b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #49 0x0000ffff8f3e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffff8f3e1b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #51 0x0000ffff8f3e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffff90aa5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffff90a5d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffff90a5d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffff90a5d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffff90ae36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #57 0x0000aaaae92c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x0000aaaae92c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x0000aaaae92caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x0000aaaae92c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x0000ffff87fe098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #62 0x0000ffff87fe0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #63 0x0000aaaae92c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dtor-cxx11.cpp.script: line 1: 36782 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -Wno-null-dereference -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-cxx11.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/division-by-zero-track-zero.c (709 of 19719) ******************** TEST 'Clang :: Analysis/division-by-zero-track-zero.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero-track-zero.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero-track-zero.c 1. parser at end of file 2. While analyzing stack: #0 Calling track_mul_lhs_0 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero-track-zero.c:6:3: Error evaluating statement #0 0x0000ffff7aa3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7aa39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7aa3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff839f97e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8299a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8299a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8299a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8299a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff8299a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff8299a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff829453bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff829453bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff829453bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8295a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff8295a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff8295a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff8295a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff8295a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff8295a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff8295a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff8295a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff8295a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff8295a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8295a7cc clang::ento::CoreEngine::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 0x0000ffff8295ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff8295ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff8295ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff8295ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff8295ab14 clang::ento::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 0x0000ffff82c252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff82c252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff82c252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff82c252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff82c252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff82c26278 llvm::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 0x0000ffff82c26278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff82c26278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff82c2a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff82c2a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff82c2a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff82c2a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff82c2a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff81081b88 __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 0x0000ffff81081b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff81081b88 void clang::finalize>, 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 0x0000ffff81081b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff82745600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff826fd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff826fd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff826fd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff827836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaadcc659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaadcc694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaadcc6aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaadcc61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff79c8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff79c80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaadcc620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/division-by-zero-track-zero.c.script: line 1: 36765 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero-track-zero.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/end-function-return-stmt.cpp (710 of 19719) ******************** TEST 'Clang :: Analysis/end-function-return-stmt.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:EndFunction=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/end-function-return-stmt.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/end-function-return-stmt.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/end-function-return-stmt.cpp:24:16: error: CHECK-NEXT: expected string not found in input // CHECK-NEXT: ReturnStmt: yes ^ :3:379: note: scanning from here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:EndFunction=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/end-function-return-stmt.cpp ^ :6:21: note: possible intended match here #0 Calling endsWithReturnStmt() ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/end-function-return-stmt.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. 2: Stack dump: 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:EndFunction=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/end-function-return-stmt.cpp next:24'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 4: 1. parser at end of file next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling endsWithReturnStmt() next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:24'1 ? possible intended match 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/end-function-return-stmt.cpp:19:3: Error evaluating statement next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: #0 0x0000ffff8eedad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #1 0x0000ffff8eed9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #2 0x0000ffff8eedb408 (/usr/lib64/libLLVM-17.so+0x9cb408) next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #3 0x0000ffff97e9a7e0 (linux-vdso.so.1+0x7e0) next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/div-zero.cpp (711 of 19719) ******************** TEST 'Clang :: Analysis/div-zero.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.DivideZero -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/div-zero.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.DivideZero -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/div-zero.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling fooPR10616(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/div-zero.cpp:7:11: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/div-zero.cpp:7:11: Error evaluating statement #0 0x0000ffff82cbad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff82cb9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff82cbb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8bc7c7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8af70e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8af70e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8af70e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8af70e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8af70e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8af70e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8af70e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8af70e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8ac1e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8ac1e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8ac1e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8ac1e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8ac1eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8ac1eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8ac1eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8ac1eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8ac31aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8ac31aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8ac31aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8ac32ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8ac32ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8ac32ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8ac324c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8ac324c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8ac324c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8ac3eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8ac3eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8ac3eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8ac48484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8ac48484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8ac48484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8abac9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8abac9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8abac9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8abac9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8b09b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8b09b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8b09b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8abbfd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8abbfd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8abbfd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8abda05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8abda05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8abda05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8abda05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8abda05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8abda2b8 clang::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 0x0000ffff8abda5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8abda7cc clang::ento::CoreEngine::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 0x0000ffff8abdab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8abdab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8abdab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8abdab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8abdab14 clang::ento::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 0x0000ffff8aea52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8aea52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8aea52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8aea52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8aea52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8aea6278 llvm::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 0x0000ffff8aea6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8aea6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8aeaa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8aeaa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8aeaa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8aeaa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8aeaa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff89301b88 __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 0x0000ffff89301b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff89301b88 void clang::finalize>, 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 0x0000ffff89301b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8a9c5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8a97d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8a97d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8a97d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8aa036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaaf2e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaaf2e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaaf2eaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaaf2e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff81f0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff81f00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaaf2e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/div-zero.cpp.script: line 1: 36762 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.DivideZero -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/div-zero.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/division-by-zero.c (712 of 19719) ******************** TEST 'Clang :: Analysis/division-by-zero.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.Malloc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.Malloc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero.c:5:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero.c:5:7: Error evaluating statement #0 0x0000ffff8752ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff87529180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8752b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff904ed7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8f7e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8f7e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8f7e0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8f7e0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8f7e0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8f7e0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8f7e0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8f7e0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8f48e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8f48e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8f48e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8f48e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8f48e8f4 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8f48e8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8f48e8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8f48e8f4 (anonymous namespace)::RangeConstraintManager::assumeSymLE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3214:0 #20 0x0000ffff8f4a1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8f4a1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8f4a1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8f4a2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8f4a2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8f4a2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8f4a24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8f4a24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8f4a24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8f4aeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8f4aeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8f4aeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8f4b8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8f4b8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8f4b8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8f41c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8f41c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8f41c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8f41c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8f90b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8f90b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8f90b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8f42fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8f42fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8f42fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8f44a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8f44a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8f44a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8f44a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8f44a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8f44a2b8 clang::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 0x0000ffff8f44a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8f44a7cc clang::ento::CoreEngine::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 0x0000ffff8f44ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8f44ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8f44ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8f44ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8f44ab14 clang::ento::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 0x0000ffff8f7152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8f7152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8f7152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8f7152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8f7152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8f716278 llvm::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 0x0000ffff8f716278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8f716278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8f71a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8f71a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8f71a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8f71a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8f71a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8db71b88 __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 0x0000ffff8db71b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8db71b88 void clang::finalize>, 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 0x0000ffff8db71b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8f235600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8f1ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8f1ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8f1ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8f2736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabf9859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabf9894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabf98aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabf981fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8677098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff86770a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabf9820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/division-by-zero.c.script: line 1: 36769 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.Malloc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/dtor-array.cpp (713 of 19719) ******************** TEST 'Clang :: Analysis/dtor-array.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=destructors -verify -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-array.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=destructors -verify -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-array.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=destructors -verify -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-array.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling crash6::top(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-array.cpp:364:17: Error evaluating New Allocator Call #0 0x0000ffffa137ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa1379180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa137b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffaa3337e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa9630e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa9630e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa9630e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa9630e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa9630e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa9630e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa9630e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa9630e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa92de018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa92de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa92de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa92de018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa92deef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa92deef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa92deef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa92deef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa92f1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa92f1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa92f1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa92f2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa92f2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa92f2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa92f24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa92f24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa92f24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa92feb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa92feb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa92feb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa9308484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa9308484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa9308484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa926c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa926c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa926c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa926c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa926cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa926cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa926cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa9296f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffa9296f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffa9296f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffa9296f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffa9296f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffa929735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffa929735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffa929735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffa929735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffa929735c 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 0x0000ffffa929a5dc clang::ento::ExprEngine::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 0x0000ffffa929a6c0 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 0x0000ffffa929a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffa929ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffa929ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffa929ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffa929ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffa929ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffffa95652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffa95652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffa95652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffa95652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffa95652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffa9566278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffffa9566278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffa9566278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffa956a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffa956a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffa956a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffa956a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffa956a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffa79c1b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffffa79c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffa79c1b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffffa79c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffa9085600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffa903d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffa903d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffa903d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffa90c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaab75859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaab75894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaab758aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaab7581fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffffa05c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffffa05c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaab75820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dtor-array.cpp.script: line 2: 36783 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=destructors -verify -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-array.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/engine/replay-without-inlining.c (714 of 19719) ******************** TEST 'Clang :: Analysis/engine/replay-without-inlining.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/engine/replay-without-inlining.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/engine/replay-without-inlining.c 1. parser at end of file 2. While analyzing stack: #0 Calling gb at line 28 #1 Calling getID at line 34 #2 Calling getH at line 43 #3 Calling readILBM at line 56 #4 Calling bitmapImageRepFromIFF 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/engine/replay-without-inlining.c:25:12: Error evaluating statement #0 0x0000ffff7bdcad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7bdc9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7bdcb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff84d8a7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff83d2a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff83d2a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff83d2a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff83d2a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff83d2a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff83d2a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff83cd53bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff83cd53bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff83cd53bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff83cea244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff83cea244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff83cea244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff83cea244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff83cea244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff83cea244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff83cea244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff83cea244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff83cea244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff83cea5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff83cea6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff83cea98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff83ceab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff83ceab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff83ceab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff83ceab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff83ceab14 clang::ento::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 0x0000ffff83fb52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff83fb52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff83fb52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff83fb52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff83fb52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff83fb6278 llvm::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 0x0000ffff83fb6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff83fb6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff83fba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff83fba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff83fba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff83fba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff83fba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff82411b88 __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 0x0000ffff82411b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff82411b88 void clang::finalize>, 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 0x0000ffff82411b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff83ad5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff83a8d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff83a8d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff83a8d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff83b136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaaaaff59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaaaaff94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaaaaffaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaaaaff1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff7b01098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff7b010a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaaaaff20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/engine/Output/replay-without-inlining.c.script: line 1: 36819 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/engine/replay-without-inlining.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/enum-cast-out-of-range.cpp (715 of 19719) ******************** TEST 'Clang :: Analysis/enum-cast-out-of-range.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.cplusplus.EnumCastOutOfRange -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum-cast-out-of-range.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.cplusplus.EnumCastOutOfRange -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum-cast-out-of-range.cpp 1. parser at end of file #0 0x0000ffff774bad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff774b9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff774bb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff804737e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff7f3c9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff7f3c9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff7f3c9f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff7f3c9f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff7f3c9f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff7f3c9f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff7f3c9f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff7f3c9f54 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 0x0000ffff7f3ca878 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 0x0000ffff7f3da954 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 0x0000ffff7f3dab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff7f3dab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff7f3dab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff7f3dab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff7f3dab14 clang::ento::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 0x0000ffff7f6a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff7f6a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff7f6a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff7f6a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff7f6a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff7f6a6278 llvm::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 0x0000ffff7f6a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff7f6a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff7f6aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff7f6aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff7f6aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff7f6aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff7f6aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff7db01b88 __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 0x0000ffff7db01b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff7db01b88 void clang::finalize>, 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 0x0000ffff7db01b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff7f1c5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff7f17d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff7f17d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff7f17d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff7f2036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaabe8a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaabe8a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaabe8aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaabe8a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff7670098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff76700a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaabe8a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/enum-cast-out-of-range.cpp.script: line 1: 36822 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.cplusplus.EnumCastOutOfRange -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum-cast-out-of-range.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/double-ranges-bug.c (716 of 19719) ******************** TEST 'Clang :: Analysis/double-ranges-bug.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/double-ranges-bug.c -analyzer-checker=core -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/double-ranges-bug.c -analyzer-checker=core 1. parser at end of file 2. While analyzing stack: #0 Calling foo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/double-ranges-bug.c:17:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/double-ranges-bug.c:17:7: Error evaluating statement #0 0x0000ffff899dad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff899d9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff899db408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff929937e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff91c90e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff91c90e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff91c90e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff91c90e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff91c90e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff91c90e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff91c90e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff91c90e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9193e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9193e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9193e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9193e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9193eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9193eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9193eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9193eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff91951aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff91951aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff91951aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff91952ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff91952ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff91952ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff919524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff919524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff919524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9195eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9195eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9195eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff91968484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff91968484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff91968484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff918cc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff918cc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff918cc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff918cc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff91dbb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff91dbb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff91dbb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff919ec500 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff919ec500 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff919ec500 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff919ec500 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff918b6c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff918df570 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff918df570 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff918df7ac llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffff918df7ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff918df7ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff918df7ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffff918ef470 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff918ef470 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff918ef470 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffff918f8c34 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffff918f8c34 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffff918f8c34 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffff918fa2b8 clang::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 0x0000ffff918fa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff918fa7cc clang::ento::CoreEngine::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 0x0000ffff918fab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff918fab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff918fab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff918fab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff918fab14 clang::ento::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 0x0000ffff91bc52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff91bc52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff91bc52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff91bc52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff91bc52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff91bc6278 llvm::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 0x0000ffff91bc6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff91bc6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff91bca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff91bca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff91bca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff91bca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff91bca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff90021b88 __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 0x0000ffff90021b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff90021b88 void clang::finalize>, 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 0x0000ffff90021b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff916e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff9169d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff9169d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff9169d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff917236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaab0c459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaab0c494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaab0c4aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaab0c41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff88c2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff88c20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaab0c420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/double-ranges-bug.c.script: line 1: 36777 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/double-ranges-bug.c -analyzer-checker=core -- ******************** Testing: 0 FAIL: Clang :: Analysis/dtor.cpp (717 of 19719) ******************** TEST 'Clang :: Analysis/dtor.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection,cplusplus -analyzer-config c++-inlining=destructors -Wno-null-dereference -Wno-inaccessible-base -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection,cplusplus -analyzer-config c++-inlining=destructors -Wno-null-dereference -Wno-inaccessible-base -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling CustomOperators::operator new(size_t) at line 594 #1 Calling overrideDoubleDelete() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor.cpp:573:12: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor.cpp:573:12: Error evaluating statement #0 0x0000ffff8112ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff81129180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8112b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8a0e37e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff893e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff893e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff893e0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff893e0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff893e0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff893e0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff893e0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff893e0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8908e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8908e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8908e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8908e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8908eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8908eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8908eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8908eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff890a1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff890a1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff890a1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff890a2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff890a2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff890a2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff890a24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff890a24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff890a24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff890aeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff890aeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff890aeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff890b8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff890b8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff890b8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8901c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8901c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8901c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8901c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8950b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8950b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8950b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff891e1ba0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff891e1ba0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff891e1ba0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff891e1ba0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff891e1ba0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff891e1ba0 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #48 0x0000ffff891e1ff0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffff891e1ff0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff891e1ff0 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #51 0x0000ffff891ee4d0 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #52 0x0000ffff891ee4d0 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #53 0x0000ffff890067b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff890067b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff890067b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #56 0x0000ffff890067b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #57 0x0000ffff890067b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #58 0x0000ffff89066c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #59 0x0000ffff89066c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #60 0x0000ffff89066c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #61 0x0000ffff89066c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #62 0x0000ffff89066c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #63 0x0000ffff89066c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #64 0x0000ffff890674f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #65 0x0000ffff89049250 clang::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 0x0000ffff89049250 clang::ento::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 0x0000ffff8904a2b8 clang::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 0x0000ffff8904a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8904a7cc clang::ento::CoreEngine::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 0x0000ffff8904ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x0000ffff8904ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x0000ffff8904ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #73 0x0000ffff8904ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #74 0x0000ffff8904ab14 clang::ento::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 0x0000ffff893152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #76 0x0000ffff893152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #77 0x0000ffff893152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #78 0x0000ffff893152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #79 0x0000ffff893152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #80 0x0000ffff89316278 llvm::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 0x0000ffff89316278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #82 0x0000ffff89316278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #83 0x0000ffff8931a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #84 0x0000ffff8931a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #85 0x0000ffff8931a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #86 0x0000ffff8931a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #87 0x0000ffff8931a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #88 0x0000ffff87771b88 __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 0x0000ffff87771b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #90 0x0000ffff87771b88 void clang::finalize>, 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 0x0000ffff87771b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #92 0x0000ffff88e35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #93 0x0000ffff88ded524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #94 0x0000ffff88ded524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #95 0x0000ffff88ded524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #96 0x0000ffff88e736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #97 0x0000aaaab40e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #98 0x0000aaaab40e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #99 0x0000aaaab40eaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #100 0x0000aaaab40e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #101 0x0000ffff8037098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #102 0x0000ffff80370a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #103 0x0000aaaab40e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dtor.cpp.script: line 1: 36784 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection,cplusplus -analyzer-config c++-inlining=destructors -Wno-null-dereference -Wno-inaccessible-base -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/enum.cpp (718 of 19719) ******************** TEST 'Clang :: Analysis/enum.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum.cpp -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum.cpp:34:11: warning: enumeration value 'T' not handled in switch [-Wswitch] 34 | switch (E) { | ^ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum.cpp:43:11: warning: enumeration value 'T' not handled in switch [-Wswitch] 43 | switch (E) { | ^ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum.cpp:53:11: warning: enumeration value 'T' not handled in switch [-Wswitch] 53 | switch (E) { | ^ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum.cpp:64:11: warning: enumeration value 'T' not handled in switch [-Wswitch] 64 | switch (E) { | ^ PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum.cpp 1. parser at end of file #0 0x0000ffffa5aaad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa5aa9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa5aab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffaea667e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffadd60e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffadd60e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffadd60e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffadd60e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffadd60e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffadd60e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffadd60e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffadd60e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffada0e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffada0e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffada0e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffada0e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffada10038 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffada10038 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffada10038 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffada10038 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffffada22188 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffada22188 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffada22188 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffffada226e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffada226e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffada226e4 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffffad99d018 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffad99d018 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffad99d018 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffffad99d018 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffffad9b34e8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffad9b34e8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffad9b34e8 clang::ento::ProgramState::assumeInclusiveRange(clang::ento::DefinedOrUnknownSVal, llvm::APSInt const&, llvm::APSInt const&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:746:43 #33 0x0000ffffad9b34e8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #34 0x0000ffffad9baebc clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #35 0x0000ffffad9cab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffad9cab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffad9cab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffad9cab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffad9cab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffffadc952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffadc952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffadc952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffadc952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffadc952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffadc96278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffffadc96278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffadc96278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffadc9a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffadc9a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffadc9a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffadc9a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffadc9a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffac0f1b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffffac0f1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffac0f1b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffffac0f1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffad7b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffad76d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffad76d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffad76d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffad7f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaadeff59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaadeff94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaadeffaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaadeff1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffffa4cf098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffffa4cf0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaadeff20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/enum.cpp.script: line 1: 36827 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/edges-new.mm (719 of 19719) ******************** TEST 'Clang :: Analysis/edges-new.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,deadcode.DeadStores,osx.cocoa.RetainCount,unix.Malloc,unix.MismatchedDeallocator -analyzer-output=plist -analyzer-config deadcode.DeadStores:ShowFixIts=true -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/edges-new.mm.tmp -w /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/edges-new.mm : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file #0 0x0000ffff7b69ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7b699180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7b69b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff846587e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff83950e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff83950e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff83950e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff83950e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff83950e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff83950e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff83950e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff83950e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff835fe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff835fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff835fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff835fe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff835feef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff835feef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff835feef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff835feef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff83611aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff83611aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff83611aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff83612ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff83612ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff83612ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff836124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff836124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff836124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8361eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8361eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8361eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff83628484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff83628484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff83628484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8358c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8358c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8358c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8358c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8358cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8358cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8358cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff83560400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff83560400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff83560400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8359ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8359ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8359ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff835bae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff835bae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff835bae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff838852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff838852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff838852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff838852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff838852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff83886278 llvm::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 0x0000ffff83886278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff83886278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8388a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8388a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8388a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8388a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8388a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff81ce1b88 __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 0x0000ffff81ce1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff81ce1b88 void clang::finalize>, 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 0x0000ffff81ce1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff833a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8335d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8335d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8335d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff833e36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaab72759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaab72794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaab727aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaab7271fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff7a8e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff7a8e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaab72720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/edges-new.mm.script: line 2: 36803 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,deadcode.DeadStores,osx.cocoa.RetainCount,unix.Malloc,unix.MismatchedDeallocator -analyzer-output=plist -analyzer-config deadcode.DeadStores:ShowFixIts=true -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/edges-new.mm.tmp -w /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/edges-new.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/dynamic-cast.cpp (720 of 19719) ******************** TEST 'Clang :: Analysis/dynamic-cast.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dynamic-cast.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dynamic-cast.cpp 1. parser at end of file #0 0x0000ffffa51dad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa51d9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa51db408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffae1967e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffad490e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffad490e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffad490e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffad490e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffad490e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffad490e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffad490e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffad490e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffad13e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffad13e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffad13e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffad13e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffad13eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffad13eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffad13eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffad13eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffad151aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffad151aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffad151aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffad152ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffad152ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffad152ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffad1524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffad1524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffad1524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffad15eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffad15eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffad15eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffad168484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffad168484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffad168484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffad0cc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffad0cc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffad0cc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffad0cc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffad0ccec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffad0ccec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffad0ccec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffad0a0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffad0a0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffad0a0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffad0dce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffad0dce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffad0dce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffad0fae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffad0fae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffad0fae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffad3c52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffad3c52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffad3c52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffad3c52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffad3c52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffad3d5b08 VisitFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:319:0 #57 0x0000ffffad3d5b08 WalkUpFromFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:433:0 #58 0x0000ffffad3d5b08 WalkUpFromCXXDeductionGuideDecl /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:437:0 #59 0x0000ffffad3d5b08 clang::RecursiveASTVisitor<(anonymous namespace)::AnalysisConsumer>::TraverseCXXDeductionGuideDecl(clang::CXXDeductionGuideDecl*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/RecursiveASTVisitor.h:2233:0 #60 0x0000ffffad3cacc0 clang::RecursiveASTVisitor<(anonymous namespace)::AnalysisConsumer>::TraverseDeclContextHelper(clang::DeclContext*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/RecursiveASTVisitor.h:1489:0 #61 0x0000ffffad3c8034 TraverseCXXRecordDecl /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/RecursiveASTVisitor.h:2015:0 #62 0x0000ffffad3c8034 clang::RecursiveASTVisitor<(anonymous namespace)::AnalysisConsumer>::TraverseDecl(clang::Decl*) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:295:0 #63 0x0000ffffad3ca824 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:552:0 #64 0x0000ffffad3ca824 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #65 0x0000ffffab821b88 __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 0x0000ffffab821b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #67 0x0000ffffab821b88 void clang::finalize>, 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 0x0000ffffab821b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #69 0x0000ffffacee5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #70 0x0000fffface9d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #71 0x0000fffface9d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #72 0x0000fffface9d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #73 0x0000ffffacf236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #74 0x0000aaaadc1759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #75 0x0000aaaadc1794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #76 0x0000aaaadc17aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #77 0x0000aaaadc171fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #78 0x0000ffffa442098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #79 0x0000ffffa4420a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #80 0x0000aaaadc1720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dynamic-cast.cpp.script: line 1: 36796 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dynamic-cast.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/equality_tracking.c (721 of 19719) ******************** TEST 'Clang :: Analysis/equality_tracking.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/equality_tracking.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/equality_tracking.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false 1. parser at end of file 2. While analyzing stack: #0 Calling deleteAllPoints 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/equality_tracking.c:288:5 : Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/equality_tracking.c:288:5 : Error evaluating statement #0 0x0000ffffa9fead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa9fe9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa9feb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb2fae7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb22a0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb22a0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb22a0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb22a0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb22a0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb22a0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb22a0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb22a0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb1f4e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb1f4e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb1f4e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb1f4e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb1f4eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb1f4eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb1f4eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb1f4eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb1f61aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb1f61aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb1f61aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb1f62ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb1f62ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb1f62ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb1f624c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb1f624c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb1f624c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb1f6eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb1f6eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb1f6eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb1f78484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb1f78484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb1f78484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb1edc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb1edc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb1edc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb1edc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb23cb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb23cb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb23cb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb1ffc500 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb1ffc500 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb1ffc500 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffb1ffc500 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffb1ec6c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffb1eef570 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffb1eef570 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffb1eef7ac llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffffb1eef7ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffb1eef7ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffb1eef7ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffb1eff470 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffb1eff470 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffb1eff470 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffb1f08c34 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffb1f08c34 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffb1f08c34 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffb1f0a2b8 clang::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 0x0000ffffb1f0a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb1f0a7cc clang::ento::CoreEngine::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 0x0000ffffb1f0ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffb1f0ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffb1f0ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffb1f0ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffb1f0ab14 clang::ento::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 0x0000ffffb21d52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffb21d52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffb21d52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffb21d52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffb21d52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffb21d6278 llvm::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 0x0000ffffb21d6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffb21d6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffb21da900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffb21da900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffb21da900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffb21da900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffb21da900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffb0631b88 __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 0x0000ffffb0631b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffb0631b88 void clang::finalize>, 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 0x0000ffffb0631b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffb1cf5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffb1cad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffb1cad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffb1cad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffb1d336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaadd5859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaadd5894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaadd58aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaadd581fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffa923098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffa9230a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaadd5820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/equality_tracking.c.script: line 1: 36831 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/equality_tracking.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/errno-notes.c (726 of 19719) ******************** TEST 'Clang :: Analysis/errno-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-notes.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_VAR : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-notes.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_FUNC -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-notes.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_VAR 1. parser at end of file #0 0x0000ffff7da3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7da39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7da3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff869fe7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff859cfa68 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x0000ffff859cfa68 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 0x0000ffff859cfa68 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x0000ffff859cfa68 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x0000ffff859cfa68 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x0000ffff859cfa68 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x0000ffff859cfa68 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x0000ffff859cfa68 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x0000ffff859cfa68 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x0000ffff859cfa68 (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 0x0000ffff859cff84 asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #15 0x0000ffff859cff84 asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #16 0x0000ffff859cff84 (anonymous namespace)::RegionStoreManager::Bind(void const*, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x0000ffff85989ec8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #18 0x0000ffff85989ec8 clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:120:0 #19 0x0000ffff85a66648 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x0000ffff85a66648 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x0000ffff85a66648 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:240:0 #22 0x0000ffff85a67ffc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #23 0x0000ffff85a67ffc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff85a67ffc checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:0 #25 0x0000ffff85a67ffc void clang::ento::check::BeginFunction::_checkBeginFunction<(anonymous namespace)::ErrnoModeling>(void*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:244:0 #26 0x0000ffff85915618 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffff85915618 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #28 0x0000ffff8595add4 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #29 0x0000ffff8595add4 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #30 0x0000ffff8595add4 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #31 0x0000ffff85c252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x0000ffff85c252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x0000ffff85c252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #34 0x0000ffff85c252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #35 0x0000ffff85c252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #36 0x0000ffff85c26278 llvm::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 0x0000ffff85c26278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x0000ffff85c26278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #39 0x0000ffff85c2a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x0000ffff85c2a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x0000ffff85c2a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x0000ffff85c2a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x0000ffff85c2a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x0000ffff84081b88 __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 0x0000ffff84081b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x0000ffff84081b88 void clang::finalize>, 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 0x0000ffff84081b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x0000ffff85745600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #49 0x0000ffff856fd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #50 0x0000ffff856fd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #51 0x0000ffff856fd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #52 0x0000ffff857836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #53 0x0000aaaad73459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000aaaad73494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000aaaad734aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000aaaad7341fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x0000ffff7cc8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #58 0x0000ffff7cc80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #59 0x0000aaaad73420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/errno-notes.c.script: line 2: 36835 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-notes.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_VAR -- ******************** Testing: 0 FAIL: Clang :: Analysis/errno-stdlibraryfunctions-notes.c (727 of 19719) ******************** TEST 'Clang :: Analysis/errno-stdlibraryfunctions-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-stdlibraryfunctions-notes.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=apiModeling.Errno -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-stdlibraryfunctions-notes.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=apiModeling.Errno -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true 1. parser at end of file #0 0x0000ffff7b59ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7b599180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7b59b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff845547e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8352fa68 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x0000ffff8352fa68 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 0x0000ffff8352fa68 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x0000ffff8352fa68 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x0000ffff8352fa68 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x0000ffff8352fa68 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x0000ffff8352fa68 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x0000ffff8352fa68 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x0000ffff8352fa68 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x0000ffff8352fa68 (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 0x0000ffff8352ff84 asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #15 0x0000ffff8352ff84 asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #16 0x0000ffff8352ff84 (anonymous namespace)::RegionStoreManager::Bind(void const*, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x0000ffff834e9ec8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #18 0x0000ffff834e9ec8 clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:120:0 #19 0x0000ffff835c6648 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x0000ffff835c6648 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x0000ffff835c6648 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:240:0 #22 0x0000ffff835c7ffc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #23 0x0000ffff835c7ffc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff835c7ffc checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:0 #25 0x0000ffff835c7ffc void clang::ento::check::BeginFunction::_checkBeginFunction<(anonymous namespace)::ErrnoModeling>(void*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:244:0 #26 0x0000ffff83475618 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffff83475618 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #28 0x0000ffff834badd4 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #29 0x0000ffff834badd4 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #30 0x0000ffff834badd4 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #31 0x0000ffff837852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x0000ffff837852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x0000ffff837852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #34 0x0000ffff837852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #35 0x0000ffff837852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #36 0x0000ffff83786278 llvm::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 0x0000ffff83786278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x0000ffff83786278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #39 0x0000ffff8378a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x0000ffff8378a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x0000ffff8378a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x0000ffff8378a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x0000ffff8378a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x0000ffff81be1b88 __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 0x0000ffff81be1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x0000ffff81be1b88 void clang::finalize>, 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 0x0000ffff81be1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x0000ffff832a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #49 0x0000ffff8325d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #50 0x0000ffff8325d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #51 0x0000ffff8325d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #52 0x0000ffff832e36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #53 0x0000aaaaaca759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000aaaaaca794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000aaaaaca7aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000aaaaaca71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x0000ffff7a7e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #58 0x0000ffff7a7e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #59 0x0000aaaaaca720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/errno-stdlibraryfunctions-notes.c.script: line 1: 36840 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-stdlibraryfunctions-notes.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=apiModeling.Errno -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/explain-svals.m (728 of 19719) ******************** TEST 'Clang :: Analysis/explain-svals.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -triple i386-apple-darwin10 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.m -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-config display-checker-name=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -triple i386-apple-darwin10 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.m -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-config display-checker-name=false 1. parser at end of file 2. While analyzing stack: #0 Calling test_3 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.m:59:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.m:59:3: Error evaluating statement #0 0x0000ffff87f2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff87f29180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff87f2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff90eea7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff901e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff901e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff901e0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff901e0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff901e0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff901e0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff901e0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff901e0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8fe8e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8fe8e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8fe8e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8fe8e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8fe8eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8fe8eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8fe8eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8fe8eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8fea1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8fea1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8fea1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8fea2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8fea2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8fea2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8fea24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8fea24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8fea24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8feaeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8feaeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8feaeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8feb8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8feb8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8feb8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8fe1c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8fe1c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8fe1c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8fe1c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9030b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9030b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9030b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8fe7eafc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff8fe7eafc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff8fe7eafc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff8fe7eafc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff8fe7eafc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff8fe7eafc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffff8fe48de8 clang::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 0x0000ffff8fe48de8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffff8fe4a2b8 clang::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 0x0000ffff8fe4a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8fe4a7cc clang::ento::CoreEngine::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 0x0000ffff8fe4ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8fe4ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8fe4ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8fe4ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8fe4ab14 clang::ento::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 0x0000ffff901152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff901152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff901152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff901152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff901152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff90116278 llvm::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 0x0000ffff90116278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff90116278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9011a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9011a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9011a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9011a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9011a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8e571b88 __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 0x0000ffff8e571b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8e571b88 void clang::finalize>, 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 0x0000ffff8e571b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8fc35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8fbed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8fbed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8fbed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8fc736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac1b159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac1b194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac1b1aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac1b11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8717098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff87170a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac1b120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/explain-svals.m.script: line 1: 36859 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -triple i386-apple-darwin10 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.m -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-config display-checker-name=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/explain-svals.cpp (729 of 19719) ******************** TEST 'Clang :: Analysis/explain-svals.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.cpp -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-checker=unix.cstring -analyzer-config display-checker-name=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.cpp -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-checker=unix.cstring -analyzer-config display-checker-name=false 1. parser at end of file #0 0x0000ffffa795ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa7959180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa795b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb09107e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffafc10e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffafc10e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffafc10e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffafc10e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffafc10e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffafc10e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffafc10e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffafc10e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaf8be018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaf8be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaf8be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaf8be018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaf8beef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaf8beef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaf8beef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaf8beef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaf8d1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaf8d1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaf8d1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffaf8d2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaf8d2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaf8d2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffaf8d24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaf8d24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaf8d24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaf8deb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaf8deb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaf8deb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaf8e8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaf8e8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaf8e8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaf84c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaf84c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaf84c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaf84c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffaf84cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaf84cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaf84cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffaf820400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffaf820400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffaf820400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffaf85ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffaf85ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffaf85ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffaf87ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffaf87ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffaf87ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffafb452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffafb452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffafb452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffafb452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffafb452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffafb46278 llvm::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 0x0000ffffafb46278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffafb46278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffafb4a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffafb4a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffafb4a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffafb4a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffafb4a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffadfa1b88 __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 0x0000ffffadfa1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffadfa1b88 void clang::finalize>, 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 0x0000ffffadfa1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffaf665600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffaf61d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffaf61d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffaf61d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffaf6a36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac7ff59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac7ff94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac7ffaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac7ff1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa6ba098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa6ba0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac7ff20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/explain-svals.cpp.script: line 1: 36855 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.cpp -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-checker=unix.cstring -analyzer-config display-checker-name=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/errno-stdlibraryfunctions.c (730 of 19719) ******************** TEST 'Clang :: Analysis/errno-stdlibraryfunctions.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-stdlibraryfunctions.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=apiModeling.Errno -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-stdlibraryfunctions.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=apiModeling.Errno -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true 1. parser at end of file #0 0x0000ffffac41ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffac419180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffac41b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb53d57e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb43afa68 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x0000ffffb43afa68 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 0x0000ffffb43afa68 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x0000ffffb43afa68 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x0000ffffb43afa68 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x0000ffffb43afa68 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x0000ffffb43afa68 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x0000ffffb43afa68 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x0000ffffb43afa68 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x0000ffffb43afa68 (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 0x0000ffffb43aff84 asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #15 0x0000ffffb43aff84 asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #16 0x0000ffffb43aff84 (anonymous namespace)::RegionStoreManager::Bind(void const*, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x0000ffffb4369ec8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #18 0x0000ffffb4369ec8 clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:120:0 #19 0x0000ffffb4446648 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x0000ffffb4446648 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x0000ffffb4446648 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:240:0 #22 0x0000ffffb4447ffc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #23 0x0000ffffb4447ffc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffffb4447ffc checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:0 #25 0x0000ffffb4447ffc void clang::ento::check::BeginFunction::_checkBeginFunction<(anonymous namespace)::ErrnoModeling>(void*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:244:0 #26 0x0000ffffb42f5618 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffffb42f5618 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #28 0x0000ffffb433add4 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #29 0x0000ffffb433add4 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #30 0x0000ffffb433add4 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #31 0x0000ffffb46052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x0000ffffb46052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x0000ffffb46052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #34 0x0000ffffb46052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #35 0x0000ffffb46052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #36 0x0000ffffb4606278 llvm::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 0x0000ffffb4606278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x0000ffffb4606278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #39 0x0000ffffb460a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x0000ffffb460a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x0000ffffb460a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x0000ffffb460a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x0000ffffb460a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x0000ffffb2a61b88 __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 0x0000ffffb2a61b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x0000ffffb2a61b88 void clang::finalize>, 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 0x0000ffffb2a61b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x0000ffffb4125600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #49 0x0000ffffb40dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #50 0x0000ffffb40dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #51 0x0000ffffb40dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #52 0x0000ffffb41636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #53 0x0000aaaaaaf159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000aaaaaaf194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000aaaaaaf1aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000aaaaaaf11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x0000ffffab66098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #58 0x0000ffffab660a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #59 0x0000aaaaaaf120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/errno-stdlibraryfunctions.c.script: line 1: 36842 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-stdlibraryfunctions.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=apiModeling.Errno -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/errno.c (731 of 19719) ******************** TEST 'Clang :: Analysis/errno.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_VAR : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_FUNC -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_VAR 1. parser at end of file #0 0x0000ffff9bc0ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9bc09180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9bc0b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa4bcb7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa3b9fa68 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x0000ffffa3b9fa68 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 0x0000ffffa3b9fa68 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x0000ffffa3b9fa68 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x0000ffffa3b9fa68 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x0000ffffa3b9fa68 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x0000ffffa3b9fa68 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x0000ffffa3b9fa68 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x0000ffffa3b9fa68 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x0000ffffa3b9fa68 (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 0x0000ffffa3b9ff84 asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #15 0x0000ffffa3b9ff84 asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #16 0x0000ffffa3b9ff84 (anonymous namespace)::RegionStoreManager::Bind(void const*, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x0000ffffa3b59ec8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #18 0x0000ffffa3b59ec8 clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:120:0 #19 0x0000ffffa3c36648 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x0000ffffa3c36648 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x0000ffffa3c36648 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:240:0 #22 0x0000ffffa3c37ffc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #23 0x0000ffffa3c37ffc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffffa3c37ffc checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:0 #25 0x0000ffffa3c37ffc void clang::ento::check::BeginFunction::_checkBeginFunction<(anonymous namespace)::ErrnoModeling>(void*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:244:0 #26 0x0000ffffa3ae5618 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffffa3ae5618 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #28 0x0000ffffa3b2add4 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #29 0x0000ffffa3b2add4 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #30 0x0000ffffa3b2add4 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #31 0x0000ffffa3df52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x0000ffffa3df52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x0000ffffa3df52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #34 0x0000ffffa3df52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #35 0x0000ffffa3df52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #36 0x0000ffffa3df6278 llvm::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 0x0000ffffa3df6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x0000ffffa3df6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #39 0x0000ffffa3dfa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x0000ffffa3dfa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x0000ffffa3dfa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x0000ffffa3dfa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x0000ffffa3dfa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x0000ffffa2251b88 __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 0x0000ffffa2251b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x0000ffffa2251b88 void clang::finalize>, 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 0x0000ffffa2251b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x0000ffffa3915600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #49 0x0000ffffa38cd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #50 0x0000ffffa38cd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #51 0x0000ffffa38cd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #52 0x0000ffffa39536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #53 0x0000aaaac22659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000aaaac22694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000aaaac226aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000aaaac2261fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x0000ffff9ae5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #58 0x0000ffff9ae50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #59 0x0000aaaac22620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/errno.c.script: line 2: 36846 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_VAR -- ******************** Testing: 0 FAIL: Clang :: Analysis/exercise-ps.c (732 of 19719) ******************** TEST 'Clang :: Analysis/exercise-ps.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exercise-ps.c -verify -Wno-error=implicit-function-declaration -analyzer-checker=core -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exercise-ps.c -verify -Wno-error=implicit-function-declaration -analyzer-checker=core -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true 1. parser at end of file 2. While analyzing stack: #0 Calling f1 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exercise-ps.c:9:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exercise-ps.c:9:10: Error evaluating statement #0 0x0000ffff7ad7ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7ad79180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7ad7b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff83d3b7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff83030e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff83030e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff83030e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff83030e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff83030e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff83030e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff83030e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff83030e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff82cde018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff82cde018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff82cde018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff82cde018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff82cdeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff82cdeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff82cdeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff82cdeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff82cf1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff82cf1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff82cf1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff82cf2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff82cf2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff82cf2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff82cf24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff82cf24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff82cf24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff82cfeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff82cfeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff82cfeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff82d08484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff82d08484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff82d08484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff82c6c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff82c6c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff82c6c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff82c6c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8315b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8315b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8315b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff82d8c500 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff82d8c500 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff82d8c500 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff82d8c500 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff82c56c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff82c7f570 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff82c7f570 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff82c7f7ac llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffff82c7f7ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff82c7f7ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff82c7f7ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffff82c8f470 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff82c8f470 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff82c8f470 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffff82c98c34 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffff82c98c34 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffff82c98c34 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffff82c9a2b8 clang::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 0x0000ffff82c9a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff82c9a7cc clang::ento::CoreEngine::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 0x0000ffff82c9ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff82c9ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff82c9ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff82c9ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff82c9ab14 clang::ento::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 0x0000ffff82f652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff82f652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff82f652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff82f652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff82f652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff82f66278 llvm::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 0x0000ffff82f66278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff82f66278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff82f6a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff82f6a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff82f6a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff82f6a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff82f6a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff813c1b88 __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 0x0000ffff813c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff813c1b88 void clang::finalize>, 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 0x0000ffff813c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff82a85600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff82a3d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff82a3d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff82a3d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff82ac36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaaba4d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaaba4d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaaba4daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaaba4d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff79fc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff79fc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaaba4d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/exercise-ps.c.script: line 1: 36853 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exercise-ps.c -verify -Wno-error=implicit-function-declaration -analyzer-checker=core -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/exceptions.mm (733 of 19719) ******************** TEST 'Clang :: Analysis/exceptions.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fexceptions -fobjc-exceptions -fcxx-exceptions -analyzer-checker=core,unix.Malloc,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exceptions.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fexceptions -fobjc-exceptions -fcxx-exceptions -analyzer-checker=core,unix.Malloc,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exceptions.mm 1. parser at end of file 2. While analyzing stack: #0 Calling testCXX() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exceptions.mm:34:15: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exceptions.mm:34:15: Error evaluating statement #0 0x0000ffff88a4ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff88a49180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff88a4b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff91a017e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff90ce76d0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff90ce76d0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff90ce76d0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff90ce76d0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff90ce76d0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff90ce76d0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff90ce76d0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff90ce76d0 (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 0x0000ffff90af5990 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff90af5990 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff90af5990 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 0x0000ffff909095a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff909095a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff909095a8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff909095a8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff909cebf4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff909cebf4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff909cebf4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff909cebf4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff909d8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff909d8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff909d8484 clang::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 0x0000ffff9093cae8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9093cae8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9093cae8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff9093cae8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff90e2b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff90e2b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff90e2b004 clang::ento::ProgramState::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 0x0000ffff90b01ba0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff90b01ba0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff90b01ba0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff90b01ba0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff90b01ba0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff90b01ba0 (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 0x0000ffff90b01ff0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff90b01ff0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff90b01ff0 (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 0x0000ffff90b0e4d0 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff90b0e4d0 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 0x0000ffff909267b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff909267b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff909267b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff909267b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff909267b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff90986c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff90986c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff90986c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff90986c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff90986c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff90986c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff909874f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff90969250 clang::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 0x0000ffff90969250 clang::ento::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 0x0000ffff9096a2b8 clang::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 0x0000ffff9096a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9096a7cc clang::ento::CoreEngine::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 0x0000ffff9096ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff9096ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff9096ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff9096ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff9096ab14 clang::ento::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 0x0000ffff90c352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff90c352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff90c352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff90c352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff90c352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff90c36278 llvm::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 0x0000ffff90c36278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff90c36278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff90c3a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff90c3a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff90c3a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff90c3a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff90c3a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff8f091b88 __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 0x0000ffff8f091b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff8f091b88 void clang::finalize>, 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 0x0000ffff8f091b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff90755600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff9070d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff9070d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff9070d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff907936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaad5b359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaad5b394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaad5b3aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaad5b31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff87c9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff87c90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaad5b320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/exceptions.mm.script: line 1: 36848 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fexceptions -fobjc-exceptions -fcxx-exceptions -analyzer-checker=core,unix.Malloc,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exceptions.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/eval-predefined-exprs.cpp (734 of 19719) ******************** TEST 'Clang :: Analysis/eval-predefined-exprs.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/eval-predefined-exprs.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,debug.ExprInspection -verify -triple i386-pc-win32 -fms-compatibility -fms-extensions -DANALYZER_MS /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/eval-predefined-exprs.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/eval-predefined-exprs.cpp 1. parser at end of file #0 0x0000ffff8682ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff86829180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8682b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8f7ea7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8eae0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8eae0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8eae0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8eae0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8eae0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8eae0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8eae0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8eae0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8e78e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8e78e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8e78e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8e78e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8e78eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8e78eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8e78eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8e78eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8e7a1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8e7a1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8e7a1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8e7a2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8e7a2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8e7a2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8e7a24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8e7a24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8e7a24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8e7aeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8e7aeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8e7aeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8e7b8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8e7b8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8e7b8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8e71c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8e71c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8e71c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8e71c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8e71cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8e71cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8e71cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8e6f0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8e6f0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8e6f0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8e72ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8e72ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8e72ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff8e74ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8e74ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8e74ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8ea152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8ea152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8ea152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8ea152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8ea152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff8ea16278 llvm::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 0x0000ffff8ea16278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff8ea16278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8ea1a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8ea1a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8ea1a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8ea1a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8ea1a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff8ce71b88 __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 0x0000ffff8ce71b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff8ce71b88 void clang::finalize>, 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 0x0000ffff8ce71b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff8e535600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8e4ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8e4ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8e4ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8e5736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad28959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad28994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad289aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad2891fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff85a7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff85a70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad28920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/eval-predefined-exprs.cpp.script: line 2: 36845 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/eval-predefined-exprs.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/exploded-graph-rewriter/dynamic_types.cpp (735 of 19719) ******************** TEST 'Clang :: Analysis/exploded-graph-rewriter/dynamic_types.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -triple x86_64-unknown-linux-gnu -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/dynamic_types.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/dynamic_types.cpp : 'RUN: at line 5'; '/usr/bin/python3.11' /builddir/build/BUILD/clang-17.0.6.src/utils/analyzer/exploded-graph-rewriter.py --dump-dot-only /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/dynamic_types.cpp.tmp.dot | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/dynamic_types.cpp -- Exit Code: -11 Command Output (stdout): -- $ ":" "RUN: at line 2" $ "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang" "-cc1" "-internal-isystem" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include" "-nostdsysteminc" "-analyze" "-triple" "x86_64-unknown-linux-gnu" "-analyzer-checker=core" "-analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/dynamic_types.cpp.tmp.dot" "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/dynamic_types.cpp" # command stderr: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -triple x86_64-unknown-linux-gnu -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/dynamic_types.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/dynamic_types.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/dynamic_types.cpp:16:3: Error evaluating New Allocator Call #0 0x0000ffffb2e4ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb2e49180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb2e4b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbbe0b7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbb100e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbb100e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbb100e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbb100e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbb100e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbb100e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbb100e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbb100e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbadae018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbadae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbadae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbadae018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbadaeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbadaeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbadaeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbadaeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbadc1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbadc1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbadc1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbadc2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbadc2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbadc2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbadc24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbadc24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbadc24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbadceb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbadceb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbadceb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbadd8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbadd8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbadd8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbad3c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbad3c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbad3c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbad3c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbad3cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbad3cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbad3cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffbad66f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffbad66f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffbad66f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffbad66f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffbad66f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffbad6735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffbad6735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffbad6735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffbad6735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffbad6735c 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 0x0000ffffbad6a5dc clang::ento::ExprEngine::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 0x0000ffffbad6a6c0 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 0x0000ffffbad6a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffbad6ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffbad6ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffbad6ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffbad6ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffbad6ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffffbb0352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffbb0352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffbb0352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffbb0352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffbb0352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffbb036278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffffbb036278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffbb036278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffbb03a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffbb03a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffbb03a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffbb03a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffbb03a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffb9491b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffffb9491b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffb9491b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffffb9491b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffbab55600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffbab0d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffbab0d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffbab0d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffbab936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaab21659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaab21694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaab216aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaab2161fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffffb209098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffffb2090a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaab21620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) error: command failed with exit status: -11 -- ******************** Testing: 0 FAIL: Clang :: Analysis/exploded-graph-rewriter/objects_under_construction.cpp (736 of 19719) ******************** TEST 'Clang :: Analysis/exploded-graph-rewriter/objects_under_construction.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -analyze -triple x86_64-unknown-linux-gnu -analyze-function "test()" -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/objects_under_construction.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/objects_under_construction.cpp : 'RUN: at line 6'; '/usr/bin/python3.11' /builddir/build/BUILD/clang-17.0.6.src/utils/analyzer/exploded-graph-rewriter.py --dump-dot-only /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/objects_under_construction.cpp.tmp.dot | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/objects_under_construction.cpp -- Exit Code: -11 Command Output (stdout): -- $ ":" "RUN: at line 2" $ "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang" "-cc1" "-internal-isystem" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include" "-nostdsysteminc" "-std=c++14" "-analyze" "-triple" "x86_64-unknown-linux-gnu" "-analyze-function" "test()" "-analyzer-checker=core" "-analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/objects_under_construction.cpp.tmp.dot" "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/objects_under_construction.cpp" # command stderr: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -analyze -triple x86_64-unknown-linux-gnu -analyze-function test() -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/objects_under_construction.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/objects_under_construction.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/objects_under_construction.cpp:44:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/objects_under_construction.cpp:44:9: Error evaluating statement #0 0x0000ffff9b4cad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9b4c9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9b4cb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa44817e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa33db9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffa33db9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa33db9a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa33db9a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa33db9a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa33db9a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa33db9a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa33db9a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffffa33dbd94 llvm::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 0x0000ffffa33dbd94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffa33dbd94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffa33dbd94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffffa33dbd94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffffa33dc474 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffffa33dc474 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffffa33dc474 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:0 #20 0x0000ffffa33e3db0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffffa33e3db0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffffa33e3db0 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 0x0000ffffa33e3db0 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 0x0000ffffa33e920c clang::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 0x0000ffffa33e920c clang::ento::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 0x0000ffffa33ea2b8 clang::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 0x0000ffffa33ea5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa33ea6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #29 0x0000ffffa33ea98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #30 0x0000ffffa33eab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #31 0x0000ffffa33eab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #32 0x0000ffffa33eab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #33 0x0000ffffa33eab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #34 0x0000ffffa33eab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #35 0x0000ffffa36b52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa36b52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa36b52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #38 0x0000ffffa36b52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #39 0x0000ffffa36b52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #40 0x0000ffffa36b6278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #41 0x0000ffffa36b6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x0000ffffa36b6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #43 0x0000ffffa36ba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffffa36ba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffffa36ba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x0000ffffa36ba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x0000ffffa36ba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x0000ffffa1b11b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #49 0x0000ffffa1b11b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffffa1b11b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #51 0x0000ffffa1b11b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffffa31d5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffffa318d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffffa318d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffffa318d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffffa32136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #57 0x0000aaaadcd959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x0000aaaadcd994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x0000aaaadcd9aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x0000aaaadcd91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x0000ffff9a71098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #62 0x0000ffff9a710a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #63 0x0000aaaadcd920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) error: command failed with exit status: -11 -- ******************** Testing: 0 FAIL: Clang :: Analysis/exploded-graph-rewriter/initializers_under_construction.cpp (737 of 19719) ******************** TEST 'Clang :: Analysis/exploded-graph-rewriter/initializers_under_construction.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -triple x86_64-unknown-linux-gnu -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/initializers_under_construction.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/initializers_under_construction.cpp : 'RUN: at line 5'; '/usr/bin/python3.11' /builddir/build/BUILD/clang-17.0.6.src/utils/analyzer/exploded-graph-rewriter.py --dump-dot-only /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/initializers_under_construction.cpp.tmp.dot | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/initializers_under_construction.cpp -- Exit Code: -11 Command Output (stdout): -- $ ":" "RUN: at line 2" $ "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang" "-cc1" "-internal-isystem" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include" "-nostdsysteminc" "-analyze" "-triple" "x86_64-unknown-linux-gnu" "-analyzer-checker=core" "-analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/initializers_under_construction.cpp.tmp.dot" "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/initializers_under_construction.cpp" # command stderr: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -triple x86_64-unknown-linux-gnu -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/initializers_under_construction.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/initializers_under_construction.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling B::B() at line 20 #1 Calling test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/initializers_under_construction.cpp:13:9: Error evaluating statement #0 0x0000ffffa775ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa7759180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa775b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb07197e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffaf6650b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffaf6650b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffaf6650b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffaf6650b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffaf6650b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffaf6650b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffaf6650b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffaf6650b8 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 0x0000ffffaf67a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffaf67a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffaf67a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffaf67a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffaf67a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffaf67a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffaf67a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffaf67a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffaf67a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffaf67a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffaf67a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffaf67a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffaf67ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffaf67ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffaf67ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffaf67ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffaf67ab14 clang::ento::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 0x0000ffffaf9452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffaf9452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffaf9452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffaf9452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffaf9452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffaf946278 llvm::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 0x0000ffffaf946278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffaf946278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffaf94a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffaf94a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffaf94a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffaf94a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffaf94a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffadda1b88 __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 0x0000ffffadda1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffadda1b88 void clang::finalize>, 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 0x0000ffffadda1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffaf465600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffaf41d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffaf41d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffaf41d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffaf4a36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaab01b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaab01b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaab01baac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaab01b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffa69a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffa69a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaab01b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) error: command failed with exit status: -11 -- ******************** Testing: 0 FAIL: Clang :: Analysis/errno-options.c (738 of 19719) ******************** TEST 'Clang :: Analysis/errno-options.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-options.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.Errno:AllowErrnoReadOutsideConditionExpressions=false -DERRNO_VAR : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-options.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.Errno:AllowErrnoReadOutsideConditionExpressions=false -DERRNO_FUNC -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-options.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.Errno:AllowErrnoReadOutsideConditionExpressions=false -DERRNO_VAR 1. parser at end of file #0 0x0000ffff7fe6ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7fe69180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7fe6b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff88e247e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff87dffa68 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x0000ffff87dffa68 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 0x0000ffff87dffa68 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x0000ffff87dffa68 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x0000ffff87dffa68 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x0000ffff87dffa68 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x0000ffff87dffa68 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x0000ffff87dffa68 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x0000ffff87dffa68 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x0000ffff87dffa68 (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 0x0000ffff87dfff84 asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #15 0x0000ffff87dfff84 asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #16 0x0000ffff87dfff84 (anonymous namespace)::RegionStoreManager::Bind(void const*, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x0000ffff87db9ec8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #18 0x0000ffff87db9ec8 clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:120:0 #19 0x0000ffff87e96648 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x0000ffff87e96648 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x0000ffff87e96648 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:240:0 #22 0x0000ffff87e97ffc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #23 0x0000ffff87e97ffc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff87e97ffc checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:0 #25 0x0000ffff87e97ffc void clang::ento::check::BeginFunction::_checkBeginFunction<(anonymous namespace)::ErrnoModeling>(void*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:244:0 #26 0x0000ffff87d45618 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffff87d45618 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #28 0x0000ffff87d8add4 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #29 0x0000ffff87d8add4 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #30 0x0000ffff87d8add4 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #31 0x0000ffff880552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x0000ffff880552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x0000ffff880552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #34 0x0000ffff880552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #35 0x0000ffff880552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #36 0x0000ffff88056278 llvm::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 0x0000ffff88056278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x0000ffff88056278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #39 0x0000ffff8805a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x0000ffff8805a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x0000ffff8805a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x0000ffff8805a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x0000ffff8805a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x0000ffff864b1b88 __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 0x0000ffff864b1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x0000ffff864b1b88 void clang::finalize>, 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 0x0000ffff864b1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x0000ffff87b75600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #49 0x0000ffff87b2d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #50 0x0000ffff87b2d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #51 0x0000ffff87b2d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #52 0x0000ffff87bb36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #53 0x0000aaaae52959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000aaaae52994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000aaaae529aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000aaaae5291fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x0000ffff7f0b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #58 0x0000ffff7f0b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #59 0x0000aaaae52920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/errno-options.c.script: line 2: 36839 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-options.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.Errno:AllowErrnoReadOutsideConditionExpressions=false -DERRNO_VAR -- ******************** Testing: 0 FAIL: Clang :: Analysis/explain-svals.c (739 of 19719) ******************** TEST 'Clang :: Analysis/explain-svals.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.c -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-checker=unix.cstring -analyzer-config display-checker-name=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.c -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-checker=unix.cstring -analyzer-config display-checker-name=false 1. parser at end of file 2. While analyzing stack: #0 Calling test_1 #0 0x0000ffffb602ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb6029180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb602b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbefe97e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbdf8a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbdf8a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbdf8a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbdf8a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffbdf8a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffbdf8a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffbdf353bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffbdf353bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffbdf353bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffbdf60e2c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #14 0x0000ffffbdf60e2c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #15 0x0000ffffbdf3a3e8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #16 0x0000ffffbdf3a3e8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #17 0x0000ffffbdf3a3e8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #18 0x0000ffffbdf3a3e8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #19 0x0000ffffbdf3a878 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #20 0x0000ffffbdf4a954 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #21 0x0000ffffbdf4ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffffbdf4ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffffbdf4ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffffbdf4ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffffbdf4ab14 clang::ento::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 0x0000ffffbe2152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbe2152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbe2152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffffbe2152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffffbe2152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffffbe216278 llvm::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 0x0000ffffbe216278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffffbe216278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffffbe21a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffffbe21a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffffbe21a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffffbe21a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffffbe21a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffffbc671b88 __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 0x0000ffffbc671b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffffbc671b88 void clang::finalize>, 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 0x0000ffffbc671b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffffbdd35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffffbdced524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffffbdced524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffffbdced524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffffbdd736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaac84959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaac84994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaac849aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaac8491fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffffb527098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffffb5270a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaac84920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/explain-svals.c.script: line 1: 36856 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.c -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-checker=unix.cstring -analyzer-config display-checker-name=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/free.cpp (745 of 19719) ******************** TEST 'Clang :: Analysis/free.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.cpp -analyzer-checker=core -analyzer-checker=unix.Malloc : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.cpp -analyzer-checker=core -analyzer-checker=unix.Malloc -analyzer-config unix.DynamicMemoryModeling:Optimistic=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.cpp -analyzer-checker=core -analyzer-checker=unix.Malloc 1. parser at end of file 2. While analyzing stack: #0 Calling t18_reinterpret_reinterpret_std_free(S) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.cpp:245:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.cpp:245:3: Error evaluating statement #0 0x0000ffff8ea4ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8ea49180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8ea4b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff97a047e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff96d00e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff96d00e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff96d00e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff96d00e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff96d00e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff96d00e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff96d00e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff96d00e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff969ae018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff969ae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff969ae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff969ae018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff969aeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff969aeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff969aeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff969aeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff969c1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff969c1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff969c1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff969c2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff969c2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff969c2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff969c24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff969c24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff969c24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff969ceb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff969ceb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff969ceb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff969d8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff969d8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff969d8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9693c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9693c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9693c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9693c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff96e2b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff96e2b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff96e2b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff96b06344 (anonymous namespace)::MallocChecker::FreeMemAux(clang::ento::CheckerContext&, clang::Expr const*, clang::ento::CallEvent const&, llvm::IntrusiveRefCntPtr, bool, bool&, (anonymous namespace)::AllocationFamily, bool) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1909:0 #43 0x0000ffff96ce2570 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x0000ffff96ce2570 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff96ce2570 (anonymous namespace)::MallocChecker::FreeMemAux(clang::ento::CheckerContext&, clang::ento::CallEvent const&, llvm::IntrusiveRefCntPtr, unsigned int, bool, bool&, (anonymous namespace)::AllocationFamily, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1808:0 #46 0x0000ffff96b014ac llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #47 0x0000ffff96b014ac llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #48 0x0000ffff96b014ac (anonymous namespace)::MallocChecker::checkFree(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1293:0 #49 0x0000ffff96b0e404 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x0000ffff96b0e404 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x0000ffff96b0e404 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1489:0 #52 0x0000ffff96b0e404 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #53 0x0000ffff969267b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff969267b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff969267b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #56 0x0000ffff969267b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #57 0x0000ffff969267b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #58 0x0000ffff96986c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #59 0x0000ffff96986c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #60 0x0000ffff96986c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #61 0x0000ffff96986c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #62 0x0000ffff96986c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #63 0x0000ffff96986c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #64 0x0000ffff969874f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #65 0x0000ffff96969250 clang::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 0x0000ffff96969250 clang::ento::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 0x0000ffff9696a2b8 clang::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 0x0000ffff9696a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9696a7cc clang::ento::CoreEngine::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 0x0000ffff9696ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x0000ffff9696ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x0000ffff9696ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #73 0x0000ffff9696ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #74 0x0000ffff9696ab14 clang::ento::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 0x0000ffff96c352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #76 0x0000ffff96c352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #77 0x0000ffff96c352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #78 0x0000ffff96c352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #79 0x0000ffff96c352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #80 0x0000ffff96c36278 llvm::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 0x0000ffff96c36278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #82 0x0000ffff96c36278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #83 0x0000ffff96c3a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #84 0x0000ffff96c3a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #85 0x0000ffff96c3a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #86 0x0000ffff96c3a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #87 0x0000ffff96c3a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #88 0x0000ffff95091b88 __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 0x0000ffff95091b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #90 0x0000ffff95091b88 void clang::finalize>, 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 0x0000ffff95091b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #92 0x0000ffff96755600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #93 0x0000ffff9670d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #94 0x0000ffff9670d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #95 0x0000ffff9670d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #96 0x0000ffff967936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #97 0x0000aaaae6c759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #98 0x0000aaaae6c794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #99 0x0000aaaae6c7aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #100 0x0000aaaae6c71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #101 0x0000ffff8dc9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #102 0x0000ffff8dc90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #103 0x0000aaaae6c720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/free.cpp.script: line 2: 36966 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.cpp -analyzer-checker=core -analyzer-checker=unix.Malloc -- ******************** Testing: 0 FAIL: Clang :: Analysis/fuchsia_lock.c (746 of 19719) ******************** TEST 'Clang :: Analysis/fuchsia_lock.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.fuchsia.Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.fuchsia.Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock.c 1. parser at end of file 2. While analyzing stack: #0 Calling good12 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock.c:102:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock.c:102:7: Error evaluating statement #0 0x0000ffffadedad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffaded9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffadedb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb6e997e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb6190e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb6190e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb6190e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb6190e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb6190e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb6190e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb6190e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb6190e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb5e3e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb5e3e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb5e3e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb5e3e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb5e3eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb5e3eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb5e3eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb5e3eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb5e52c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb5e52c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb5e52c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffb5e52f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb5e52f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb5e52f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffb5e524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb5e524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb5e524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb5e5eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb5e5eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb5e5eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb5e68484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb5e68484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb5e68484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb5dcc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb5dcc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb5dcc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb5dcc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb62bb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb62bb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb62bb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb5fe1998 (anonymous namespace)::PthreadLockChecker::AcquireLockAux(clang::ento::CallEvent const&, clang::ento::CheckerContext&, clang::Expr const*, clang::ento::SVal, bool, (anonymous namespace)::PthreadLockChecker::LockingSemantics, (anonymous namespace)::PthreadLockChecker::CheckerKind) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp:433:0 #43 0x0000ffffb5fe1cf0 (anonymous namespace)::PthreadLockChecker::TryPthreadLock(clang::ento::CallEvent const&, clang::ento::CheckerContext&, (anonymous namespace)::PthreadLockChecker::CheckerKind) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp:375:0 #44 0x0000ffffb5db67b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffb5db67b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffb5db67b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffb5db67b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffb5db67b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffb5e16c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffb5e16c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffb5e16c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffb5e16c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffb5e16c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffb5e16c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffb5e174f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffb5df9250 clang::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 0x0000ffffb5df9250 clang::ento::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 0x0000ffffb5dfa2b8 clang::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 0x0000ffffb5dfa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb5dfa7cc clang::ento::CoreEngine::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 0x0000ffffb5dfab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffb5dfab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffb5dfab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffb5dfab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffb5dfab14 clang::ento::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 0x0000ffffb60c52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffb60c52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffb60c52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffb60c52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffb60c52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffb60c6278 llvm::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 0x0000ffffb60c6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffb60c6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffb60ca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffb60ca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffb60ca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffb60ca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffb60ca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffb4521b88 __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 0x0000ffffb4521b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffb4521b88 void clang::finalize>, 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 0x0000ffffb4521b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffb5be5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffb5b9d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffb5b9d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffb5b9d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffb5c236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaacda059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaacda094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaacda0aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaacda01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffffad12098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffffad120a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaacda020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/fuchsia_lock.c.script: line 1: 36973 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.fuchsia.Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/exploration_order/noexprcrash.c (748 of 19719) ******************** TEST 'Clang :: Analysis/exploration_order/noexprcrash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config exploration_strategy=unexplored_first /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/noexprcrash.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config exploration_strategy=dfs /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/noexprcrash.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config exploration_strategy=unexplored_first /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/noexprcrash.c 1. parser at end of file 2. While analyzing stack: #0 Calling c 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/noexprcrash.c:8:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/noexprcrash.c:8:14: Error evaluating statement #0 0x0000ffff8841ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff88419180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8841b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff913d47e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff906d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff906d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff906d0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff906d0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff906d0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff906d0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff906d0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff906d0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9037e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9037e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9037e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9037e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9037eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9037eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9037eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9037eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff90391aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff90391aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff90391aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff90392ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff90392ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff90392ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff903924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff903924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff903924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9039eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9039eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9039eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff903a8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff903a8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff903a8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9030c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9030c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9030c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9030c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff907fb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff907fb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff907fb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9042c500 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9042c500 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9042c500 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff9042c500 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff902f6c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff9031f570 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff9031f570 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff9031f7ac llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffff9031f7ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff9031f7ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff9031f7ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffff9032f470 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff9032f470 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff9032f470 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffff90338c34 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffff90338c34 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffff90338c34 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffff9033a2b8 clang::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 0x0000ffff9033a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9033a7cc clang::ento::CoreEngine::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 0x0000ffff9033ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff9033ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff9033ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff9033ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff9033ab14 clang::ento::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 0x0000ffff906052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff906052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff906052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff906052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff906052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff90606278 llvm::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 0x0000ffff90606278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff90606278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff9060a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff9060a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff9060a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff9060a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff9060a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff8ea61b88 __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 0x0000ffff8ea61b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff8ea61b88 void clang::finalize>, 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 0x0000ffff8ea61b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff90125600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff900dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff900dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff900dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff901636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaac38059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaac38094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaac380aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaac3801fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff8766098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff87660a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaac38020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploration_order/Output/noexprcrash.c.script: line 2: 36927 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config exploration_strategy=unexplored_first /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/noexprcrash.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/flexible-array-member.cpp (749 of 19719) ******************** TEST 'Clang :: Analysis/flexible-array-member.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-member.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-member.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-member.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling operator new(std::size_t, void *) at line 38 #1 Calling flexibleArrayMember() #0 0x0000ffff9b72ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9b729180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9b72b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa46e07e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa36350b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa36350b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa36350b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa36350b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa36350b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa36350b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa36350b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa36350b8 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 0x0000ffffa367d19c clang::ento::ExprEngine::processCallExit(clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:372:0 #13 0x0000ffffa364ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #14 0x0000ffffa364ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #15 0x0000ffffa364ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #16 0x0000ffffa364ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #17 0x0000ffffa364ab14 clang::ento::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 0x0000ffffa39152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #19 0x0000ffffa39152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #20 0x0000ffffa39152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #21 0x0000ffffa39152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #22 0x0000ffffa39152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #23 0x0000ffffa3916278 llvm::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 0x0000ffffa3916278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x0000ffffa3916278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #26 0x0000ffffa391a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x0000ffffa391a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x0000ffffa391a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x0000ffffa391a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x0000ffffa391a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x0000ffffa1d71b88 __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 0x0000ffffa1d71b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x0000ffffa1d71b88 void clang::finalize>, 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 0x0000ffffa1d71b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x0000ffffa3435600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #36 0x0000ffffa33ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #37 0x0000ffffa33ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #38 0x0000ffffa33ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #39 0x0000ffffa34736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #40 0x0000aaaaad4a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x0000aaaaad4a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x0000aaaaad4aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000aaaaad4a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x0000ffff9a97098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #45 0x0000ffff9a970a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #46 0x0000aaaaad4a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/flexible-array-member.cpp.script: line 2: 36954 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-member.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/expr-inspection.cpp (750 of 19719) ******************** TEST 'Clang :: Analysis/expr-inspection.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -analyzer-checker=debug.ExprInspection -analyzer-config support-symbolic-integer-casts=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -analyzer-checker=debug.ExprInspection -analyzer-config support-symbolic-integer-casts=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -analyzer-checker=debug.ExprInspection -analyzer-config support-symbolic-integer-casts=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo(int, unsigned int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.cpp:29:3: Error evaluating statement #0 0x0000ffff870aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff870a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff870ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff900697e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8f0d9f3c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8f0d9f3c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8f0d9f3c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8f0d9f3c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8f0d9f3c llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8f0d9f3c 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 0x0000ffff8f0d9f3c get<(anonymous namespace)::DenotedSymbols> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8f0d9f3c (anonymous namespace)::ExprInspectionChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:406:0 #12 0x0000ffff8ef9aae4 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 0x0000ffff8efb52e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff8efb52e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff8efb52e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff8efb52e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff8efb52e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff8efb52e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff8efb52e8 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 0x0000ffff8efca244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff8efca244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff8efca244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff8efca244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff8efca244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff8efca244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff8efca244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff8efca244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff8efca244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffff8efca5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8efca7cc clang::ento::CoreEngine::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 0x0000ffff8efcab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff8efcab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff8efcab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff8efcab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff8efcab14 clang::ento::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 0x0000ffff8f2952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff8f2952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff8f2952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff8f2952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff8f2952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff8f296278 llvm::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 0x0000ffff8f296278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff8f296278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff8f29a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff8f29a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff8f29a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff8f29a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff8f29a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff8d6f1b88 __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 0x0000ffff8d6f1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff8d6f1b88 void clang::finalize>, 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 0x0000ffff8d6f1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff8edb5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff8ed6d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff8ed6d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff8ed6d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff8edf36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaacfa459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaacfa494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaacfa4aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaacfa41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff862f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff862f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaacfa420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/expr-inspection.cpp.script: line 2: 36950 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -analyzer-checker=debug.ExprInspection -analyzer-config support-symbolic-integer-casts=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/expr-inspection.c (751 of 19719) ******************** TEST 'Clang :: Analysis/expr-inspection.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.c 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.c -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.c:31:11: error: CHECK: expected string not found in input // CHECK: "program_state": { ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :17:126: note: possible intended match here #9 0x0000ffff9310a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.c -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:31'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:31'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.c check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: 1. parser at end of file check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling foo check:31'0 ~~~~~~~~~~~~~~~~ . . . 12: #4 0x0000ffff9310a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13: #5 0x0000ffff9310a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14: #6 0x0000ffff9310a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15: #7 0x0000ffff9310a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16: #8 0x0000ffff9310a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17: #9 0x0000ffff9310a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:31'1 ? possible intended match 18: #10 0x0000ffff930b53bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19: #11 0x0000ffff930b53bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 20: #12 0x0000ffff930b53bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21: #13 0x0000ffff930ca244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22: #14 0x0000ffff930ca244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/exploration_order/prefer_unexplored.cpp (752 of 19719) ******************** TEST 'Clang :: Analysis/exploration_order/prefer_unexplored.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -analyzer-config exploration_strategy=unexplored_first -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/prefer_unexplored.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -analyzer-config exploration_strategy=unexplored_first_queue -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/prefer_unexplored.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -analyzer-config exploration_strategy=unexplored_first -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/prefer_unexplored.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling bar2() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/prefer_unexplored.cpp:37:11: Error evaluating branch #0 0x0000ffff9646ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff96469180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9646b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9f42e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9e720e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9e720e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9e720e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9e720e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9e720e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9e720e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9e720e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9e720e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9e3ce018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9e3ce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9e3ce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9e3ce018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9e3ceef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9e3ceef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9e3ceef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9e3ceef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9e3e1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9e3e1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9e3e1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9e3e2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9e3e2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9e3e2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9e3e24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9e3e24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9e3e24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9e3eeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9e3eeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9e3eeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9e3f8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9e3f8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9e3f8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9e35c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9e35c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9e35c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9e35c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9e84b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9e84b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9e84b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9e372bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff9e372bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff9e372bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff9e372bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff9e372bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff9e372bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff9e372bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff9e372bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff9e372bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff9e372bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff9e373130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff9e38ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9e38ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9e38ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9e38ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9e38ab14 clang::ento::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 0x0000ffff9e6552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9e6552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9e6552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9e6552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9e6552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9e656278 llvm::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 0x0000ffff9e656278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9e656278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9e65a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9e65a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9e65a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9e65a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9e65a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9cab1b88 __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 0x0000ffff9cab1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9cab1b88 void clang::finalize>, 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 0x0000ffff9cab1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9e175600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9e12d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9e12d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9e12d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9e1b36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae0ce59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae0ce94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae0ceaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae0ce1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff956b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff956b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae0ce20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploration_order/Output/prefer_unexplored.cpp.script: line 2: 36936 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -analyzer-config exploration_strategy=unexplored_first -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/prefer_unexplored.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/fields.c (753 of 19719) ******************** TEST 'Clang :: Analysis/fields.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fields.c -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fields.c -verify 1. parser at end of file 2. While analyzing stack: #0 Calling testBitfields 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fields.c:64:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fields.c:64:7: Error evaluating statement #0 0x0000ffffa507ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa5079180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa507b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffae0387e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffad1807a8 llvm::ImutKeyValueInfo::isEqual(clang::ento::MemRegion const* const&, clang::ento::MemRegion const* const&) /usr/include/llvm/ADT/ImmutableMap.h:45:41 #5 0x0000ffffad1807a8 llvm::ImutAVLFactory>::remove_internal(clang::ento::MemRegion const* const&, llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:558:26 #6 0x0000ffffad1807a8 llvm::ImutAVLFactory>::remove(llvm::ImutAVLTree>*, clang::ento::MemRegion const* const&) /usr/include/llvm/ADT/ImmutableSet.h:403:0 #7 0x0000ffffad1807a8 llvm::ImmutableMap>::Factory::remove(llvm::ImmutableMap>, clang::ento::MemRegion const* const&) /usr/include/llvm/ADT/ImmutableMap.h:105:0 #8 0x0000ffffad1807a8 clang::ento::ProgramStatePartialTrait>, void>::Remove(llvm::ImmutableMap>, clang::ento::MemRegion const*, llvm::ImmutableMap>::Factory&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:175:0 #9 0x0000ffffad1807a8 remove<(anonymous namespace)::DestroyRetVal> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:669:0 #10 0x0000ffffad1807a8 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::remove<(anonymous namespace)::DestroyRetVal>(clang::ento::ProgramStateTrait<(anonymous namespace)::DestroyRetVal>::key_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:854:0 #11 0x0000ffffad19b684 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #12 0x0000ffffad19b684 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #13 0x0000ffffad19b684 checkRegionChanges /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp:690:0 #14 0x0000ffffad19b684 llvm::IntrusiveRefCntPtr clang::ento::check::RegionChanges::_checkRegionChanges<(anonymous namespace)::PthreadLockChecker>(void*, llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:344:0 #15 0x0000ffffacf392f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffacf392f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffacf392f4 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffacf392f4 clang::ento::CheckerManager::runCheckersForRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:608:0 #19 0x0000ffffacfca6c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x0000ffffacfca6c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x0000ffffacfca6c0 clang::ento::ExprEngine::processRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:681:0 #22 0x0000ffffacfca6c0 clang::ento::ProgramState::invalidateRegionsImpl(llvm::ArrayRef, clang::Expr const*, unsigned int, clang::LocationContext const*, bool, llvm::DenseSet>*, clang::ento::RegionAndSymbolInvalidationTraits*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:215:0 #23 0x0000ffffacf4d9f4 std::_Rb_tree, std::less, std::allocator>::~_Rb_tree() /usr/include/c++/12/bits/stl_tree.h:986:0 #24 0x0000ffffacf4d9f4 std::set, std::allocator>::~set() /usr/include/c++/12/bits/stl_set.h:281:0 #25 0x0000ffffacf4d9f4 llvm::SmallSet>::~SmallSet() /usr/include/llvm/ADT/SmallSet.h:135:0 #26 0x0000ffffacf4d9f4 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 0x0000ffffacfcdc70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #28 0x0000ffffacfcdc70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #29 0x0000ffffacfcdc70 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 0x0000ffffacfce684 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x0000ffffacfce684 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x0000ffffacfce684 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 0x0000ffffacf57268 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 0x0000ffffacfb6bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #35 0x0000ffffacfb6bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #36 0x0000ffffacfb6bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #37 0x0000ffffacfb6bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #38 0x0000ffffacfb74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #39 0x0000ffffacf99250 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #40 0x0000ffffacf99250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #41 0x0000ffffacf9a2b8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #42 0x0000ffffacf9a5a0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #43 0x0000ffffacf9a7cc clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #44 0x0000ffffacf9ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffacf9ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffacf9ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #47 0x0000ffffacf9ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #48 0x0000ffffacf9ab14 clang::ento::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 0x0000ffffad2652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #50 0x0000ffffad2652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #51 0x0000ffffad2652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #52 0x0000ffffad2652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #53 0x0000ffffad2652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #54 0x0000ffffad266278 llvm::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 0x0000ffffad266278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #56 0x0000ffffad266278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #57 0x0000ffffad26a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #58 0x0000ffffad26a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #59 0x0000ffffad26a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #60 0x0000ffffad26a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #61 0x0000ffffad26a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #62 0x0000ffffab6c1b88 __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 0x0000ffffab6c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #64 0x0000ffffab6c1b88 void clang::finalize>, 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 0x0000ffffab6c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #66 0x0000ffffacd85600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #67 0x0000ffffacd3d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #68 0x0000ffffacd3d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #69 0x0000ffffacd3d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #70 0x0000ffffacdc36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #71 0x0000aaaab51859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #72 0x0000aaaab51894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #73 0x0000aaaab518aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #74 0x0000aaaab5181fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #75 0x0000ffffa42c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #76 0x0000ffffa42c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #77 0x0000aaaab51820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/fields.c.script: line 1: 36952 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fields.c -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/expr-inspection-printState-eq-classes.c (754 of 19719) ******************** TEST 'Clang :: Analysis/expr-inspection-printState-eq-classes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-eq-classes.c 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-eq-classes.c -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-eq-classes.c:18:11: error: CHECK: expected string not found in input // CHECK: "equivalence_classes": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :6:17: note: possible intended match here #0 Calling test_equivalence_classes ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-eq-classes.c -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:18'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:18'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-eq-classes.c check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: 1. parser at end of file check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling test_equivalence_classes check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:18'1 ? possible intended match 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-eq-classes.c:7:7: Error evaluating statement check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-eq-classes.c:7:7: Error evaluating statement check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #0 0x0000ffff9f72ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #1 0x0000ffff9f729180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #2 0x0000ffff9f72b408 (/usr/lib64/libLLVM-17.so+0x9cb408) check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/generics.m (755 of 19719) ******************** TEST 'Clang :: Analysis/generics.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.ObjCGenerics,alpha.core.DynamicTypeChecker -verify -Wno-objc-method-access /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/generics.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.ObjCGenerics,alpha.core.DynamicTypeChecker -verify -Wno-objc-method-access /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/generics.m -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/generics.m.tmp.plist : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling testCallToMethodWithCovariantParameterOnInstanceOfSubclassWithInvariantParameter 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/generics.m:405:3: Error evaluating statement #0 0x0000ffffb53cad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb53c9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb53cb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbe3897e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbd67018c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbd67018c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbd67018c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbd67018c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbd67018c llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbd67018c 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 0x0000ffffbd67018c get<(anonymous namespace)::MostSpecializedTypeArgsMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbd67018c (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 0x0000ffffbd2baae4 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 0x0000ffffbd2d52e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffbd2d52e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffbd2d52e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffbd2d52e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffbd2d52e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffbd2d52e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffbd2d52e8 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 0x0000ffffbd2ea244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffbd2ea244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffbd2ea244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffbd2ea244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffbd2ea244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffbd2ea244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffbd2ea244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffbd2ea244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffbd2ea244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffbd2ea5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbd2ea7cc clang::ento::CoreEngine::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 0x0000ffffbd2eab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffbd2eab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffbd2eab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffbd2eab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffbd2eab14 clang::ento::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 0x0000ffffbd5b52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffbd5b52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffbd5b52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffbd5b52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffbd5b52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffbd5b6278 llvm::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 0x0000ffffbd5b6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffbd5b6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffbd5ba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffbd5ba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffbd5ba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffbd5ba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffbd5ba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffbba11b88 __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 0x0000ffffbba11b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffbba11b88 void clang::finalize>, 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 0x0000ffffbba11b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffbd0d5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffbd08d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffbd08d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffbd08d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffbd1136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaab01159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaab01194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaab011aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaab0111fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffb461098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffb4610a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaab01120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/generics.m.script: line 3: 37002 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.ObjCGenerics,alpha.core.DynamicTypeChecker -verify -Wno-objc-method-access /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/generics.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/gcdantipatternchecker_test.m (756 of 19719) ******************** TEST 'Clang :: Analysis/gcdantipatternchecker_test.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.performance.GCDAntipattern /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gcdantipatternchecker_test.m -fblocks -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.performance.GCDAntipattern /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gcdantipatternchecker_test.m -fblocks -verify 1. parser at end of file 2. While analyzing stack: #0 Calling no_warn_on_nonzero_semaphore 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gcdantipatternchecker_test.m:340:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gcdantipatternchecker_test.m:340:3: Error evaluating statement #0 0x0000ffff7b5ead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7b5e9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7b5eb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff845a77e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff838a0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff838a0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff838a0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff838a0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff838a0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff838a0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff838a0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff838a0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8354e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8354e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8354e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8354e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8354eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8354eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8354eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8354eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff83561aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff83561aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff83561aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff83562ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff83562ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff83562ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff835624c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff835624c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff835624c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8356eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8356eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8356eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff83578484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff83578484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff83578484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff834dc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff834dc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff834dc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff834dc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff839cb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff839cb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff839cb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8353eafc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff8353eafc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff8353eafc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff8353eafc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff8353eafc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff8353eafc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffff83508de8 clang::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 0x0000ffff83508de8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffff8350a2b8 clang::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 0x0000ffff8350a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8350a7cc clang::ento::CoreEngine::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 0x0000ffff8350ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8350ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8350ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8350ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8350ab14 clang::ento::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 0x0000ffff837d52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff837d52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff837d52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff837d52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff837d52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff837d6278 llvm::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 0x0000ffff837d6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff837d6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff837da900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff837da900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff837da900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff837da900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff837da900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff81c31b88 __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 0x0000ffff81c31b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff81c31b88 void clang::finalize>, 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 0x0000ffff81c31b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff832f5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff832ad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff832ad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff832ad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff833336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad30d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad30d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad30daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad30d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7a83098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7a830a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad30d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/gcdantipatternchecker_test.m.script: line 1: 36996 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.performance.GCDAntipattern /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gcdantipatternchecker_test.m -fblocks -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/free.c (757 of 19719) ******************** TEST 'Clang :: Analysis/free.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.c -analyzer-checker=core -analyzer-checker=unix.Malloc : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.c -analyzer-checker=core -analyzer-checker=unix.Malloc -analyzer-config unix.DynamicMemoryModeling:Optimistic=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.c -analyzer-checker=core -analyzer-checker=unix.Malloc 1. parser at end of file 2. While analyzing stack: #0 Calling t18 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.c:117:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.c:117:3: Error evaluating statement #0 0x0000ffffb646ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb6469180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb646b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbf42b7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbe720e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbe720e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbe720e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbe720e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbe720e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbe720e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbe720e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbe720e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbe3ce018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbe3ce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbe3ce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbe3ce018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbe3ceef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbe3ceef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbe3ceef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbe3ceef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbe3e1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbe3e1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbe3e1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbe3e2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbe3e2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbe3e2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbe3e24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbe3e24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbe3e24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbe3eeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbe3eeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbe3eeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbe3f8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbe3f8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbe3f8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbe35c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbe35c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbe35c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbe35c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbe84b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbe84b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbe84b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbe526344 (anonymous namespace)::MallocChecker::FreeMemAux(clang::ento::CheckerContext&, clang::Expr const*, clang::ento::CallEvent const&, llvm::IntrusiveRefCntPtr, bool, bool&, (anonymous namespace)::AllocationFamily, bool) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1909:0 #43 0x0000ffffbe702570 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x0000ffffbe702570 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffbe702570 (anonymous namespace)::MallocChecker::FreeMemAux(clang::ento::CheckerContext&, clang::ento::CallEvent const&, llvm::IntrusiveRefCntPtr, unsigned int, bool, bool&, (anonymous namespace)::AllocationFamily, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1808:0 #46 0x0000ffffbe5214ac llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #47 0x0000ffffbe5214ac llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #48 0x0000ffffbe5214ac (anonymous namespace)::MallocChecker::checkFree(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1293:0 #49 0x0000ffffbe52e404 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x0000ffffbe52e404 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x0000ffffbe52e404 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1489:0 #52 0x0000ffffbe52e404 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #53 0x0000ffffbe3467b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffbe3467b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffbe3467b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #56 0x0000ffffbe3467b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #57 0x0000ffffbe3467b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #58 0x0000ffffbe3a6c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #59 0x0000ffffbe3a6c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #60 0x0000ffffbe3a6c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #61 0x0000ffffbe3a6c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #62 0x0000ffffbe3a6c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #63 0x0000ffffbe3a6c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #64 0x0000ffffbe3a74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #65 0x0000ffffbe389250 clang::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 0x0000ffffbe389250 clang::ento::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 0x0000ffffbe38a2b8 clang::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 0x0000ffffbe38a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbe38a7cc clang::ento::CoreEngine::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 0x0000ffffbe38ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x0000ffffbe38ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x0000ffffbe38ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #73 0x0000ffffbe38ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #74 0x0000ffffbe38ab14 clang::ento::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 0x0000ffffbe6552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #76 0x0000ffffbe6552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #77 0x0000ffffbe6552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #78 0x0000ffffbe6552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #79 0x0000ffffbe6552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #80 0x0000ffffbe656278 llvm::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 0x0000ffffbe656278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #82 0x0000ffffbe656278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #83 0x0000ffffbe65a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #84 0x0000ffffbe65a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #85 0x0000ffffbe65a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #86 0x0000ffffbe65a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #87 0x0000ffffbe65a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #88 0x0000ffffbcab1b88 __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 0x0000ffffbcab1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #90 0x0000ffffbcab1b88 void clang::finalize>, 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 0x0000ffffbcab1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #92 0x0000ffffbe175600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #93 0x0000ffffbe12d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #94 0x0000ffffbe12d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #95 0x0000ffffbe12d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #96 0x0000ffffbe1b36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #97 0x0000aaaac7d459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #98 0x0000aaaac7d494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #99 0x0000aaaac7d4aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #100 0x0000aaaac7d41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #101 0x0000ffffb56b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #102 0x0000ffffb56b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #103 0x0000aaaac7d420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/free.c.script: line 2: 36964 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.c -analyzer-checker=core -analyzer-checker=unix.Malloc -- ******************** Testing: 0 FAIL: Clang :: Analysis/find-binop-constraints.cpp (758 of 19719) ******************** TEST 'Clang :: Analysis/find-binop-constraints.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/find-binop-constraints.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/find-binop-constraints.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_deferred_contradiction(int, int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/find-binop-constraints.cpp:153:7: Error evaluating branch #0 0x0000ffff9c97ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9c979180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9c97b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa593e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa48de560 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa48de560 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa48de560 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa48de560 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa48de560 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa48de560 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa48de560 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa48de560 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:0 #12 0x0000ffffa48de560 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:0 #13 0x0000ffffa48de560 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:0 #14 0x0000ffffa48de560 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:0 #15 0x0000ffffa48de560 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:0 #16 0x0000ffffa48de560 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #17 0x0000ffffa48de560 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #18 0x0000ffffa48de560 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #19 0x0000ffffa48de560 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #20 0x0000ffffa48de560 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #21 0x0000ffffa48de560 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #22 0x0000ffffa48df7c4 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #23 0x0000ffffa48df7c4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffffa48df7c4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffa48df7c4 (anonymous namespace)::RangeConstraintManager::assumeSymGT(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3133:0 #26 0x0000ffffa48f1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa48f1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa48f1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, 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 0x0000ffffa48f2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffa48f2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffa48f2ff0 clang::ento::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 0x0000ffffa48f24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffffa48f24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffffa48f24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #35 0x0000ffffa48feb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #36 0x0000ffffa48feb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #37 0x0000ffffa48feb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #38 0x0000ffffa4908484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x0000ffffa4908484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x0000ffffa4908484 clang::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 0x0000ffffa486c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #42 0x0000ffffa486c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #43 0x0000ffffa486c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #44 0x0000ffffa486c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #45 0x0000ffffa4d5b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #46 0x0000ffffa4d5b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x0000ffffa4d5b004 clang::ento::ProgramState::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 0x0000ffffa4882bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #49 0x0000ffffa4882bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #50 0x0000ffffa4882bc8 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 0x0000ffffa4882bc8 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 0x0000ffffa4882bc8 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 0x0000ffffa4882bc8 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 0x0000ffffa4882bc8 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 0x0000ffffa4882bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #56 0x0000ffffa4882bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #57 0x0000ffffa4882bc8 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 0x0000ffffa4883130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #59 0x0000ffffa489ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa489ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa489ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffa489ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffa489ab14 clang::ento::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 0x0000ffffa4b652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffa4b652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffa4b652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffa4b652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffa4b652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffa4b66278 llvm::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 0x0000ffffa4b66278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffa4b66278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffa4b6a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffa4b6a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffa4b6a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffa4b6a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffa4b6a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffa2fc1b88 __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 0x0000ffffa2fc1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffa2fc1b88 void clang::finalize>, 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 0x0000ffffa2fc1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffa4685600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffa463d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffa463d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffa463d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffa46c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaacb8a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaacb8a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaacb8aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaacb8a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff9bbc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff9bbc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaacb8a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/find-binop-constraints.cpp.script: line 1: 36958 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/find-binop-constraints.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/flexible-array-members.c (759 of 19719) ******************** TEST 'Clang :: Analysis/flexible-array-members.c' FAILED ******************** Script: -- : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c90 -fstrict-flex-arrays=2 : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c99 -fstrict-flex-arrays=2 : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c11 -fstrict-flex-arrays=2 : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c17 -fstrict-flex-arrays=2 : 'RUN: at line 12'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c++98 -x c++ -fstrict-flex-arrays=2 : 'RUN: at line 14'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c++03 -x c++ -fstrict-flex-arrays=2 : 'RUN: at line 16'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c++11 -x c++ -fstrict-flex-arrays=2 : 'RUN: at line 18'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c++14 -x c++ -fstrict-flex-arrays=2 : 'RUN: at line 20'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c++17 -x c++ -fstrict-flex-arrays=2 : 'RUN: at line 24'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c17 -DSINGLE_ELEMENT_FAMS : 'RUN: at line 26'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c++17 -x c++ -DSINGLE_ELEMENT_FAMS -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c90 -fstrict-flex-arrays=2 1. parser at end of file 2. While analyzing stack: #0 Calling test_single_element_array_possible_fam 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c:121:19: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c:121:19: Error evaluating statement #0 0x0000ffffafc2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffafc29180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffafc2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb8be57e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb7ec76d0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb7ec76d0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb7ec76d0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb7ec76d0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb7ec76d0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb7ec76d0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb7ec76d0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb7ec76d0 (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 0x0000ffffb7cd5990 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffb7cd5990 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffb7cd5990 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 0x0000ffffb7ae95a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffb7ae95a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffb7ae95a8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffb7ae95a8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffb7baebf4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb7baebf4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb7baebf4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffb7baebf4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffb7bb8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffb7bb8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffb7bb8484 clang::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 0x0000ffffb7b1cae8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb7b1cae8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb7b1cae8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffb7b1cae8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffb800b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb800b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb800b004 clang::ento::ProgramState::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 0x0000ffffb7ce1ba0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffb7ce1ba0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffb7ce1ba0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffb7ce1ba0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffb7ce1ba0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffb7ce1ba0 (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 0x0000ffffb7ce2b80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffb7ce2b80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffb7ce2b80 (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 0x0000ffffb7cee4d0 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffb7cee4d0 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 0x0000ffffb7b067b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffb7b067b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffb7b067b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffb7b067b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffb7b067b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffb7b66c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffb7b66c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffb7b66c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffb7b66c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffb7b66c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffb7b66c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffb7b674f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffb7b49250 clang::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 0x0000ffffb7b49250 clang::ento::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 0x0000ffffb7b4a2b8 clang::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 0x0000ffffb7b4a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb7b4a7cc clang::ento::CoreEngine::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 0x0000ffffb7b4ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffb7b4ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffb7b4ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffb7b4ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffb7b4ab14 clang::ento::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 0x0000ffffb7e152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffb7e152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffb7e152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffb7e152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffb7e152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffb7e16278 llvm::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 0x0000ffffb7e16278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffb7e16278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffb7e1a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffb7e1a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffb7e1a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffb7e1a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffb7e1a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffb6271b88 __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 0x0000ffffb6271b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffb6271b88 void clang::finalize>, 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 0x0000ffffb6271b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffb7935600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffb78ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffb78ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffb78ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffb79736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaab5a859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaab5a894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaab5a8aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaab5a81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffffaee7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffffaee70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaab5a820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/flexible-array-members.c.script: line 11: 36971 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c90 -fstrict-flex-arrays=2 -- ******************** Testing: 0 FAIL: Clang :: Analysis/fuchsia_lock_impl.c (760 of 19719) ******************** TEST 'Clang :: Analysis/fuchsia_lock_impl.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.fuchsia.Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock_impl.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.fuchsia.Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock_impl.c 1. parser at end of file 2. While analyzing stack: #0 Calling spin_trylock at line 16 #1 Calling no_crash 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock_impl.c:8:9: Error evaluating branch #0 0x0000ffff99e0ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff99e09180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff99e0b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa2dc17e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa20c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa20c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa20c0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa20c0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa20c0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa20c0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa20c0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa20c0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa1d6e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa1d6e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa1d6e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa1d6e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa1d6eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa1d6eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa1d6eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa1d6eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa1d82c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa1d82c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa1d82c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa1d82f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa1d82f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa1d82f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffa1d824c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa1d824c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa1d824c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa1d8eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa1d8eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa1d8eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa1d98484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa1d98484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa1d98484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa1cfc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa1cfc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa1cfc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa1cfc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa21eb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa21eb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa21eb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa1d12bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa1d12bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa1d12bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa1d12bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa1d12bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa1d12bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa1d12bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa1d12bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa1d12bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa1d12bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa1d13130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa1d2ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa1d2ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa1d2ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa1d2ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa1d2ab14 clang::ento::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 0x0000ffffa1ff52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa1ff52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa1ff52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa1ff52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa1ff52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa1ff6278 llvm::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 0x0000ffffa1ff6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa1ff6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa1ffa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa1ffa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa1ffa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa1ffa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa1ffa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa0451b88 __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 0x0000ffffa0451b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa0451b88 void clang::finalize>, 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 0x0000ffffa0451b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa1b15600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa1acd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa1acd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa1acd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa1b536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad38f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad38f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad38faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad38f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9905098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff99050a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad38f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/fuchsia_lock_impl.c.script: line 1: 36976 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.fuchsia.Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock_impl.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/expr-inspection-printState-diseq-info.c (762 of 19719) ******************** TEST 'Clang :: Analysis/expr-inspection-printState-diseq-info.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-diseq-info.c 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-diseq-info.c -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-diseq-info.c:17:12: error: CHECK: expected string not found in input // CHECK: "disequality_info": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :6:17: note: possible intended match here #0 Calling test_disequality_info ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-diseq-info.c -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:17'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:17'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-diseq-info.c check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: 1. parser at end of file check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling test_disequality_info check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:17'1 ? possible intended match 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-diseq-info.c:8:7: Error evaluating statement check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-diseq-info.c:8:7: Error evaluating statement check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #0 0x0000ffffb02aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #1 0x0000ffffb02a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #2 0x0000ffffb02ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/func.c (763 of 19719) ******************** TEST 'Clang :: Analysis/func.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/func.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/func.c 1. parser at end of file 2. While analyzing stack: #0 Calling nullFunctionPointerConstraint 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/func.c:37:7: Error evaluating branch #0 0x0000ffff9c71ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9c719180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9c71b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa56d47e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa49d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa49d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa49d0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa49d0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa49d0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa49d0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa49d0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa49d0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa467e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa467e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa467e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa467e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa467eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa467eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa467eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa467eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa4691aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa4691aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa4691aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa4692ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa4692ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa4692ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa46924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa46924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa46924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa469eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa469eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa469eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa46a8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa46a8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa46a8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa460c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa460c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa460c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa460c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa4afb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa4afb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa4afb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa4622bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa4622bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa4622bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa4622bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa4622bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa4622bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa4622bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa4622bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa4622bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa4622bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa4623130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa463ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa463ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa463ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa463ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa463ab14 clang::ento::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 0x0000ffffa49052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa49052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa49052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa49052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa49052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa4906278 llvm::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 0x0000ffffa4906278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa4906278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa490a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa490a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa490a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa490a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa490a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa2d61b88 __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 0x0000ffffa2d61b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa2d61b88 void clang::finalize>, 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 0x0000ffffa2d61b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa4425600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa43dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa43dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa43dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa44636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae3ff59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae3ff94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae3ffaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae3ff1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9b96098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9b960a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae3ff20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/func.c.script: line 1: 36994 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/func.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/fuchsia_handle.cpp (766 of 19719) ******************** TEST 'Clang :: Analysis/fuchsia_handle.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,fuchsia.HandleChecker -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_handle.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,fuchsia.HandleChecker -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_handle.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling escape_top_level_pointees(zx_handle_t *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_handle.cpp:505:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_handle.cpp:505:7: Error evaluating statement #0 0x0000ffff8f56ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8f569180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8f56b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9852d7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9759e540 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9759e540 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9759e540 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9759e540 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9759e540 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9759e540 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9759e540 get<(anonymous namespace)::HStateMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff9759e540 (anonymous namespace)::FuchsiaHandleChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/FuchsiaHandleChecker.cpp:421:0 #12 0x0000ffff974467b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff974467b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff974467b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #15 0x0000ffff974467b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #16 0x0000ffff974467b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #17 0x0000ffff974a6c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #18 0x0000ffff974a6c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #19 0x0000ffff974a6c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #20 0x0000ffff974a6c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #21 0x0000ffff974a6c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #22 0x0000ffff974a6c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #23 0x0000ffff974a74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #24 0x0000ffff97489250 clang::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 0x0000ffff97489250 clang::ento::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 0x0000ffff9748a2b8 clang::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 0x0000ffff9748a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9748a7cc clang::ento::CoreEngine::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 0x0000ffff9748ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffff9748ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffff9748ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffff9748ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffff9748ab14 clang::ento::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 0x0000ffff977552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffff977552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffff977552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffff977552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffff977552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffff97756278 llvm::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 0x0000ffff97756278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffff97756278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffff9775a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffff9775a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffff9775a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffff9775a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffff9775a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffff95bb1b88 __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 0x0000ffff95bb1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffff95bb1b88 void clang::finalize>, 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 0x0000ffff95bb1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffff97275600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffff9722d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffff9722d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffff9722d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffff972b36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaab76b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaab76b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaab76baac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaab76b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffff8e7b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffff8e7b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaab76b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/fuchsia_handle.cpp.script: line 1: 36968 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,fuchsia.HandleChecker -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_handle.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/gtest.cpp (777 of 19719) ******************** TEST 'Clang :: Analysis/gtest.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -cc1 -std=c++11 -analyzer-checker=core,apiModeling.google.GTest,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gtest.cpp -verify : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -cc1 -std=c++11 -analyzer-checker=core,apiModeling.google.GTest,debug.ExprInspection -DGTEST_VERSION_1_8_AND_LATER=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gtest.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -cc1 -std=c++11 -analyzer-checker=core,apiModeling.google.GTest,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gtest.cpp -verify 1. parser at end of file 2. While analyzing stack: #0 Calling testAssertSymbolicRef(const _Bool &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gtest.cpp:161:3 : Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gtest.cpp:161:3 : Error evaluating statement #0 0x0000ffff8264ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff82649180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8264b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8b6087e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8a55b9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff8a55b9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8a55b9a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8a55b9a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8a55b9a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8a55b9a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8a55b9a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8a55b9a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff8a55bd94 llvm::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 0x0000ffff8a55bd94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff8a55bd94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff8a55bd94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff8a55bd94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff8a55c474 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffff8a55c474 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffff8a55c474 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:0 #20 0x0000ffff8a563db0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffff8a563db0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffff8a563db0 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 0x0000ffff8a563db0 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 0x0000ffff8a56920c clang::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 0x0000ffff8a56920c clang::ento::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 0x0000ffff8a56a2b8 clang::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 0x0000ffff8a56a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8a56a7cc clang::ento::CoreEngine::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 0x0000ffff8a56ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffff8a56ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffff8a56ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffff8a56ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffff8a56ab14 clang::ento::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 0x0000ffff8a8352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffff8a8352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffff8a8352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffff8a8352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffff8a8352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffff8a836278 llvm::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 0x0000ffff8a836278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffff8a836278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffff8a83a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffff8a83a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffff8a83a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffff8a83a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffff8a83a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffff88c91b88 __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 0x0000ffff88c91b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffff88c91b88 void clang::finalize>, 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 0x0000ffff88c91b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffff8a355600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffff8a30d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffff8a30d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffff8a30d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffff8a3936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaad4af59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaad4af94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaad4afaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaad4af1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffff8189098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffff81890a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaad4af20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/gtest.cpp.script: line 2: 37021 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -cc1 -std=c++11 -analyzer-checker=core,apiModeling.google.GTest,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gtest.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/globals.cpp (778 of 19719) ******************** TEST 'Clang :: Analysis/globals.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -std=c++2a /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -std=c++2a /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling S3::S3() at line 109 #1 Calling recordinit() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals.cpp:103:8: Error evaluating statement #0 0x0000ffffb3ffad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb3ff9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb3ffb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbcfb57e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbbf050b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffbbf050b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbbf050b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbbf050b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbbf050b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffbbf050b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffbbf050b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffbbf050b8 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 0x0000ffffbbf1a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffbbf1a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffbbf1a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffbbf1a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffbbf1a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffbbf1a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffbbf1a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffbbf1a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffbbf1a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffbbf1a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbbf1a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffbbf1a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffbbf1ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffbbf1ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffbbf1ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffbbf1ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffbbf1ab14 clang::ento::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 0x0000ffffbc1e52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffbc1e52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffbc1e52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffbc1e52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffbc1e52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffbc1e6278 llvm::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 0x0000ffffbc1e6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffbc1e6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffbc1ea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffbc1ea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffbc1ea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffbc1ea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffbc1ea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffba641b88 __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 0x0000ffffba641b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffba641b88 void clang::finalize>, 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 0x0000ffffba641b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffbbd05600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffbbcbd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffbbcbd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffbbcbd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffbbd436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaac06a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaac06a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaac06aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaac06a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffb324098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffb3240a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaac06a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/globals.cpp.script: line 1: 37014 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -std=c++2a /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/global-region-invalidation.c (779 of 19719) ******************** TEST 'Clang :: Analysis/global-region-invalidation.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation.c -analyzer-checker=core,deadcode,alpha.security.taint,debug.TaintTest,debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation.c -analyzer-checker=core,deadcode,alpha.security.taint,debug.TaintTest,debug.ExprInspection 1. parser at end of file 2. While analyzing stack: #0 Calling Function1 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 0x0000ffff7872ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff78729180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7872b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff816e37e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff80667cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff80667cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff80667cb0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff80667cb0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff80667cb0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff80667cb0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff80667cb0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff80667cb0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff80667cb0 (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 0x0000ffff80667d8c (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffff8067b9f4 clang::ento::ProgramState::getSVal(clang::ento::Loc, clang::QualType) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:273:0 #15 0x0000ffff8062f964 clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3670:25 #16 0x0000ffff8063f470 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x0000ffff8063f470 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x0000ffff8063f470 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #19 0x0000ffff80648c34 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #20 0x0000ffff80648c34 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #21 0x0000ffff80648c34 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #22 0x0000ffff8064a2b8 clang::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 0x0000ffff8064a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8064a7cc clang::ento::CoreEngine::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 0x0000ffff8064ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff8064ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff8064ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff8064ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff8064ab14 clang::ento::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 0x0000ffff809152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff809152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff809152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff809152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff809152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff80916278 llvm::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 0x0000ffff80916278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff80916278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff8091a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff8091a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff8091a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff8091a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff8091a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff7ed71b88 __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 0x0000ffff7ed71b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff7ed71b88 void clang::finalize>, 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 0x0000ffff7ed71b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff80435600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff803ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff803ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff803ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff804736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaac08b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaac08b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaac08baac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaac08b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff7797098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff77970a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaac08b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/global-region-invalidation.c.script: line 1: 37008 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation.c -analyzer-checker=core,deadcode,alpha.security.taint,debug.TaintTest,debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/handle_constructors_with_new_array.cpp (780 of 19719) ******************** TEST 'Clang :: Analysis/handle_constructors_with_new_array.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -analyze -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_with_new_array.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -analyze -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_with_new_array.cpp -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_dynamic_aggregate() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_with_new_array.cpp:69:14: Error evaluating New Allocator Call #0 0x0000ffff9cd6ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9cd69180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9cd6b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa5d277e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa5020e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa5020e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa5020e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa5020e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa5020e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa5020e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa5020e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa5020e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa4cce018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa4cce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa4cce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa4cce018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa4cceef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa4cceef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa4cceef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa4cceef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa4ce1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa4ce1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa4ce1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa4ce2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa4ce2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa4ce2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa4ce24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa4ce24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa4ce24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa4ceeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa4ceeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa4ceeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa4cf8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa4cf8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa4cf8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa4c5c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa4c5c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa4c5c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa4c5c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa4c5cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa4c5cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa4c5cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa4c86f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffa4c86f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffa4c86f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffa4c86f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffa4c86f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffa4c8735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffa4c8735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffa4c8735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffa4c8735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffa4c8735c 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 0x0000ffffa4c8a5dc clang::ento::ExprEngine::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 0x0000ffffa4c8a7cc clang::ento::CoreEngine::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 0x0000ffffa4c8ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffffa4c8ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffffa4c8ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffffa4c8ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffffa4c8ab14 clang::ento::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 0x0000ffffa4f552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffffa4f552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffffa4f552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffffa4f552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffffa4f552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffffa4f56278 llvm::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 0x0000ffffa4f56278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffffa4f56278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffffa4f5a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffa4f5a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffa4f5a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffffa4f5a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffffa4f5a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffffa33b1b88 __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 0x0000ffffa33b1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffffa33b1b88 void clang::finalize>, 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 0x0000ffffa33b1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffffa4a75600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffffa4a2d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffffa4a2d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffffa4a2d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffffa4ab36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaac99159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaac99194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaac991aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaac9911fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff9bfb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff9bfb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaac99120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/handle_constructors_with_new_array.cpp.script: line 1: 37024 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -analyze -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_with_new_array.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/hangs.c (781 of 19719) ******************** TEST 'Clang :: Analysis/hangs.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/hangs.c -analyzer-checker core,debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/hangs.c -analyzer-checker core,debug.ExprInspection 1. parser at end of file 2. While analyzing stack: #0 Calling produce_an_exponentially_exploding_symbol_3 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/hangs.c:85:3 : Error evaluating statement #0 0x0000ffff803bad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff803b9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff803bb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff893787e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8831a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8831a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8831a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8831a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff8831a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff8831a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff882c53bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff882c53bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff882c53bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff882da244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff882da244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff882da244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff882da244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff882da244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff882da244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff882da244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff882da244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff882da244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff882da5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff882da6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff882da98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff882dab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff882dab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff882dab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff882dab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff882dab14 clang::ento::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 0x0000ffff885a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff885a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff885a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff885a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff885a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff885a6278 llvm::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 0x0000ffff885a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff885a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff885aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff885aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff885aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff885aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff885aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff86a01b88 __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 0x0000ffff86a01b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff86a01b88 void clang::finalize>, 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 0x0000ffff86a01b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff880c5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff8807d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff8807d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff8807d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff881036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaab2aa59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaab2aa94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaab2aaaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaab2aa1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff7f60098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff7f600a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaab2aa20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/hangs.c.script: line 1: 37026 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/hangs.c -analyzer-checker core,debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/globals-are-not-always-immutable.c (782 of 19719) ******************** TEST 'Clang :: Analysis/globals-are-not-always-immutable.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals-are-not-always-immutable.c -analyzer-config eagerly-assume=false -analyzer-checker=core,debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals-are-not-always-immutable.c -analyzer-config eagerly-assume=false -analyzer-checker=core,debug.ExprInspection 1. parser at end of file 2. While analyzing stack: #0 Calling test_my_mutable_system_global_assign 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals-are-not-always-immutable.c:70:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals-are-not-always-immutable.c:70:3: Error evaluating statement #0 0x0000ffffa68fad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa68f9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa68fb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffaf8ba7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffae857bdc retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffae857bdc retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffae857bdc retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffae857bdc IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffae857bdc ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffae857bdc MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffae857bdc get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffae857bdc (anonymous namespace)::EquivalenceClass::mergeImpl(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, llvm::ImmutableSet>, (anonymous namespace)::EquivalenceClass, llvm::ImmutableSet>) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2361:0 #12 0x0000ffffae859adc llvm::IntrusiveRefCntPtrInfo>>::release(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:351:0 #13 0x0000ffffae859adc llvm::IntrusiveRefCntPtr>>::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffae859adc llvm::IntrusiveRefCntPtr>>::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffae859adc llvm::ImmutableSet>::~ImmutableSet() /usr/include/llvm/ADT/ImmutableSet.h:957:0 #16 0x0000ffffae859adc (anonymous namespace)::EquivalenceClass::merge(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, (anonymous namespace)::EquivalenceClass) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2340:0 #17 0x0000ffffae85e4ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x0000ffffae85e4ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffae85e4ac merge /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2309:0 #20 0x0000ffffae85e4ac trackEquality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2160:0 #21 0x0000ffffae85e4ac assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2238:0 #22 0x0000ffffae85e4ac assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #23 0x0000ffffae85e4ac assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #24 0x0000ffffae85e4ac assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #25 0x0000ffffae85e4ac assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #26 0x0000ffffae85e4ac assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #27 0x0000ffffae85e4ac (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #28 0x0000ffffae85ec90 llvm::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 0x0000ffffae85ec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffffae85ec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffae85ec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #32 0x0000ffffae872c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffffae872c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffffae872c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #35 0x0000ffffae8724c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffae8724c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffae8724c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #38 0x0000ffffae87eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #39 0x0000ffffae87eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #40 0x0000ffffae87eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #41 0x0000ffffae888484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x0000ffffae888484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x0000ffffae888484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #44 0x0000ffffae7ec9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #45 0x0000ffffae7ec9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x0000ffffae7ec9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #47 0x0000ffffae7ec9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #48 0x0000ffffaecdf5b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #49 0x0000ffffaecdf5b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #50 0x0000ffffaecdf5b4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #51 0x0000ffffaecdf5b4 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #52 0x0000ffffae8f9ff0 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #53 0x0000ffffae8f9ff0 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #54 0x0000ffffae8f9ff0 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #55 0x0000ffffae92d7c0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #56 0x0000ffffae92d7c0 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #57 0x0000ffffae7d719c 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 0x0000ffffae836bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #59 0x0000ffffae836bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #60 0x0000ffffae836bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #61 0x0000ffffae836bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #62 0x0000ffffae8374f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #63 0x0000ffffae819250 clang::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 0x0000ffffae819250 clang::ento::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 0x0000ffffae81a2b8 clang::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 0x0000ffffae81a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffae81a7cc clang::ento::CoreEngine::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 0x0000ffffae81ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffae81ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffae81ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #71 0x0000ffffae81ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #72 0x0000ffffae81ab14 clang::ento::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 0x0000ffffaeae52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #74 0x0000ffffaeae52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #75 0x0000ffffaeae52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #76 0x0000ffffaeae52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #77 0x0000ffffaeae52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #78 0x0000ffffaeae6278 llvm::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 0x0000ffffaeae6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #80 0x0000ffffaeae6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #81 0x0000ffffaeaea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #82 0x0000ffffaeaea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #83 0x0000ffffaeaea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #84 0x0000ffffaeaea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #85 0x0000ffffaeaea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #86 0x0000ffffacf41b88 __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 0x0000ffffacf41b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #88 0x0000ffffacf41b88 void clang::finalize>, 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 0x0000ffffacf41b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #90 0x0000ffffae605600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #91 0x0000ffffae5bd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #92 0x0000ffffae5bd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #93 0x0000ffffae5bd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #94 0x0000ffffae6436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #95 0x0000aaaadcdb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #96 0x0000aaaadcdb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #97 0x0000aaaadcdbaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #98 0x0000aaaadcdb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #99 0x0000ffffa5b4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #100 0x0000ffffa5b40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #101 0x0000aaaadcdb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/globals-are-not-always-immutable.c.script: line 1: 37011 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals-are-not-always-immutable.c -analyzer-config eagerly-assume=false -analyzer-checker=core,debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/handle_constructors_for_default_arguments.cpp (783 of 19719) ******************** TEST 'Clang :: Analysis/handle_constructors_for_default_arguments.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -analyze -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_for_default_arguments.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -analyze -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_for_default_arguments.cpp -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test6() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_for_default_arguments.cpp:115:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_for_default_arguments.cpp:115:23: Error evaluating statement #0 0x0000ffff80abad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff80ab9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff80abb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff89a757e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff88d70e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff88d70e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff88d70e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff88d70e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff88d70e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff88d70e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff88d70e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff88d70e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff88a1e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff88a1e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff88a1e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff88a1e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff88a1eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff88a1eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff88a1eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff88a1eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff88a31aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff88a31aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff88a31aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff88a32ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff88a32ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff88a32ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff88a324c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff88a324c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff88a324c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff88a3eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff88a3eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff88a3eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff88a48484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff88a48484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff88a48484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff889ac9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff889ac9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff889ac9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff889ac9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff88e9b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff88e9b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff88e9b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff889bfd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff889bfd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff889bfd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff889da05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff889da05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff889da05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff889da05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff889da05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff889da2b8 clang::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 0x0000ffff889da5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff889da7cc clang::ento::CoreEngine::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 0x0000ffff889dab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff889dab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff889dab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff889dab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff889dab14 clang::ento::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 0x0000ffff88ca52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff88ca52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff88ca52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff88ca52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff88ca52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff88ca6278 llvm::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 0x0000ffff88ca6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff88ca6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff88caa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff88caa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff88caa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff88caa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff88caa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff87101b88 __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 0x0000ffff87101b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff87101b88 void clang::finalize>, 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 0x0000ffff87101b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff887c5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8877d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8877d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8877d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff888036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad24959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad24994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad249aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad2491fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7fd0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7fd00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad24920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/handle_constructors_for_default_arguments.cpp.script: line 1: 37023 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -analyze -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_for_default_arguments.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/global_region_invalidation.mm (784 of 19719) ******************** TEST 'Clang :: Analysis/global_region_invalidation.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global_region_invalidation.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global_region_invalidation.mm 1. parser at end of file 2. While analyzing stack: #0 Calling testWrappedStaticsViaGlobal() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global_region_invalidation.mm:176:7: Error evaluating branch #0 0x0000ffff8953ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff89539180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8953b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff924f87e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff917f0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff917f0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff917f0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff917f0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff917f0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff917f0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff917f0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff917f0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9149e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9149e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9149e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9149e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9149eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9149eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9149eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9149eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff914b1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff914b1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff914b1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff914b2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff914b2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff914b2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff914b24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff914b24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff914b24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff914beb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff914beb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff914beb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff914c8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff914c8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff914c8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9142c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9142c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9142c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9142c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9191b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9191b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9191b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff91442bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff91442bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff91442bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff91442bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff91442bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff91442bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff91442bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff91442bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff91442bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff91442bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff91443130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff9145ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9145ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9145ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9145ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9145ab14 clang::ento::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 0x0000ffff917252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff917252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff917252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff917252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff917252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff91726278 llvm::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 0x0000ffff91726278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff91726278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9172a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9172a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9172a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9172a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9172a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8fb81b88 __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 0x0000ffff8fb81b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8fb81b88 void clang::finalize>, 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 0x0000ffff8fb81b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff91245600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff911fd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff911fd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff911fd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff912836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac44759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac44794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac447aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac4471fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8878098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff88780a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac44720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/global_region_invalidation.mm.script: line 1: 37015 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global_region_invalidation.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/goto.c (785 of 19719) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/goto.c' FAILED ******************** Script: -- : 'RUN: at line 10'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/goto.c.tmp.output : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/goto.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/goto.c : 'RUN: at line 12'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/goto.c.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/goto.c --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/goto.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/goto.c 1. parser at end of file 2. While analyzing stack: #0 Calling goto_test 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/goto.c:3:7: Error evaluating branch #0 0x0000ffffa111ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa1119180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa111b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffaa0dd7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa93d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa93d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa93d0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa93d0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa93d0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa93d0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa93d0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa93d0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa907e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa907e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa907e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa907e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa907eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa907eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa907eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa907eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa9092c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa9092c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa9092c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa9092f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa9092f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa9092f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffa90924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa90924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa90924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa909eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa909eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa909eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa90a8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa90a8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa90a8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa900c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa900c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa900c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa900c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa94fb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa94fb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa94fb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa9022bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa9022bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa9022bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa9022bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa9022bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa9022bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa9022bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa9022bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa9022bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa9022bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa9023130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa903ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa903ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa903ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa903ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa903ab14 clang::ento::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 0x0000ffffa93052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa93052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa93052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa93052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa93052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa9306278 llvm::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 0x0000ffffa9306278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa9306278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa930a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa930a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa930a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa930a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa930a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa7761b88 __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 0x0000ffffa7761b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa7761b88 void clang::finalize>, 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 0x0000ffffa7761b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa8e25600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa8ddd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa8ddd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa8ddd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa8e636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab03e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab03e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab03eaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab03e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa036098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa0360a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab03e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/goto.c.script: line 3: 37062 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/goto.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/goto.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/global-region-invalidation-errno.c (786 of 19719) ******************** TEST 'Clang :: Analysis/global-region-invalidation-errno.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation-errno.c -analyzer-checker=core,deadcode,alpha.security.taint -DERRNO_VAR : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation-errno.c -analyzer-checker=core,deadcode,alpha.security.taint -DERRNO_FUNC -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation-errno.c -analyzer-checker=core,deadcode,alpha.security.taint -DERRNO_VAR 1. parser at end of file 2. While analyzing stack: #0 Calling testErrnoInternal 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation-errno.c:43:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation-errno.c:43:3: Error evaluating statement #0 0x0000ffff8db0ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8db09180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8db0b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff96ac07e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff95c82e88 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff95c82e88 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff95c82e88 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff95c82e88 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff95c82e88 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff95c82e88 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 0x0000ffff95c82e88 get<(anonymous namespace)::TaintMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff95c82e88 clang::ento::taint::getTaintedSymbolsImpl(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, unsigned int, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Taint.cpp:266:55 #12 0x0000ffff95c79078 llvm::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 0x0000ffff95c79078 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff95c79078 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff95c79078 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 0x0000ffff95c793e0 clang::ento::taint::isTainted(llvm::IntrusiveRefCntPtr, clang::ento::SVal, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Taint.cpp:155:0 #17 0x0000ffff95b42860 (anonymous namespace)::getTaintedPointeeOrPointer(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:145:0 #18 0x0000ffff95b643b8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:939:0 #19 0x0000ffff95b643b8 operator()<(anonymous namespace)::GenericTaintRule::process(const (anonymous namespace)::GenericTaintChecker&, const clang::ento::CallEvent&, clang::ento::CheckerContext&) const:: > /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:905:0 #20 0x0000ffff95b643b8 (anonymous namespace)::GenericTaintRule::process((anonymous namespace)::GenericTaintChecker const&, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:936:0 #21 0x0000ffff95b665ec getPrintfFormatArgumentNum /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:1047:0 #22 0x0000ffff95b665ec checkUncontrolledFormatString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:1069:0 #23 0x0000ffff95b665ec checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:825:0 #24 0x0000ffff95b665ec void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::GenericTaintChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:0 #25 0x0000ffff959e67b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffff959e67b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffff959e67b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #28 0x0000ffff959e67b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #29 0x0000ffff959e67b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #30 0x0000ffff95a46b50 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #31 0x0000ffff95a46b50 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #32 0x0000ffff95a46b50 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #33 0x0000ffff95a46b50 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #34 0x0000ffff95a46b50 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #35 0x0000ffff95a46b50 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #36 0x0000ffff95a46b50 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:683:44 #37 0x0000ffff95a474f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #38 0x0000ffff95a29250 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #39 0x0000ffff95a29250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #40 0x0000ffff95a2a2b8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #41 0x0000ffff95a2a5a0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #42 0x0000ffff95a2a7cc clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #43 0x0000ffff95a2ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffff95a2ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffff95a2ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #46 0x0000ffff95a2ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #47 0x0000ffff95a2ab14 clang::ento::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 0x0000ffff95cf52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #49 0x0000ffff95cf52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #50 0x0000ffff95cf52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #51 0x0000ffff95cf52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #52 0x0000ffff95cf52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #53 0x0000ffff95cf6278 llvm::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 0x0000ffff95cf6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x0000ffff95cf6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #56 0x0000ffff95cfa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffff95cfa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffff95cfa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x0000ffff95cfa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x0000ffff95cfa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x0000ffff94151b88 __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 0x0000ffff94151b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x0000ffff94151b88 void clang::finalize>, 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 0x0000ffff94151b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x0000ffff95815600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #66 0x0000ffff957cd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #67 0x0000ffff957cd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #68 0x0000ffff957cd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #69 0x0000ffff958536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #70 0x0000aaaace5f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x0000aaaace5f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x0000aaaace5faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #73 0x0000aaaace5f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #74 0x0000ffff8cd5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #75 0x0000ffff8cd50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #76 0x0000aaaace5f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/global-region-invalidation-errno.c.script: line 2: 37005 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation-errno.c -analyzer-checker=core,deadcode,alpha.security.taint -DERRNO_VAR -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/multifile.c (787 of 19719) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/multifile.c' FAILED ******************** Script: -- : 'RUN: at line 11'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multifile.c.tmp.output : 'RUN: at line 12'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multifile.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multifile.c : 'RUN: at line 13'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multifile.c.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multifile.c --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multifile.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multifile.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multifile.c:5:7: Error evaluating branch #0 0x0000ffffb4faad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb4fa9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb4fab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbdf687e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbd260e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbd260e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbd260e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbd260e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbd260e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbd260e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbd260e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbd260e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbcf0e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbcf0e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbcf0e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbcf0e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbcf0eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbcf0eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbcf0eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbcf0eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbcf22c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbcf22c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbcf22c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffbcf22f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbcf22f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbcf22f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffbcf224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbcf224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbcf224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbcf2eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbcf2eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbcf2eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbcf38484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbcf38484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbcf38484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbce9c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbce9c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbce9c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbce9c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbd38b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbd38b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbd38b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbceb2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffbceb2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffbceb2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffbceb2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffbceb2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffbceb2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffbceb2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffbceb2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffbceb2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffbceb2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffbceb3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffbcecab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffbcecab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffbcecab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffbcecab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffbcecab14 clang::ento::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 0x0000ffffbd1952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffbd1952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffbd1952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffbd1952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffbd1952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffbd196278 llvm::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 0x0000ffffbd196278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffbd196278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffbd19a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffbd19a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffbd19a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffbd19a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffbd19a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffbb5f1b88 __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 0x0000ffffbb5f1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffbb5f1b88 void clang::finalize>, 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 0x0000ffffbb5f1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffbccb5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffbcc6d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffbcc6d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffbcc6d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffbccf36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae99759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae99794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae997aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae9971fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb41f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb41f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae99720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multifile.c.script: line 3: 37081 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multifile.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multifile.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/control-arrows.cpp (788 of 19719) ******************** TEST 'Clang :: Analysis/html_diagnostics/control-arrows.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -fR /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/Output/control-arrows.cpp.tmp : 'RUN: at line 2'; mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/Output/control-arrows.cpp.tmp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/Output/control-arrows.cpp.tmp -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/control-arrows.cpp : 'RUN: at line 5'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/Output/control-arrows.cpp.tmp/report-*.html | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/control-arrows.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/Output/control-arrows.cpp.tmp -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/control-arrows.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foobar(_Bool, int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/control-arrows.cpp:12:7: Error evaluating branch #0 0x0000ffff8bb9ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8bb99180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8bb9b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff94b597e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff93e50e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff93e50e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff93e50e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff93e50e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff93e50e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff93e50e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff93e50e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff93e50e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff93afe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff93afe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff93afe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff93afe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff93afec90 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff93afec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff93afec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff93afec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff93b12c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff93b12c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff93b12c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff93b12f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff93b12f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff93b12f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff93b124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff93b124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff93b124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff93b1eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff93b1eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff93b1eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff93b28484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff93b28484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff93b28484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff93a8c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff93a8c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff93a8c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff93a8c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff93f7b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff93f7b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff93f7b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff93aa2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff93aa2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff93aa2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff93aa2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff93aa2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff93aa2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff93aa2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff93aa2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff93aa2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff93aa2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff93aa3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff93abab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff93abab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff93abab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff93abab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff93abab14 clang::ento::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 0x0000ffff93d852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff93d852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff93d852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff93d852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff93d852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff93d86278 llvm::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 0x0000ffff93d86278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff93d86278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff93d8a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff93d8a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff93d8a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff93d8a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff93d8a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff921e1b88 __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 0x0000ffff921e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff921e1b88 void clang::finalize>, 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 0x0000ffff921e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff938a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9385d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9385d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9385d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff938e36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac6a559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac6a594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac6a5aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac6a51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8ade098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8ade0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac6a520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/Output/control-arrows.cpp.script: line 4: 37059 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/Output/control-arrows.cpp.tmp -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/control-arrows.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/macros_same_file.c (789 of 19719) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/macros_same_file.c' FAILED ******************** Script: -- : 'RUN: at line 12'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/macros_same_file.c.tmp.output : 'RUN: at line 13'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/macros_same_file.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/macros_same_file.c : 'RUN: at line 14'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/macros_same_file.c.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/macros_same_file.c --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/macros_same_file.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/macros_same_file.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/macros_same_file.c:4:7: Error evaluating branch #0 0x0000ffff7d9aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7d9a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7d9ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8696f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff85c60e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff85c60e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff85c60e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff85c60e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff85c60e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff85c60e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff85c60e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff85c60e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8590e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8590e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8590e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8590e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8590eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8590eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8590eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8590eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff85922c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff85922c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff85922c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff85922f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff85922f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff85922f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff859224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff859224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff859224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8592eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8592eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8592eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff85938484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff85938484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff85938484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8589c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8589c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8589c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8589c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff85d8b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff85d8b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff85d8b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff858b2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff858b2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff858b2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff858b2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff858b2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff858b2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff858b2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff858b2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff858b2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff858b2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff858b3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff858cab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff858cab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff858cab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff858cab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff858cab14 clang::ento::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 0x0000ffff85b952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff85b952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff85b952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff85b952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff85b952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff85b96278 llvm::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 0x0000ffff85b96278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff85b96278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff85b9a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff85b9a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff85b9a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff85b9a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff85b9a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff83ff1b88 __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 0x0000ffff83ff1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff83ff1b88 void clang::finalize>, 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 0x0000ffff83ff1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff856b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8566d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8566d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8566d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff856f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac8b859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac8b894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac8b8aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac8b81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7cbf098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7cbf0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac8b820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/macros_same_file.c.script: line 3: 37071 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/macros_same_file.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/macros_same_file.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/multiline_func_def.c (790 of 19719) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/multiline_func_def.c' FAILED ******************** Script: -- : 'RUN: at line 13'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multiline_func_def.c.tmp.output : 'RUN: at line 14'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multiline_func_def.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multiline_func_def.c : 'RUN: at line 15'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multiline_func_def.c.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multiline_func_def.c --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multiline_func_def.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multiline_func_def.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multiline_func_def.c:5:7: Error evaluating branch #0 0x0000ffffa145ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa1459180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa145b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffaa4157e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa9710e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa9710e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa9710e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa9710e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa9710e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa9710e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa9710e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa9710e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa93be018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa93be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa93be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa93be018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa93beef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa93beef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa93beef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa93beef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa93d2c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa93d2c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa93d2c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa93d2f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa93d2f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa93d2f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffa93d24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa93d24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa93d24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa93deb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa93deb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa93deb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa93e8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa93e8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa93e8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa934c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa934c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa934c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa934c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa983b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa983b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa983b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa9362bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa9362bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa9362bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa9362bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa9362bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa9362bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa9362bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa9362bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa9362bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa9362bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa9363130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa937ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa937ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa937ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa937ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa937ab14 clang::ento::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 0x0000ffffa96452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa96452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa96452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa96452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa96452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa9646278 llvm::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 0x0000ffffa9646278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa9646278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa964a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa964a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa964a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa964a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa964a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa7aa1b88 __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 0x0000ffffa7aa1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa7aa1b88 void clang::finalize>, 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 0x0000ffffa7aa1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa9165600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa911d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa911d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa911d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa91a36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabf1859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabf1894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabf18aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabf181fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa06a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa06a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabf1820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multiline_func_def.c.script: line 3: 37085 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multiline_func_def.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multiline_func_def.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/objcmethods.m (791 of 19719) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/objcmethods.m' FAILED ******************** Script: -- : 'RUN: at line 16'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/objcmethods.m.tmp.output : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/objcmethods.m.tmp.output -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m : 'RUN: at line 18'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/objcmethods.m.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m:5:17: warning: method definition for 'func' not found [-Wincomplete-implementation] 5 | @implementation I | ^ 6 | - (int)func:(int *)param { 7 | return *param; 8 | } 9 | @end /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m:2:1: note: method 'func' declared here 2 | - (int)func; | ^ PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/objcmethods.m.tmp.output -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m 1. parser at end of file 2. While analyzing stack: #0 Calling foo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m:13:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m:13:3: Error evaluating statement #0 0x0000ffff9e01ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9e019180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9e01b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa6fdf7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa62d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa62d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa62d0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa62d0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa62d0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa62d0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa62d0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa62d0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa5f7e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa5f7e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa5f7e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa5f7e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa5f7eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa5f7eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa5f7eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa5f7eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa5f91aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa5f91aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa5f91aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa5f92ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa5f92ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa5f92ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa5f924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa5f924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa5f924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa5f9eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa5f9eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa5f9eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa5fa8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa5fa8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa5fa8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa5f0c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa5f0c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa5f0c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa5f0c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa63fb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa63fb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa63fb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa5f6eafc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffa5f6eafc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffa5f6eafc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffa5f6eafc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffa5f6eafc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffa5f6eafc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffffa5f38de8 clang::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 0x0000ffffa5f38de8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffffa5f3a2b8 clang::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 0x0000ffffa5f3a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa5f3a7cc clang::ento::CoreEngine::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 0x0000ffffa5f3ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa5f3ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa5f3ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa5f3ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa5f3ab14 clang::ento::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 0x0000ffffa62052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa62052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa62052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa62052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa62052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa6206278 llvm::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 0x0000ffffa6206278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa6206278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa620a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa620a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa620a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa620a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa620a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa4661b88 __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 0x0000ffffa4661b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa4661b88 void clang::finalize>, 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 0x0000ffffa4661b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa5d25600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa5cdd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa5cdd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa5cdd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa5d636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaada7e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaada7e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaada7eaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaada7e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9d26098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9d260a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaada7e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/objcmethods.m.script: line 3: 37094 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/objcmethods.m.tmp.output -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/gmalloc.c (792 of 19719) ******************** TEST 'Clang :: Analysis/gmalloc.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gmalloc.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gmalloc.c 1. parser at end of file 2. While analyzing stack: #0 Calling f8 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gmalloc.c:177:36: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gmalloc.c:177:36: Error evaluating statement #0 0x0000ffff97adad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff97ad9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff97adb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa0a947e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9fd776d0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9fd776d0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9fd776d0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9fd776d0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9fd776d0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9fd776d0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9fd776d0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9fd776d0 (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 0x0000ffff9fb85990 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff9fb85990 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff9fb85990 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 0x0000ffff9f9995a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff9f9995a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff9f9995a8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff9f9995a8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff9fa5ebf4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff9fa5ebf4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff9fa5ebf4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff9fa5ebf4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff9fa68484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff9fa68484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff9fa68484 clang::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 0x0000ffff9f9ccae8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9f9ccae8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9f9ccae8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff9f9ccae8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff9febb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9febb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9febb004 clang::ento::ProgramState::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 0x0000ffff9fb91ba0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff9fb91ba0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff9fb91ba0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff9fb91ba0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff9fb91ba0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff9fb91ba0 (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 0x0000ffff9fb92ea4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff9fb92ea4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff9fb92ea4 (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 0x0000ffff9fb9e4d0 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff9fb9e4d0 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 0x0000ffff9f9b67b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff9f9b67b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff9f9b67b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff9f9b67b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff9f9b67b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff9fa16c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff9fa16c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff9fa16c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff9fa16c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff9fa16c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff9fa16c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff9fa174f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff9f9f9250 clang::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 0x0000ffff9f9f9250 clang::ento::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 0x0000ffff9f9fa2b8 clang::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 0x0000ffff9f9fa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9f9fa7cc clang::ento::CoreEngine::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 0x0000ffff9f9fab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff9f9fab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff9f9fab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff9f9fab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff9f9fab14 clang::ento::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 0x0000ffff9fcc52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff9fcc52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff9fcc52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff9fcc52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff9fcc52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff9fcc6278 llvm::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 0x0000ffff9fcc6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff9fcc6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff9fcca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff9fcca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff9fcca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff9fcca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff9fcca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff9e121b88 __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 0x0000ffff9e121b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff9e121b88 void clang::finalize>, 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 0x0000ffff9e121b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff9f7e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff9f79d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff9f79d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff9f79d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff9f8236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaab60d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaab60d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaab60daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaab60d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff96d2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff96d20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaab60d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/gmalloc.c.script: line 1: 37018 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gmalloc.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp (796 of 19719) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp' FAILED ******************** Script: -- : 'RUN: at line 22'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/synthesized_body.cpp.tmp.output : 'RUN: at line 23'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/synthesized_body.cpp.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp : 'RUN: at line 24'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/synthesized_body.cpp.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/synthesized_body.cpp.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling std::once_flag_s::once_flag_s() at line 16 #1 Calling call_deref_once() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp:3:16: Error evaluating statement #0 0x0000ffffacd8ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffacd89180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffacd8b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb5d4f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb4c950b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb4c950b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb4c950b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb4c950b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb4c950b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb4c950b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb4c950b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb4c950b8 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 0x0000ffffb4caa244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffb4caa244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffb4caa244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffb4caa244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffb4caa244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffb4caa244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffb4caa244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffb4caa244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffb4caa244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffb4caa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb4caa6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffb4caa98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffb4caab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffb4caab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffb4caab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffb4caab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffb4caab14 clang::ento::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 0x0000ffffb4f752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffb4f752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffb4f752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffb4f752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffb4f752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffb4f76278 llvm::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 0x0000ffffb4f76278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffb4f76278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffb4f7a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffb4f7a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffb4f7a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffb4f7a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffb4f7a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffb33d1b88 __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 0x0000ffffb33d1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffb33d1b88 void clang::finalize>, 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 0x0000ffffb33d1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffb4a95600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffb4a4d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffb4a4d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffb4a4d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffb4ad36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaac07459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaac07494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaac074aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaac0741fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffabfd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffabfd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaac07420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/synthesized_body.cpp.script: line 3: 37109 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/synthesized_body.cpp.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/implicit-ctor-undef-value.cpp (797 of 19719) ******************** TEST 'Clang :: Analysis/implicit-ctor-undef-value.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/implicit-ctor-undef-value.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/implicit-ctor-undef-value.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling base_class_constructor::D::D() at line 71 #1 Calling base_class_constructor::test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/implicit-ctor-undef-value.cpp:67:8: Error evaluating statement #0 0x0000ffffa322ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa3229180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa322b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffac1e77e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffab1350b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffab1350b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffab1350b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffab1350b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffab1350b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffab1350b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffab1350b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffab1350b8 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 0x0000ffffab14a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffab14a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffab14a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffab14a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffab14a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffab14a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffab14a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffab14a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffab14a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffab14a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffab14a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffab14a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffab14ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffab14ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffab14ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffab14ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffab14ab14 clang::ento::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 0x0000ffffab4152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffab4152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffab4152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffab4152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffab4152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffab416278 llvm::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 0x0000ffffab416278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffab416278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffab41a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffab41a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffab41a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffab41a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffab41a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffa9871b88 __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 0x0000ffffa9871b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffa9871b88 void clang::finalize>, 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 0x0000ffffa9871b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffaaf35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffaaeed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffaaeed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffaaeed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffaaf736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaabce659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaabce694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaabce6aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaabce61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffa247098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffa2470a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaabce620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/implicit-ctor-undef-value.cpp.script: line 1: 37139 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/implicit-ctor-undef-value.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/simple_conditional.c (798 of 19719) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/simple_conditional.c' FAILED ******************** Script: -- : 'RUN: at line 10'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/simple_conditional.c.tmp.output : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/simple_conditional.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/simple_conditional.c : 'RUN: at line 12'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/simple_conditional.c.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/simple_conditional.c --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/simple_conditional.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/simple_conditional.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/simple_conditional.c:2:7: Error evaluating branch #0 0x0000ffffb3b2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb3b29180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb3b2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbcae97e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbbde0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbbde0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbbde0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbbde0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbbde0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbbde0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbbde0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbbde0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbba8e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbba8e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbba8e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbba8e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbba8eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbba8eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbba8eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbba8eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbbaa2c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbbaa2c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbbaa2c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffbbaa2f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbbaa2f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbbaa2f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffbbaa24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbbaa24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbbaa24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbbaaeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbbaaeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbbaaeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbbab8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbbab8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbbab8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbba1c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbba1c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbba1c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbba1c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbbf0b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbbf0b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbbf0b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbba32bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffbba32bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffbba32bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffbba32bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffbba32bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffbba32bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffbba32bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffbba32bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffbba32bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffbba32bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffbba33130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffbba4ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffbba4ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffbba4ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffbba4ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffbba4ab14 clang::ento::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 0x0000ffffbbd152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffbbd152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffbbd152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffbbd152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffbbd152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffbbd16278 llvm::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 0x0000ffffbbd16278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffbbd16278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffbbd1a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffbbd1a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffbbd1a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffbbd1a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffbbd1a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffba171b88 __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 0x0000ffffba171b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffba171b88 void clang::finalize>, 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 0x0000ffffba171b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffbb835600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffbb7ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffbb7ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffbb7ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffbb8736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaaad859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaaad894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaaad8aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaaad81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb2d7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb2d70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaaad820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/simple_conditional.c.script: line 3: 37098 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/simple_conditional.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/simple_conditional.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/switch_default.c (799 of 19719) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/switch_default.c' FAILED ******************** Script: -- : 'RUN: at line 17'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch_default.c.tmp.output : 'RUN: at line 18'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch_default.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch_default.c : 'RUN: at line 19'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch_default.c.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch_default.c --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch_default.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch_default.c 1. parser at end of file #0 0x0000ffffa24fad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa24f9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa24fb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffab4b77e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffaa7b0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaa7b0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaa7b0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaa7b0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaa7b0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaa7b0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaa7b0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaa7b0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaa45e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaa45e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaa45e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaa45e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaa460038 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaa460038 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaa460038 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaa460038 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffffaa472188 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaa472188 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaa472188 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffffaa4726e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaa4726e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaa4726e4 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffffaa3ed018 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaa3ed018 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaa3ed018 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffffaa3ed018 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffffaa4034e8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffaa4034e8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffaa4034e8 clang::ento::ProgramState::assumeInclusiveRange(clang::ento::DefinedOrUnknownSVal, llvm::APSInt const&, llvm::APSInt const&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:746:43 #33 0x0000ffffaa4034e8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #34 0x0000ffffaa40aebc clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #35 0x0000ffffaa41ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffaa41ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffaa41ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffaa41ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffaa41ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffffaa6e52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffaa6e52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffaa6e52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffaa6e52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffaa6e52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffaa6e6278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffffaa6e6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffaa6e6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffaa6ea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffaa6ea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffaa6ea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffaa6ea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffaa6ea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffa8b41b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffffa8b41b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffa8b41b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffffa8b41b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffaa205600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffaa1bd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffaa1bd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffaa1bd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffaa2436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaaaf1559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaaaf1594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaaaf15aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaaaf151fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffffa174098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffffa1740a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaaaf1520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch_default.c.script: line 3: 37108 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch_default.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch_default.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/initializer.cpp (800 of 19719) ******************** TEST 'Clang :: Analysis/initializer.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initializer.cpp -analyzer-checker=core,unix.Malloc,cplusplus.NewDeleteLeaks -analyzer-checker=debug.ExprInspection -std=c++11 : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initializer.cpp -analyzer-checker=core,unix.Malloc,cplusplus.NewDeleteLeaks -analyzer-checker=debug.ExprInspection -std=c++17 : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initializer.cpp -analyzer-checker=core,unix.Malloc,cplusplus.NewDeleteLeaks -analyzer-checker=debug.ExprInspection -std=c++11 -DTEST_INLINABLE_ALLOCATORS : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initializer.cpp -analyzer-checker=core,unix.Malloc,cplusplus.NewDeleteLeaks -analyzer-checker=debug.ExprInspection -std=c++17 -DTEST_INLINABLE_ALLOCATORS -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initializer.cpp -analyzer-checker=core,unix.Malloc,cplusplus.NewDeleteLeaks -analyzer-checker=debug.ExprInspection -std=c++11 1. parser at end of file 2. While analyzing stack: #0 Calling dont_skip_vbase_initializers_in_most_derived_class::I::I() at line 364 #1 Calling dont_skip_vbase_initializers_in_most_derived_class::testI() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initializer.cpp:360:10: Error evaluating statement #0 0x0000ffff9aa3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9aa39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9aa3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa39f57e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa29450b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa29450b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa29450b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa29450b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa29450b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa29450b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa29450b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa29450b8 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 0x0000ffffa295a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffa295a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffa295a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffa295a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffa295a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffa295a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffa295a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffa295a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffa295a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffa295a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa295a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffa295a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffa295ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffa295ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffa295ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffa295ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffa295ab14 clang::ento::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 0x0000ffffa2c252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffa2c252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffa2c252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffa2c252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffa2c252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffa2c26278 llvm::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 0x0000ffffa2c26278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffa2c26278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffa2c2a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffa2c2a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffa2c2a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffa2c2a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffa2c2a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffa1081b88 __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 0x0000ffffa1081b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffa1081b88 void clang::finalize>, 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 0x0000ffffa1081b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffa2745600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffa26fd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffa26fd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffa26fd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffa27836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaac31f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaac31f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaac31faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaac31f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff99c8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff99c80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaac31f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/initializer.cpp.script: line 4: 37161 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initializer.cpp -analyzer-checker=core,unix.Malloc,cplusplus.NewDeleteLeaks -analyzer-checker=debug.ExprInspection -std=c++11 -- ******************** Testing: 0 FAIL: Clang :: Analysis/infeasible-crash.c (801 of 19719) ******************** TEST 'Clang :: Analysis/infeasible-crash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/infeasible-crash.c -analyzer-checker=core -analyzer-checker=alpha.unix.cstring.OutOfBounds,alpha.unix.cstring.UninitializedRead -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/infeasible-crash.c -analyzer-checker=core -analyzer-checker=alpha.unix.cstring.OutOfBounds,alpha.unix.cstring.UninitializedRead -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling d 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/infeasible-crash.c:21:11: Error evaluating statement #0 0x0000ffff86abad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff86ab9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff86abb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8fa797e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8ea1a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8ea1a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8ea1a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8ea1a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff8ea1a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff8ea1a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff8e9c53bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff8e9c53bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff8e9c53bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8e9da244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff8e9da244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff8e9da244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff8e9da244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff8e9da244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff8e9da244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff8e9da244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff8e9da244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff8e9da244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff8e9da5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8e9da6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff8e9da98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff8e9dab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff8e9dab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff8e9dab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff8e9dab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff8e9dab14 clang::ento::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 0x0000ffff8eca52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8eca52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8eca52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff8eca52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff8eca52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff8eca6278 llvm::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 0x0000ffff8eca6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff8eca6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff8ecaa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff8ecaa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff8ecaa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff8ecaa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff8ecaa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff8d101b88 __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 0x0000ffff8d101b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff8d101b88 void clang::finalize>, 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 0x0000ffff8d101b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff8e7c5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff8e77d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff8e77d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff8e77d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff8e8036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaac8c759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaac8c794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaac8c7aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaac8c71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff85d0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff85d00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaac8c720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/infeasible-crash.c.script: line 1: 37147 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/infeasible-crash.c -analyzer-checker=core -analyzer-checker=alpha.unix.cstring.OutOfBounds,alpha.unix.cstring.UninitializedRead -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/switch.c (802 of 19719) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/switch.c' FAILED ******************** Script: -- : 'RUN: at line 17'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch.c.tmp.output : 'RUN: at line 18'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch.c : 'RUN: at line 19'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch.c.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch.c --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch.c 1. parser at end of file #0 0x0000ffff7c06ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7c069180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7c06b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8502b7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff84320e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff84320e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff84320e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff84320e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff84320e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff84320e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff84320e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff84320e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff83fce018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff83fce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff83fce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff83fce018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff83fd0038 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff83fd0038 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff83fd0038 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff83fd0038 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffff83fe2188 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff83fe2188 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff83fe2188 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffff83fe26e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff83fe26e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff83fe26e4 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffff83f5d018 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff83f5d018 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff83f5d018 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffff83f5d018 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffff83f734e8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff83f734e8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff83f734e8 clang::ento::ProgramState::assumeInclusiveRange(clang::ento::DefinedOrUnknownSVal, llvm::APSInt const&, llvm::APSInt const&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:746:43 #33 0x0000ffff83f734e8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #34 0x0000ffff83f7aebc clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #35 0x0000ffff83f8ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff83f8ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff83f8ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff83f8ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff83f8ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffff842552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff842552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff842552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff842552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff842552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff84256278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffff84256278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff84256278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff8425a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff8425a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff8425a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff8425a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff8425a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff826b1b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffff826b1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff826b1b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffff826b1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff83d75600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff83d2d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff83d2d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff83d2d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff83db36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaae40459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaae40494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaae404aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaae4041fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff7b2b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff7b2b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaae40420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch.c.script: line 3: 37102 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/infeasible-sink.c (803 of 19719) ******************** TEST 'Clang :: Analysis/infeasible-sink.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/infeasible-sink.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/infeasible-sink.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/infeasible-sink.c:43:7: Error evaluating branch #0 0x0000ffffab87ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffab879180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffab87b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb48317e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb3b30e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb3b30e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb3b30e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb3b30e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb3b30e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb3b30e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb3b30e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb3b30e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb37de018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb37de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb37de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb37de018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb37deef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb37deef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb37deef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb37deef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb37f1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb37f1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb37f1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb37f2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb37f2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb37f2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb37f24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb37f24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb37f24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb37feb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb37feb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb37feb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb3808484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb3808484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb3808484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb376c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb376c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb376c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb376c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb3c5b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb3c5b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb3c5b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb3782bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb3782bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb3782bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb3782bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb3782bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb3782bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb3782bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb3782bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb3782bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb3782bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb3783130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb379ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb379ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb379ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb379ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb379ab14 clang::ento::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 0x0000ffffb3a652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb3a652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb3a652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb3a652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb3a652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb3a66278 llvm::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 0x0000ffffb3a66278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb3a66278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb3a6a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb3a6a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb3a6a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb3a6a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb3a6a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb1ec1b88 __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 0x0000ffffb1ec1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb1ec1b88 void clang::finalize>, 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 0x0000ffffb1ec1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb3585600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb353d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb353d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb353d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb35c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac65c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac65c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac65caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac65c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffaaac098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffaaac0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac65c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/infeasible-sink.c.script: line 1: 37151 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/infeasible-sink.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/inline4.c (804 of 19719) ******************** TEST 'Clang :: Analysis/inline4.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline4.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline4.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline4.c:11:12: Error evaluating branch #0 0x0000ffffadaead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffadae9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffadaeb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb6aa67e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb5da0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb5da0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb5da0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb5da0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb5da0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb5da0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb5da0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb5da0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb5a4e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb5a4e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb5a4e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb5a4e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb5a4eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb5a4eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb5a4eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb5a4eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb5a62c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb5a62c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb5a62c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffb5a62f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb5a62f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb5a62f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffb5a624c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb5a624c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb5a624c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb5a6eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb5a6eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb5a6eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb5a78484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb5a78484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb5a78484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb59dc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb59dc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb59dc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb59dc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb5ecb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb5ecb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb5ecb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb59f2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb59f2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb59f2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb59f2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb59f2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb59f2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb59f2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb59f2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb59f2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb59f2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb59f3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb5a0ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb5a0ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb5a0ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb5a0ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb5a0ab14 clang::ento::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 0x0000ffffb5cd52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb5cd52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb5cd52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb5cd52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb5cd52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb5cd6278 llvm::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 0x0000ffffb5cd6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb5cd6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb5cda900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb5cda900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb5cda900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb5cda900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb5cda900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb4131b88 __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 0x0000ffffb4131b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb4131b88 void clang::finalize>, 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 0x0000ffffb4131b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb57f5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb57ad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb57ad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb57ad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb58336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaadbdf59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaadbdf94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaadbdfaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaadbdf1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffacd3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffacd30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaadbdf20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline4.c.script: line 1: 37194 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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/inline-plist.c (805 of 19719) ******************** TEST 'Clang :: Analysis/inline-plist.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-plist.c -analyzer-checker=core.NullDereference,core.DivideZero -fblocks -analyzer-output=text -analyzer-config suppress-null-return-paths=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-plist.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-plist.c -analyzer-checker=core.NullDereference,core.DivideZero -fblocks -analyzer-output=plist -analyzer-config suppress-null-return-paths=false -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline-plist.c.tmp : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling mmm at line 12 #1 Calling foo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-plist.c:7:7: Error evaluating branch #0 0x0000ffffa008ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa0089180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa008b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa904f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa8340e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa8340e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa8340e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa8340e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa8340e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa8340e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa8340e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa8340e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa7fee018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa7fee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa7fee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa7fee018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa7feeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa7feeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa7feeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa7feeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa8001aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa8001aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa8001aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa8002ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa8002ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa8002ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa80024c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa80024c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa80024c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa800eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa800eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa800eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa8018484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa8018484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa8018484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa7f7c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa7f7c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa7f7c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa7f7c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa846b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa846b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa846b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa7f92bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa7f92bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa7f92bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa7f92bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa7f92bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa7f92bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa7f92bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa7f92bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa7f92bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa7f92bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa7f93130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa7faab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa7faab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa7faab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa7faab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa7faab14 clang::ento::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 0x0000ffffa82752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa82752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa82752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa82752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa82752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa8276278 llvm::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 0x0000ffffa8276278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa8276278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa827a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa827a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa827a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa827a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa827a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa66d1b88 __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 0x0000ffffa66d1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa66d1b88 void clang::finalize>, 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 0x0000ffffa66d1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa7d95600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa7d4d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa7d4d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa7d4d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa7dd36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac81559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac81594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac815aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac8151fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9f2d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9f2d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac81520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline-plist.c.script: line 3: 37176 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-plist.c -analyzer-checker=core.NullDereference,core.DivideZero -fblocks -analyzer-output=text -analyzer-config suppress-null-return-paths=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-plist.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/unused_header.c (806 of 19719) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/unused_header.c' FAILED ******************** Script: -- : 'RUN: at line 16'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/unused_header.c.tmp.output : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/unused_header.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/unused_header.c : 'RUN: at line 18'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/unused_header.c.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/unused_header.c --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/unused_header.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/unused_header.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/unused_header.c:4:7: Error evaluating branch #0 0x0000ffffa8c9ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa8c99180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa8c9b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb1c567e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb0f50e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb0f50e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb0f50e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb0f50e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb0f50e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb0f50e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb0f50e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb0f50e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb0bfe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb0bfe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb0bfe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb0bfe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb0bfeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb0bfeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb0bfeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb0bfeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb0c12c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb0c12c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb0c12c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffb0c12f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb0c12f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb0c12f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffb0c124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb0c124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb0c124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb0c1eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb0c1eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb0c1eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb0c28484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb0c28484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb0c28484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb0b8c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb0b8c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb0b8c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb0b8c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb107b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb107b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb107b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb0ba2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb0ba2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb0ba2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb0ba2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb0ba2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb0ba2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb0ba2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb0ba2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb0ba2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb0ba2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb0ba3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb0bbab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb0bbab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb0bbab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb0bbab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb0bbab14 clang::ento::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 0x0000ffffb0e852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb0e852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb0e852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb0e852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb0e852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb0e86278 llvm::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 0x0000ffffb0e86278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb0e86278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb0e8a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb0e8a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb0e8a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb0e8a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb0e8a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffaf2e1b88 __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 0x0000ffffaf2e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffaf2e1b88 void clang::finalize>, 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 0x0000ffffaf2e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb09a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb095d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb095d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb095d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb09e36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae17259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae17294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae172aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae1721fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa7ee098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa7ee0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae17220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/unused_header.c.script: line 3: 37111 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/unused_header.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/unused_header.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/incorrect-checker-names.mm (807 of 19719) ******************** TEST 'Clang :: Analysis/incorrect-checker-names.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/incorrect-checker-names.mm -Wno-objc-root-class -analyzer-checker=core -analyzer-checker=alpha.core.StackAddressAsyncEscape -analyzer-checker=nullability -analyzer-checker=osx -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/incorrect-checker-names.mm -Wno-objc-root-class -analyzer-checker=core -analyzer-checker=alpha.core.StackAddressAsyncEscape -analyzer-checker=nullability -analyzer-checker=osx 1. parser at end of file 2. While analyzing stack: #0 Calling anonymous code 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/incorrect-checker-names.mm:148:5: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/incorrect-checker-names.mm:148:5: Error evaluating statement #0 0x0000ffff9c99ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9c999180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9c99b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa59547e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa4c50e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa4c50e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa4c50e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa4c50e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa4c50e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa4c50e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa4c50e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa4c50e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa48fe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa48fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa48fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa48fe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa48feef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa48feef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa48feef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa48feef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa4911aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa4911aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa4911aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa4912ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa4912ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa4912ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa49124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa49124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa49124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa491eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa491eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa491eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa4928484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa4928484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa4928484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa488c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa488c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa488c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa488c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa4d7b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa4d7b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa4d7b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa49ac500 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa49ac500 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa49ac500 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffa49ac500 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffa4876c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffa489f570 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffa489f570 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffa48a4b68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffffa48a4b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffa48a4b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffa48a4b68 clang::ento::ExprEngine::evalStore(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ento::SVal, clang::ProgramPointTag const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3628:15 #53 0x0000ffffa48adb34 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffa48adb34 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffa48adb34 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:74:0 #56 0x0000ffffa48b9f88 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #57 0x0000ffffa48ba2b8 clang::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 0x0000ffffa48ba5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa48ba7cc clang::ento::CoreEngine::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 0x0000ffffa48bab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffffa48bab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffffa48bab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #63 0x0000ffffa48bab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #64 0x0000ffffa48bab14 clang::ento::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 0x0000ffffa4b852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #66 0x0000ffffa4b852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #67 0x0000ffffa4b852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #68 0x0000ffffa4b852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #69 0x0000ffffa4b852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #70 0x0000ffffa4b86278 llvm::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 0x0000ffffa4b86278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x0000ffffa4b86278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #73 0x0000ffffa4b8a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x0000ffffa4b8a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x0000ffffa4b8a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x0000ffffa4b8a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x0000ffffa4b8a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x0000ffffa2fe1b88 __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 0x0000ffffa2fe1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x0000ffffa2fe1b88 void clang::finalize>, 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 0x0000ffffa2fe1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x0000ffffa46a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #83 0x0000ffffa465d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #84 0x0000ffffa465d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #85 0x0000ffffa465d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #86 0x0000ffffa46e36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #87 0x0000aaaada5859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x0000aaaada5894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x0000aaaada58aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x0000aaaada581fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x0000ffff9bbe098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #92 0x0000ffff9bbe0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #93 0x0000aaaada5820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/incorrect-checker-names.mm.script: line 1: 37145 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/incorrect-checker-names.mm -Wno-objc-root-class -analyzer-checker=core -analyzer-checker=alpha.core.StackAddressAsyncEscape -analyzer-checker=nullability -analyzer-checker=osx -- ******************** Testing: 0 FAIL: Clang :: Analysis/inline.cpp (808 of 19719) ******************** TEST 'Clang :: Analysis/inline.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config ipa=inlining -analyzer-config c++-allocator-inlining=true -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config ipa=inlining -analyzer-config c++-allocator-inlining=true -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling rdar12409977::Child::Child() at line 427 #1 Calling rdar12409977::test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline.cpp:422:10: Error evaluating statement #0 0x0000ffff9b86ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9b869180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9b86b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa48287e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa37750b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa37750b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa37750b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa37750b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa37750b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa37750b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa37750b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa37750b8 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 0x0000ffffa378a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffa378a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffa378a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffa378a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffa378a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffa378a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffa378a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffa378a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffa378a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffa378a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa378a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffa378a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffa378ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffa378ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffa378ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffa378ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffa378ab14 clang::ento::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 0x0000ffffa3a552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffa3a552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffa3a552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffa3a552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffa3a552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffa3a56278 llvm::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 0x0000ffffa3a56278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffa3a56278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffa3a5a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffa3a5a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffa3a5a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffa3a5a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffa3a5a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffa1eb1b88 __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 0x0000ffffa1eb1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffa1eb1b88 void clang::finalize>, 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 0x0000ffffa1eb1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffa3575600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffa352d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffa352d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffa352d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffa35b36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaab6dc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaab6dc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaab6dcaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaab6dc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff9aab098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff9aab0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaab6dc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline.cpp.script: line 1: 37184 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config ipa=inlining -analyzer-config c++-allocator-inlining=true -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inline3.c (809 of 19719) ******************** TEST 'Clang :: Analysis/inline3.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline3.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline3.c 1. parser at end of file 2. While analyzing stack: #0 Calling f1 at line 14 #1 Calling f2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline3.c:9:12: Error evaluating branch #0 0x0000ffff76a2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff76a29180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff76a2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff7f9e27e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff7ece0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7ece0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7ece0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7ece0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff7ece0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff7ece0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff7ece0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff7ece0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff7e98e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff7e98e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff7e98e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff7e98e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff7e98eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff7e98eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff7e98eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff7e98eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff7e9a2c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff7e9a2c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff7e9a2c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff7e9a2f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff7e9a2f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff7e9a2f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff7e9a24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7e9a24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7e9a24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff7e9aeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff7e9aeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff7e9aeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff7e9b8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff7e9b8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff7e9b8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff7e91c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff7e91c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff7e91c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff7e91c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff7ee0b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff7ee0b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff7ee0b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff7e932bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff7e932bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff7e932bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff7e932bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff7e932bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff7e932bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff7e932bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff7e932bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff7e932bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff7e932bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff7e933130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff7e94ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff7e94ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff7e94ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff7e94ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff7e94ab14 clang::ento::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 0x0000ffff7ec152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff7ec152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff7ec152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff7ec152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff7ec152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff7ec16278 llvm::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 0x0000ffff7ec16278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff7ec16278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff7ec1a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff7ec1a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff7ec1a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff7ec1a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff7ec1a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff7d071b88 __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 0x0000ffff7d071b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff7d071b88 void clang::finalize>, 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 0x0000ffff7d071b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff7e735600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff7e6ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff7e6ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff7e6ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff7e7736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac34959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac34994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac349aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac3491fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff75c7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff75c70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac34920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline3.c.script: line 1: 37192 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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/inline-not-supported.c (810 of 19719) ******************** TEST 'Clang :: Analysis/inline-not-supported.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-not-supported.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-not-supported.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_qux 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-not-supported.c:22:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-not-supported.c:22:3: Error evaluating statement #0 0x0000ffff9c81ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9c819180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9c81b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa57d77e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa4ad0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa4ad0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa4ad0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa4ad0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa4ad0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa4ad0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa4ad0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa4ad0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa477e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa477e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa477e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa477e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa477eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa477eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa477eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa477eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa4791aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa4791aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa4791aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa4792ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa4792ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa4792ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa47924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa47924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa47924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa479eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa479eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa479eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa47a8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa47a8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa47a8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa470c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa470c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa470c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa470c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa4bfb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa4bfb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa4bfb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa47e1bf8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa47e1bf8 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa47e1bf8 checkFunctionPointerCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:390:79 #45 0x0000ffffa47e1bf8 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:546:37 #46 0x0000ffffa47e1bf8 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::CallAndMessageChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:45 #47 0x0000ffffa46f67b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x0000ffffa46f67b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x0000ffffa46f67b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #50 0x0000ffffa46f67b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #51 0x0000ffffa46f67b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #52 0x0000ffffa4756b50 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x0000ffffa4756b50 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x0000ffffa4756b50 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #55 0x0000ffffa4756b50 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #56 0x0000ffffa4756b50 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #57 0x0000ffffa4756b50 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #58 0x0000ffffa4756b50 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:683:44 #59 0x0000ffffa47574f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #60 0x0000ffffa4739250 clang::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 0x0000ffffa4739250 clang::ento::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 0x0000ffffa473a2b8 clang::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 0x0000ffffa473a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa473a7cc clang::ento::CoreEngine::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 0x0000ffffa473ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffffa473ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffffa473ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffffa473ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffffa473ab14 clang::ento::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 0x0000ffffa4a052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffffa4a052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffffa4a052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffffa4a052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffffa4a052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffffa4a06278 llvm::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 0x0000ffffa4a06278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffffa4a06278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffffa4a0a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffffa4a0a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffffa4a0a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffffa4a0a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffffa4a0a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffffa2e61b88 __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 0x0000ffffa2e61b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffffa2e61b88 void clang::finalize>, 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 0x0000ffffa2e61b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffffa4525600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffffa44dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffffa44dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffffa44dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffffa45636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaad6a959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaad6a994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaad6a9aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaad6a91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffff9ba6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffff9ba60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaad6a920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline-not-supported.c.script: line 1: 37175 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-not-supported.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/identical-expressions.cpp (811 of 19719) ******************** TEST 'Clang :: Analysis/identical-expressions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.IdenticalExpr -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/identical-expressions.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.IdenticalExpr -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/identical-expressions.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_nowarn_inner_if_1(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/identical-expressions.cpp:1553:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/identical-expressions.cpp:1553:7: Error evaluating statement #0 0x0000ffff9272ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff92729180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9272b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9b6e47e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9a9e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9a9e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9a9e0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9a9e0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9a9e0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9a9e0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9a9e0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9a9e0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9a68e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9a68e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9a68e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9a68e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9a68eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9a68eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9a68eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9a68eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9a6a1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9a6a1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9a6a1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9a6a2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9a6a2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9a6a2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9a6a24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9a6a24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9a6a24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9a6aeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9a6aeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9a6aeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9a6b8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9a6b8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9a6b8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9a61c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9a61c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9a61c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9a61c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9ab0b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9ab0b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9ab0b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9a62fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9a62fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9a62fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff9a64a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff9a64a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff9a64a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff9a64a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff9a64a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff9a64a2b8 clang::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 0x0000ffff9a64a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9a64a7cc clang::ento::CoreEngine::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 0x0000ffff9a64ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9a64ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9a64ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9a64ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9a64ab14 clang::ento::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 0x0000ffff9a9152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9a9152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9a9152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9a9152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9a9152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9a916278 llvm::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 0x0000ffff9a916278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9a916278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9a91a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9a91a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9a91a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9a91a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9a91a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff98d71b88 __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 0x0000ffff98d71b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff98d71b88 void clang::finalize>, 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 0x0000ffff98d71b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9a435600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9a3ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9a3ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9a3ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9a4736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae9b259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae9b294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae9b2aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae9b21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9197098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff91970a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae9b220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/identical-expressions.cpp.script: line 1: 37130 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.IdenticalExpr -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/identical-expressions.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/false-positive-suppression.cpp (818 of 19719) ******************** TEST 'Clang :: Analysis/inlining/false-positive-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -DSUPPRESSED=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling Cleanups::testArgument() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.cpp:210:24: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.cpp:210:24: Error evaluating statement #0 0x0000ffffaf5aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffaf5a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffaf5ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb85687e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb74bb9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffb74bb9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb74bb9a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb74bb9a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb74bb9a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb74bb9a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb74bb9a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb74bb9a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffffb74bbd94 llvm::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 0x0000ffffb74bbd94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffb74bbd94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffb74bbd94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffffb74bbd94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffffb74bc2ac llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffffb74bc2ac llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffffb74bc2ac clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:486:0 #20 0x0000ffffb74c3db0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffffb74c3db0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffffb74c3db0 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 0x0000ffffb74c3db0 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 0x0000ffffb74c920c clang::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 0x0000ffffb74c920c clang::ento::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 0x0000ffffb74ca2b8 clang::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 0x0000ffffb74ca5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb74ca7cc clang::ento::CoreEngine::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 0x0000ffffb74cab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffffb74cab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffffb74cab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffffb74cab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffffb74cab14 clang::ento::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 0x0000ffffb77952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffffb77952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffffb77952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffffb77952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffffb77952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffffb7796278 llvm::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 0x0000ffffb7796278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffffb7796278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffffb779a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffffb779a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffffb779a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffffb779a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffffb779a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffffb5bf1b88 __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 0x0000ffffb5bf1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffffb5bf1b88 void clang::finalize>, 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 0x0000ffffb5bf1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffffb72b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffffb726d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffffb726d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffffb726d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffffb72f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaac07559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaac07594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaac075aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaac0751fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffffae7f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffffae7f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaac07520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/false-positive-suppression.cpp.script: line 2: 37235 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/inline-defensive-checks.cpp (819 of 19719) ******************** TEST 'Clang :: Analysis/inlining/inline-defensive-checks.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling get_deref_expr_with_cleanups::test_conjured() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.cpp:101:24: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.cpp:101:24: Error evaluating statement #0 0x0000ffffae2bad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffae2b9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffae2bb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb727d7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb61cb9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffb61cb9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb61cb9a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb61cb9a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb61cb9a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb61cb9a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb61cb9a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb61cb9a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffffb61cbd94 llvm::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 0x0000ffffb61cbd94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffb61cbd94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffb61cbd94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffffb61cbd94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffffb61cc1c8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #18 0x0000ffffb61cc1c8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #19 0x0000ffffb61cc1c8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x0000ffffb61cc1c8 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:507:0 #21 0x0000ffffb61d3db0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #22 0x0000ffffb61d3db0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #23 0x0000ffffb61d3db0 clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #24 0x0000ffffb61d3db0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:665:0 #25 0x0000ffffb61d920c clang::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 0x0000ffffb61d920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #27 0x0000ffffb61da2b8 clang::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 0x0000ffffb61da5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb61da7cc clang::ento::CoreEngine::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 0x0000ffffb61dab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #31 0x0000ffffb61dab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #32 0x0000ffffb61dab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #33 0x0000ffffb61dab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #34 0x0000ffffb61dab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #35 0x0000ffffb64a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb64a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb64a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #38 0x0000ffffb64a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #39 0x0000ffffb64a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #40 0x0000ffffb64a6278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #41 0x0000ffffb64a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x0000ffffb64a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #43 0x0000ffffb64aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffffb64aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffffb64aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x0000ffffb64aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x0000ffffb64aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x0000ffffb4901b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #49 0x0000ffffb4901b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffffb4901b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #51 0x0000ffffb4901b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffffb5fc5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffffb5f7d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffffb5f7d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffffb5f7d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffffb60036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #57 0x0000aaaaaf8d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x0000aaaaaf8d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x0000aaaaaf8daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x0000aaaaaf8d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x0000ffffad50098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #62 0x0000ffffad500a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #63 0x0000aaaaaf8d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/inline-defensive-checks.cpp.script: line 1: 37237 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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/containers.cpp (820 of 19719) ******************** TEST 'Clang :: Analysis/inlining/containers.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config c++-inlining=destructors -analyzer-config c++-container-inlining=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/containers.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config c++-inlining=destructors -analyzer-config c++-container-inlining=true -DINLINE=1 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/containers.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config c++-inlining=destructors -analyzer-config c++-container-inlining=false -DTEST_INLINABLE_ALLOCATORS -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/containers.cpp : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config c++-inlining=destructors -analyzer-config c++-container-inlining=true -DTEST_INLINABLE_ALLOCATORS -DINLINE=1 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/containers.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config c++-inlining=destructors -analyzer-config c++-container-inlining=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/containers.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testWrappers(BeginOnlySet &, IteratorStructOnlySet &, IteratorTypedefOnlySet &, IteratorUsingOnlySet &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/containers.cpp:48:3: Error evaluating statement #0 0x0000ffff7badad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7bad9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7badb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff84a9e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff839e50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff839e50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff839e50b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff839e50b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff839e50b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff839e50b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff839e50b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff839e50b8 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 0x0000ffff839fa244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff839fa244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff839fa244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff839fa244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff839fa244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff839fa244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff839fa244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff839fa244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff839fa244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff839fa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff839fa7cc clang::ento::CoreEngine::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 0x0000ffff839fab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffff839fab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffff839fab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffff839fab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffff839fab14 clang::ento::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 0x0000ffff83cc52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffff83cc52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffff83cc52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffff83cc52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffff83cc52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffff83cc6278 llvm::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 0x0000ffff83cc6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffff83cc6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffff83cca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffff83cca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffff83cca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffff83cca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffff83cca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffff82121b88 __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 0x0000ffff82121b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffff82121b88 void clang::finalize>, 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 0x0000ffff82121b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffff837e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffff8379d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffff8379d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffff8379d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffff838236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaab11c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaab11c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaab11caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaab11c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffff7ad2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffff7ad20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaab11c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/containers.cpp.script: line 4: 37219 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config c++-inlining=destructors -analyzer-config c++-container-inlining=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/containers.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/InlineObjCInstanceMethod.m (822 of 19719) ******************** TEST 'Clang :: Analysis/inlining/InlineObjCInstanceMethod.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.DivideZero,core.DynamicTypePropagation,osx.cocoa.IncompatibleMethodTypes -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/InlineObjCInstanceMethod.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.DivideZero,core.DynamicTypePropagation,osx.cocoa.IncompatibleMethodTypes -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/InlineObjCInstanceMethod.m 1. parser at end of file 2. While analyzing stack: #0 Calling testCovariantReturnTypeNoErrorSinceTypesMatch 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/InlineObjCInstanceMethod.m:141:19: Error evaluating statement #0 0x0000ffffaee3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffaee39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffaee3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb7df17e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb6d36124 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb6d36124 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb6d36124 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb6d36124 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb6d36124 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb6d36124 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 0x0000ffffb6d36124 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb6d36124 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffffb70e00f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffb70e00f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffb70e00f8 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffffb70e00f8 (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 0x0000ffffb6d2aae4 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 0x0000ffffb6d452e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffffb6d452e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffffb6d452e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffffb6d452e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffffb6d452e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffffb6d452e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffffb6d452e8 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 0x0000ffffb6d5a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffffb6d5a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffffb6d5a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffffb6d5a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffffb6d5a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffffb6d5a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffffb6d5a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffffb6d5a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffffb6d5a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #33 0x0000ffffb6d5a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb6d5a7cc clang::ento::CoreEngine::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 0x0000ffffb6d5ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffb6d5ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffb6d5ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffb6d5ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffb6d5ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffffb70252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffb70252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffb70252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffb70252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffb70252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffb7026278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffffb7026278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffb7026278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffb702a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffb702a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffb702a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffb702a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffb702a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffb5481b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffffb5481b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffb5481b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffffb5481b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffb6b45600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffb6afd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffb6afd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffb6afd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffb6b836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaab94059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaab94094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaab940aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaab9401fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffffae08098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffffae080a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaab94020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/InlineObjCInstanceMethod.m.script: line 1: 37203 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.DivideZero,core.DynamicTypePropagation,osx.cocoa.IncompatibleMethodTypes -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/InlineObjCInstanceMethod.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/DynDispatchBifurcate.m (823 of 19719) ******************** TEST 'Clang :: Analysis/inlining/DynDispatchBifurcate.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/DynDispatchBifurcate.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/DynDispatchBifurcate.m 1. parser at end of file 2. While analyzing stack: #0 Calling testDefNotAvailableInlined at line 190 #1 Calling testDefNotAvailable 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/DynDispatchBifurcate.m:187:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/DynDispatchBifurcate.m:187:10: Error evaluating statement #0 0x0000ffffb19cad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb19c9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb19cb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffba9837e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb9c80e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb9c80e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb9c80e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb9c80e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb9c80e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb9c80e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb9c80e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb9c80e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb992e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb992e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb992e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb992e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb992eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb992eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb992eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb992eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb9941aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb9941aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb9941aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb9942ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb9942ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb9942ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb99424c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb99424c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb99424c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb994eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb994eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb994eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb9958484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb9958484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb9958484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb98bc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb98bc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb98bc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb98bc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb9dab004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb9dab004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb9dab004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb991eafc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffb991eafc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffb991eafc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffb991eafc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffb991eafc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffb991eafc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffffb98e8de8 clang::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 0x0000ffffb98e8de8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffffb98ea2b8 clang::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 0x0000ffffb98ea5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb98ea7cc clang::ento::CoreEngine::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 0x0000ffffb98eab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb98eab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb98eab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb98eab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb98eab14 clang::ento::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 0x0000ffffb9bb52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb9bb52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb9bb52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb9bb52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb9bb52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb9bb6278 llvm::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 0x0000ffffb9bb6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb9bb6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb9bba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb9bba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb9bba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb9bba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb9bba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb8011b88 __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 0x0000ffffb8011b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb8011b88 void clang::finalize>, 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 0x0000ffffb8011b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb96d5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb968d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb968d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb968d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb97136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad2e959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad2e994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad2e9aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad2e91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb0c1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb0c10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad2e920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/DynDispatchBifurcate.m.script: line 1: 37198 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/DynDispatchBifurcate.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/RetainCountExamples.m (824 of 19719) ******************** TEST 'Clang :: Analysis/inlining/RetainCountExamples.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/RetainCountExamples.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/RetainCountExamples.m 1. parser at end of file #0 0x0000ffff8acfad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8acf9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8acfb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff93cb37e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff92fb0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff92fb0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff92fb0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff92fb0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff92fb0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff92fb0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff92fb0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff92fb0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff92c5e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff92c5e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff92c5e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff92c5e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff92c5eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff92c5eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff92c5eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff92c5eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff92c71aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff92c71aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff92c71aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff92c72ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff92c72ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff92c72ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff92c724c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff92c724c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff92c724c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff92c7eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff92c7eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff92c7eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff92c88484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff92c88484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff92c88484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff92bec9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff92bec9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff92bec9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff92bec9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff92becec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff92becec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff92becec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff92bc0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff92bc0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff92bc0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff92bfcea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff92bfcea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff92bfcea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff92c1ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff92c1ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff92c1ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff92ee52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff92ee52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff92ee52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff92ee52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff92ee52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff92ee6278 llvm::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 0x0000ffff92ee6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff92ee6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff92eea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff92eea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff92eea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff92eea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff92eea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff91341b88 __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 0x0000ffff91341b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff91341b88 void clang::finalize>, 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 0x0000ffff91341b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff92a05600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff929bd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff929bd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff929bd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff92a436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae20259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae20294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae202aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae2021fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff89f4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff89f40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae20220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/RetainCountExamples.m.script: line 1: 37214 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/RetainCountExamples.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/InlineObjCClassMethod.m (825 of 19719) ******************** TEST 'Clang :: Analysis/inlining/InlineObjCClassMethod.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/InlineObjCClassMethod.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/InlineObjCClassMethod.m 1. parser at end of file #0 0x0000ffffb090ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb0909180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb090b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb98c67e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb8bc0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb8bc0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb8bc0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb8bc0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb8bc0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb8bc0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb8bc0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb8bc0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb886e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb886e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb886e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb886e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb886eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb886eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb886eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb886eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb8881aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb8881aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb8881aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb8882ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb8882ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb8882ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb88824c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb88824c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb88824c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb888eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb888eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb888eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb8898484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb8898484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb8898484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb87fc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb87fc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb87fc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb87fc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb87fcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb87fcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb87fcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb87d0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb87d0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb87d0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb880cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb880cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb880cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffb882ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb882ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb882ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb8af52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb8af52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb8af52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb8af52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb8af52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb8af6278 llvm::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 0x0000ffffb8af6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb8af6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb8afa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb8afa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb8afa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb8afa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb8afa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb6f51b88 __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 0x0000ffffb6f51b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb6f51b88 void clang::finalize>, 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 0x0000ffffb6f51b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb8615600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb85cd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb85cd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb85cd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb86536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaacfdc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaacfdc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaacfdcaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaacfdc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffafb5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffafb50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaacfdc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/InlineObjCClassMethod.m.script: line 1: 37201 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/InlineObjCClassMethod.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/dyn-dispatch-bifurcate.cpp (826 of 19719) ******************** TEST 'Clang :: Analysis/inlining/dyn-dispatch-bifurcate.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify -Wno-reinterpret-base-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/dyn-dispatch-bifurcate.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify -Wno-reinterpret-base-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/dyn-dispatch-bifurcate.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling ReinterpretDisruptsDynamicTypeInfo::test(Parent *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/dyn-dispatch-bifurcate.cpp:35:9: Error evaluating branch #0 0x0000ffff8627ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff86279180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8627b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8f2327e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8e530e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8e530e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8e530e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8e530e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8e530e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8e530e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8e530e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8e530e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8e1de018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8e1de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8e1de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8e1de018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8e1deef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8e1deef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8e1deef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8e1deef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8e1f1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8e1f1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8e1f1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8e1f2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8e1f2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8e1f2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8e1f24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8e1f24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8e1f24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8e1feb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8e1feb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8e1feb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8e208484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8e208484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8e208484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8e16c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8e16c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8e16c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8e16c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8e65b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8e65b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8e65b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8e182bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff8e182bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff8e182bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff8e182bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff8e182bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff8e182bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff8e182bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff8e182bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff8e182bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff8e182bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff8e183130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8e19ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8e19ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8e19ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8e19ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8e19ab14 clang::ento::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 0x0000ffff8e4652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8e4652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8e4652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8e4652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8e4652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8e466278 llvm::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 0x0000ffff8e466278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8e466278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8e46a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8e46a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8e46a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8e46a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8e46a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8c8c1b88 __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 0x0000ffff8c8c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8c8c1b88 void clang::finalize>, 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 0x0000ffff8c8c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8df85600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8df3d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8df3d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8df3d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8dfc36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaae0759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaae0794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaae07aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaae071fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff854c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff854c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaae0720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/dyn-dispatch-bifurcate.cpp.script: line 1: 37220 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify -Wno-reinterpret-base-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/dyn-dispatch-bifurcate.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/ObjCDynTypePopagation.m (827 of 19719) ******************** TEST 'Clang :: Analysis/inlining/ObjCDynTypePopagation.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/ObjCDynTypePopagation.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/ObjCDynTypePopagation.m 1. parser at end of file #0 0x0000ffff81f2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff81f29180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff81f2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8aeef7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8a1e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8a1e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8a1e0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8a1e0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8a1e0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8a1e0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8a1e0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8a1e0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff89e8e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff89e8e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff89e8e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff89e8e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff89e8eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff89e8eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff89e8eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff89e8eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff89ea1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff89ea1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff89ea1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff89ea2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff89ea2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff89ea2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff89ea24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff89ea24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff89ea24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff89eaeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff89eaeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff89eaeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff89eb8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff89eb8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff89eb8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff89e1c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff89e1c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff89e1c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff89e1c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff89e1cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff89e1cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff89e1cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff89df0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff89df0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff89df0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff89e2cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff89e2cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff89e2cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff89e4ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff89e4ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff89e4ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8a1152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8a1152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8a1152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8a1152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8a1152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff8a116278 llvm::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 0x0000ffff8a116278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff8a116278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8a11a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8a11a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8a11a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8a11a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8a11a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff88571b88 __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 0x0000ffff88571b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff88571b88 void clang::finalize>, 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 0x0000ffff88571b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff89c35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff89bed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff89bed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff89bed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff89c736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaaca1159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaaca1194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaaca11aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaaca111fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8117098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff81170a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaaca1120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/ObjCDynTypePopagation.m.script: line 1: 37205 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/ObjCDynTypePopagation.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/false-positive-suppression.m (828 of 19719) ******************** TEST 'Clang :: Analysis/inlining/false-positive-suppression.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -DSUPPRESSED=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.m : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fobjc-arc -verify -DSUPPRESSED=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.m : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config avoid-suppressing-null-argument-paths=true -DSUPPRESSED=1 -DNULL_ARGS=1 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.m 1. parser at end of file 2. While analyzing stack: #0 Calling testSynthesizedPropertyReturningNull 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.m:128:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.m:128:10: Error evaluating statement #0 0x0000ffff90faad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff90fa9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff90fab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff99f6e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff99260e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff99260e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff99260e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff99260e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff99260e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff99260e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff99260e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff99260e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff98f0e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff98f0e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff98f0e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff98f0e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff98f0eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff98f0eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff98f0eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff98f0eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff98f21aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff98f21aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff98f21aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff98f22ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff98f22ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff98f22ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff98f224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff98f224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff98f224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff98f2eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff98f2eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff98f2eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff98f38484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff98f38484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff98f38484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff98e9c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff98e9c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff98e9c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff98e9c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9938b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9938b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9938b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff98efeafc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff98efeafc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff98efeafc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff98efeafc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff98efeafc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff98efeafc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffff98ec8de8 clang::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 0x0000ffff98ec8de8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffff98eca2b8 clang::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 0x0000ffff98eca5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff98eca7cc clang::ento::CoreEngine::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 0x0000ffff98ecab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff98ecab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff98ecab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff98ecab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff98ecab14 clang::ento::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 0x0000ffff991952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff991952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff991952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff991952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff991952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff99196278 llvm::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 0x0000ffff99196278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff99196278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9919a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9919a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9919a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9919a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9919a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff975f1b88 __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 0x0000ffff975f1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff975f1b88 void clang::finalize>, 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 0x0000ffff975f1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff98cb5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff98c6d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff98c6d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff98c6d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff98cf36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabe0a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabe0a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabe0aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabe0a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff901f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff901f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabe0a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/false-positive-suppression.m.script: line 4: 37233 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/ObjCImproperDynamictallyDetectableCast.m (829 of 19719) ******************** TEST 'Clang :: Analysis/inlining/ObjCImproperDynamictallyDetectableCast.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/ObjCImproperDynamictallyDetectableCast.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/ObjCImproperDynamictallyDetectableCast.m 1. parser at end of file #0 0x0000ffffabf0ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffabf09180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffabf0b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb4ec47e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb41c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb41c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb41c0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb41c0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb41c0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb41c0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb41c0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb41c0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb3e6e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb3e6e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb3e6e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb3e6e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb3e6eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb3e6eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb3e6eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb3e6eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb3e81aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb3e81aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb3e81aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb3e82ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb3e82ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb3e82ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb3e824c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb3e824c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb3e824c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb3e8eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb3e8eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb3e8eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb3e98484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb3e98484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb3e98484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb3dfc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb3dfc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb3dfc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb3dfc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb3dfcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb3dfcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb3dfcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb3dd0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb3dd0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb3dd0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb3e0cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb3e0cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb3e0cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffb3e2ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb3e2ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb3e2ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb40f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb40f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb40f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb40f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb40f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb40f6278 llvm::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 0x0000ffffb40f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb40f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb40fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb40fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb40fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb40fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb40fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb2551b88 __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 0x0000ffffb2551b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb2551b88 void clang::finalize>, 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 0x0000ffffb2551b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb3c15600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb3bcd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb3bcd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb3bcd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb3c536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaab77959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaab77994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaab779aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaab7791fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffab15098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffab150a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaab77920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/ObjCImproperDynamictallyDetectableCast.m.script: line 1: 37207 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/ObjCImproperDynamictallyDetectableCast.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/inline-defensive-checks.c (830 of 19719) ******************** TEST 'Clang :: Analysis/inlining/inline-defensive-checks.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-inlined-defensive-checks=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-inlined-defensive-checks=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.c 1. parser at end of file 2. While analyzing stack: #0 Calling idcPlainNullWithArray at line 238 #1 Calling idcTrackZeroValueThroughSymbolicRegionWithArray 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.c:231:7: Error evaluating branch #0 0x0000ffff9ba8ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9ba89180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9ba8b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa4a4f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa3d40e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa3d40e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa3d40e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa3d40e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa3d40e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa3d40e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa3d40e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa3d40e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa39ee018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa39ee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa39ee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa39ee018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa39eeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa39eeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa39eeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa39eeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa3a02c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa3a02c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa3a02c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa3a02f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa3a02f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa3a02f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffa3a024c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa3a024c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa3a024c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa3a0eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa3a0eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa3a0eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa3a18484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa3a18484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa3a18484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa397c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa397c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa397c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa397c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa3e6b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa3e6b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa3e6b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa3992bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa3992bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa3992bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa3992bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa3992bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa3992bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa3992bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa3992bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa3992bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa3992bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa3993130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa39aab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa39aab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa39aab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa39aab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa39aab14 clang::ento::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 0x0000ffffa3c752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa3c752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa3c752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa3c752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa3c752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa3c76278 llvm::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 0x0000ffffa3c76278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa3c76278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa3c7a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa3c7a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa3c7a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa3c7a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa3c7a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa20d1b88 __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 0x0000ffffa20d1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa20d1b88 void clang::finalize>, 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 0x0000ffffa20d1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa3795600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa374d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa374d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa374d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa37d36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabdc059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabdc094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabdc0aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabdc01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9acd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9acd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabdc020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/inline-defensive-checks.c.script: line 1: 37232 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-inlined-defensive-checks=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/path-notes.c (831 of 19719) ******************** TEST 'Clang :: Analysis/inlining/path-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=plist-multi-file -analyzer-config suppress-null-return-paths=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.c -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/path-notes.c.tmp.plist : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling test4 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.c:137:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.c:137:7: Error evaluating statement #0 0x0000ffff944dad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff944d9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff944db408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9d4907e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9c790e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9c790e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9c790e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9c790e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9c790e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9c790e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9c790e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9c790e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9c43e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9c43e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9c43e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9c43e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9c43eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9c43eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9c43eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9c43eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9c451aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9c451aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9c451aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9c452ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9c452ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9c452ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9c4524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9c4524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9c4524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9c45eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9c45eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9c45eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9c468484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9c468484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9c468484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9c3cc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9c3cc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9c3cc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9c3cc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9c8bb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9c8bb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9c8bb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9c4ec500 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9c4ec500 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9c4ec500 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff9c4ec500 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff9c3b6c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff9c3df570 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff9c3df570 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff9c3df7ac llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffff9c3df7ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff9c3df7ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff9c3df7ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffff9c3ef470 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff9c3ef470 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff9c3ef470 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffff9c3f8c34 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffff9c3f8c34 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffff9c3f8c34 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffff9c3fa2b8 clang::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 0x0000ffff9c3fa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9c3fa7cc clang::ento::CoreEngine::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 0x0000ffff9c3fab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff9c3fab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff9c3fab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff9c3fab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff9c3fab14 clang::ento::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 0x0000ffff9c6c52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff9c6c52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff9c6c52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff9c6c52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff9c6c52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff9c6c6278 llvm::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 0x0000ffff9c6c6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff9c6c6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff9c6ca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff9c6ca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff9c6ca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff9c6ca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff9c6ca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff9ab21b88 __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 0x0000ffff9ab21b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff9ab21b88 void clang::finalize>, 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 0x0000ffff9ab21b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff9c1e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff9c19d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff9c19d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff9c19d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff9c2236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaaad6359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaaad6394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaaad63aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaaad631fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff9372098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff93720a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaaad6320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/path-notes.c.script: line 3: 37254 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/inline-defensive-checks.m (832 of 19719) ******************** TEST 'Clang :: Analysis/inlining/inline-defensive-checks.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-inlined-defensive-checks=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-inlined-defensive-checks=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.m 1. parser at end of file 2. While analyzing stack: #0 Calling idc at line 121 #1 Calling dontSuppressNilReceiverIDC 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.m:67:7: Error evaluating branch #0 0x0000ffff8359ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff83599180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8359b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8c5507e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8b850e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8b850e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8b850e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8b850e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8b850e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8b850e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8b850e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8b850e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8b4fe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8b4fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8b4fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8b4fe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8b4feef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8b4feef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8b4feef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8b4feef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8b511aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8b511aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8b511aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8b512ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8b512ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8b512ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8b5124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8b5124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8b5124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8b51eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8b51eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8b51eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8b528484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8b528484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8b528484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8b48c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8b48c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8b48c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8b48c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8b97b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8b97b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8b97b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8b4a2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff8b4a2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff8b4a2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff8b4a2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff8b4a2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff8b4a2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff8b4a2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff8b4a2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff8b4a2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff8b4a2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff8b4a3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8b4bab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8b4bab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8b4bab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8b4bab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8b4bab14 clang::ento::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 0x0000ffff8b7852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8b7852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8b7852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8b7852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8b7852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8b786278 llvm::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 0x0000ffff8b786278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8b786278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8b78a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8b78a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8b78a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8b78a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8b78a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff89be1b88 __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 0x0000ffff89be1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff89be1b88 void clang::finalize>, 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 0x0000ffff89be1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8b2a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8b25d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8b25d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8b25d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8b2e36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaadd5259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaadd5294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaadd52aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaadd521fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff827e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff827e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaadd5220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/inline-defensive-checks.m.script: line 1: 37252 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-inlined-defensive-checks=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/assume-super-init-does-not-return-nil.m (833 of 19719) ******************** TEST 'Clang :: Analysis/inlining/assume-super-init-does-not-return-nil.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/assume-super-init-does-not-return-nil.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/assume-super-init-does-not-return-nil.m 1. parser at end of file #0 0x0000ffffb275ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb2759180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb275b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbb7197e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbaa10e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbaa10e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbaa10e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbaa10e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbaa10e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbaa10e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbaa10e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbaa10e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffba6be018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffba6be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffba6be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffba6be018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffba6beef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffba6beef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffba6beef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffba6beef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffba6d1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffba6d1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffba6d1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffba6d2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffba6d2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffba6d2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffba6d24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffba6d24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffba6d24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffba6deb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffba6deb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffba6deb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffba6e8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffba6e8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffba6e8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffba64c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffba64c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffba64c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffba64c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffba64cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffba64cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffba64cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffba620400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffba620400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffba620400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffba65cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffba65cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffba65cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffba67ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffba67ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffba67ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffba9452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffba9452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffba9452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffba9452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffba9452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffba946278 llvm::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 0x0000ffffba946278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffba946278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffba94a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffba94a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffba94a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffba94a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffba94a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb8da1b88 __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 0x0000ffffb8da1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb8da1b88 void clang::finalize>, 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 0x0000ffffb8da1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffba465600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffba41d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffba41d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffba41d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffba4a36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad60259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad60294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad602aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad6021fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffb19a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffb19a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad60220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/assume-super-init-does-not-return-nil.m.script: line 1: 37213 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/assume-super-init-does-not-return-nil.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/false-positive-suppression.c (834 of 19719) ******************** TEST 'Clang :: Analysis/inlining/false-positive-suppression.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -DSUPPRESSED=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.c : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config avoid-suppressing-null-argument-paths=true -DSUPPRESSED=1 -DNULL_ARGS=1 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.c 1. parser at end of file 2. While analyzing stack: #0 Calling testConditionalOperatorSuppressFloatCond 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.c:379:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.c:379:10: Error evaluating statement #0 0x0000ffff8304ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff83049180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8304b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8c00a7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8b300e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8b300e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8b300e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8b300e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8b300e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8b300e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8b300e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8b300e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8afae018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8afae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8afae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8afae018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8afaeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8afaeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8afaeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8afaeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8afc1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8afc1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8afc1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8afc2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8afc2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8afc2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8afc24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8afc24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8afc24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8afceb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8afceb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8afceb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8afd8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8afd8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8afd8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8af3c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8af3c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8af3c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8af3c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8b42b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8b42b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8b42b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8b05c500 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8b05c500 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8b05c500 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff8b05c500 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff8af26c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff8af4f570 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff8af4f570 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff8af4f7ac llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffff8af4f7ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff8af4f7ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff8af4f7ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffff8af5f470 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff8af5f470 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff8af5f470 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffff8af68c34 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffff8af68c34 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffff8af68c34 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffff8af6a2b8 clang::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 0x0000ffff8af6a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8af6a7cc clang::ento::CoreEngine::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 0x0000ffff8af6ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff8af6ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff8af6ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff8af6ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff8af6ab14 clang::ento::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 0x0000ffff8b2352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff8b2352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff8b2352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff8b2352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff8b2352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff8b236278 llvm::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 0x0000ffff8b236278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff8b236278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff8b23a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff8b23a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff8b23a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff8b23a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff8b23a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff89691b88 __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 0x0000ffff89691b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff89691b88 void clang::finalize>, 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 0x0000ffff89691b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff8ad55600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff8ad0d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff8ad0d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff8ad0d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff8ad936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaabff059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaabff094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaabff0aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaabff01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff8229098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff82290a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaabff020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/false-positive-suppression.c.script: line 3: 37228 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/inner-pointer.cpp (839 of 19719) ******************** TEST 'Clang :: Analysis/inner-pointer.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=cplusplus.InnerPointer -Wno-dangling -Wno-dangling-field -Wno-return-stack-address /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inner-pointer.cpp -analyzer-output=text -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=cplusplus.InnerPointer -Wno-dangling -Wno-dangling-field -Wno-return-stack-address /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inner-pointer.cpp -analyzer-output=text -verify 1. parser at end of file #0 0x0000ffff77a2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff77a29180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff77a2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff809e47e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff7f939f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff7f939f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff7f939f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff7f939f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff7f939f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff7f939f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff7f939f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff7f939f54 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 0x0000ffff7f93a878 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 0x0000ffff7f94a954 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 0x0000ffff7f94ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff7f94ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff7f94ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff7f94ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff7f94ab14 clang::ento::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 0x0000ffff7fc152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff7fc152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff7fc152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff7fc152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff7fc152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff7fc16278 llvm::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 0x0000ffff7fc16278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff7fc16278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff7fc1a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff7fc1a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff7fc1a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff7fc1a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff7fc1a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff7e071b88 __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 0x0000ffff7e071b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff7e071b88 void clang::finalize>, 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 0x0000ffff7e071b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff7f735600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff7f6ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff7f6ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff7f6ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff7f7736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaac39759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaac39794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaac397aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaac3971fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff76c7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff76c70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaac39720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inner-pointer.cpp.script: line 1: 37277 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=cplusplus.InnerPointer -Wno-dangling -Wno-dangling-field -Wno-return-stack-address /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inner-pointer.cpp -analyzer-output=text -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/issue-55019.cpp (841 of 19719) ******************** TEST 'Clang :: Analysis/issue-55019.cpp' FAILED ******************** Script: -- : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/issue-55019.cpp -verify -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/issue-55019.cpp -verify -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=debug.ExprInspection 1. parser at end of file #0 0x0000ffff833bad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff833b9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff833bb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8c3737e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8b2c9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8b2c9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8b2c9f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8b2c9f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8b2c9f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8b2c9f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8b2c9f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8b2c9f54 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 0x0000ffff8b2ca878 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 0x0000ffff8b2da954 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 0x0000ffff8b2dab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff8b2dab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff8b2dab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff8b2dab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff8b2dab14 clang::ento::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 0x0000ffff8b5a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff8b5a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff8b5a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff8b5a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff8b5a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff8b5a6278 llvm::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 0x0000ffff8b5a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff8b5a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff8b5aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff8b5aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff8b5aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff8b5aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff8b5aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff89a01b88 __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 0x0000ffff89a01b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff89a01b88 void clang::finalize>, 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 0x0000ffff89a01b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff8b0c5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff8b07d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff8b07d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff8b07d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff8b1036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaad55759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaad55794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaad557aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaad5571fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff8260098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff82600a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaad55720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/issue-55019.cpp.script: line 1: 37293 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/issue-55019.cpp -verify -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/temp-dtors-path-notes.cpp (842 of 19719) ******************** TEST 'Clang :: Analysis/inlining/temp-dtors-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker core -analyzer-config cfg-temporary-dtors=true,c++-temp-dtor-inlining=true -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/temp-dtors-path-notes.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker core -analyzer-config cfg-temporary-dtors=true,c++-temp-dtor-inlining=true -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/temp-dtors-path-notes.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_bug_after_dtor::C::C() at line 54 #1 Calling test_bug_after_dtor::test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/temp-dtors-path-notes.cpp:48:9: Error evaluating statement #0 0x0000ffffa577ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa5779180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa577b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffae73c7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffad6850b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffad6850b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffad6850b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffad6850b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffad6850b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffad6850b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffad6850b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffad6850b8 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 0x0000ffffad69a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffad69a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffad69a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffad69a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffad69a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffad69a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffad69a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffad69a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffad69a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffad69a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffad69a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffad69a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffad69ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffad69ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffad69ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffad69ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffad69ab14 clang::ento::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 0x0000ffffad9652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffad9652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffad9652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffad9652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffad9652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffad966278 llvm::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 0x0000ffffad966278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffad966278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffad96a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffad96a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffad96a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffad96a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffad96a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffabdc1b88 __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 0x0000ffffabdc1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffabdc1b88 void clang::finalize>, 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 0x0000ffffabdc1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffad485600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffad43d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffad43d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffad43d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffad4c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaad9ce59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaad9ce94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaad9ceaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaad9ce1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffa49c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffa49c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaad9ce20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/temp-dtors-path-notes.cpp.script: line 1: 37271 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker core -analyzer-config cfg-temporary-dtors=true,c++-temp-dtor-inlining=true -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/temp-dtors-path-notes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/retain-count-self-init.m (843 of 19719) ******************** TEST 'Clang :: Analysis/inlining/retain-count-self-init.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.SelfInit -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/retain-count-self-init.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.SelfInit -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/retain-count-self-init.m 1. parser at end of file #0 0x0000ffff9d11ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9d119180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9d11b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa60df7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa53d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa53d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa53d0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa53d0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa53d0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa53d0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa53d0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa53d0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa507e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa507e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa507e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa507e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa507eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa507eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa507eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa507eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa5091aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa5091aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa5091aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa5092ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa5092ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa5092ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa50924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa50924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa50924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa509eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa509eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa509eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa50a8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa50a8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa50a8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa500c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa500c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa500c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa500c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa500cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa500cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa500cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa4fe0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa4fe0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa4fe0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa501cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa501cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa501cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa503ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa503ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa503ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa53052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa53052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa53052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa53052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa53052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa5306278 llvm::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 0x0000ffffa5306278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa5306278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa530a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa530a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa530a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa530a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa530a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa3761b88 __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 0x0000ffffa3761b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa3761b88 void clang::finalize>, 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 0x0000ffffa3761b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa4e25600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa4ddd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa4ddd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa4ddd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa4e636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae11559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae11594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae115aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae1151fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9c36098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff9c360a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae11520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/retain-count-self-init.m.script: line 1: 37266 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.SelfInit -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/retain-count-self-init.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/path-notes.m (844 of 19719) ******************** TEST 'Clang :: Analysis/inlining/path-notes.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount -analyzer-output=text -analyzer-config suppress-null-return-paths=false -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount -analyzer-output=plist-multi-file -analyzer-config suppress-null-return-paths=false -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.m -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/path-notes.m.tmp.plist : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling testAutoreleaseTakesEffectInDispatch 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.m:170:12: Error evaluating statement #0 0x0000ffffb27ead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb27e9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb27eb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbb7a97e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffba6e6124 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffba6e6124 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffba6e6124 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffba6e6124 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffba6e6124 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffba6e6124 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 0x0000ffffba6e6124 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffba6e6124 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffffbaa900f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffbaa900f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffbaa900f8 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffffbaa900f8 (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 0x0000ffffba6daae4 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 0x0000ffffba6f52e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffffba6f52e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffffba6f52e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffffba6f52e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffffba6f52e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffffba6f52e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffffba6f52e8 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 0x0000ffffba70a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffffba70a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffffba70a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffffba70a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffffba70a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffffba70a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffffba70a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffffba70a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffffba70a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #33 0x0000ffffba70a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffba70a7cc clang::ento::CoreEngine::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 0x0000ffffba70ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffba70ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffba70ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffba70ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffba70ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffffba9d52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffba9d52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffba9d52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffba9d52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffba9d52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffba9d6278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffffba9d6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffba9d6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffba9da900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffba9da900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffba9da900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffba9da900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffba9da900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffb8e31b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffffb8e31b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffb8e31b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffffb8e31b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffba4f5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffba4ad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffba4ad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffba4ad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffba5336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaae6cb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaae6cb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaae6cbaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaae6cb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffffb1a3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffffb1a30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaae6cb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/path-notes.m.script: line 3: 37262 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount -analyzer-output=text -analyzer-config suppress-null-return-paths=false -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/path-notes.cpp (845 of 19719) ******************** TEST 'Clang :: Analysis/inlining/path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -analyzer-config c++-inlining=destructors -std=c++11 -verify -Wno-tautological-undefined-compare /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=plist-multi-file -analyzer-config c++-inlining=destructors -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/path-notes.cpp.tmp.plist -Wno-tautological-undefined-compare : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling PR17746::test(Outer *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.cpp:296:12: Error evaluating destructor #0 0x0000ffff95e3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff95e39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff95e3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9edfe7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9e0f0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9e0f0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9e0f0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9e0f0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9e0f0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9e0f0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9e0f0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9e0f0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9dd9e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9dd9e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9dd9e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9dd9e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9dd9eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9dd9eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9dd9eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9dd9eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9ddb1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9ddb1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9ddb1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9ddb2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9ddb2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9ddb2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9ddb24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9ddb24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9ddb24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9ddbeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9ddbeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9ddbeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9ddc8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9ddc8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9ddc8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9dd2c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9dd2c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9dd2c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9dd2c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9e21b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9e21b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9e21b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9de01b30 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9de01b30 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9de01b30 checkCXXMethodCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:460:79 #45 0x0000ffff9de01b30 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:558:31 #46 0x0000ffff9de01b30 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::CallAndMessageChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:45 #47 0x0000ffff9dd167b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x0000ffff9dd167b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x0000ffff9dd167b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #50 0x0000ffff9dd167b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #51 0x0000ffff9dd167b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #52 0x0000ffff9dd54a2c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x0000ffff9dd54a2c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x0000ffff9dd54a2c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #55 0x0000ffff9dd54a2c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #56 0x0000ffff9dd54a2c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #57 0x0000ffff9dd54a2c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #58 0x0000ffff9dd54a2c clang::ento::ExprEngine::VisitCXXDestructor(clang::QualType, clang::ento::MemRegion const*, clang::Stmt const*, bool, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::ento::EvalCallOptions&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:911:0 #59 0x0000ffff9dd558e4 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #60 0x0000ffff9dd558e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #61 0x0000ffff9dd558e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #62 0x0000ffff9dd558e4 clang::ento::ExprEngine::ProcessDeleteDtor(clang::CFGDeleteDtor, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1475:0 #63 0x0000ffff9dd56aa0 clang::ento::ExprEngine::ProcessImplicitDtor(clang::CFGImplicitDtor, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1300:0 #64 0x0000ffff9dd5a5f4 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:991:0 #65 0x0000ffff9dd5a7cc clang::ento::CoreEngine::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 0x0000ffff9dd5ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9dd5ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9dd5ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #69 0x0000ffff9dd5ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #70 0x0000ffff9dd5ab14 clang::ento::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 0x0000ffff9e0252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #72 0x0000ffff9e0252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #73 0x0000ffff9e0252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #74 0x0000ffff9e0252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #75 0x0000ffff9e0252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #76 0x0000ffff9e026278 llvm::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 0x0000ffff9e026278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #78 0x0000ffff9e026278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #79 0x0000ffff9e02a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #80 0x0000ffff9e02a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #81 0x0000ffff9e02a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #82 0x0000ffff9e02a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #83 0x0000ffff9e02a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #84 0x0000ffff9c481b88 __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 0x0000ffff9c481b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #86 0x0000ffff9c481b88 void clang::finalize>, 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 0x0000ffff9c481b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #88 0x0000ffff9db45600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #89 0x0000ffff9dafd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #90 0x0000ffff9dafd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #91 0x0000ffff9dafd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #92 0x0000ffff9db836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #93 0x0000aaaae87659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #94 0x0000aaaae87694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #95 0x0000aaaae876aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #96 0x0000aaaae8761fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #97 0x0000ffff9508098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #98 0x0000ffff95080a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #99 0x0000aaaae87620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/path-notes.cpp.script: line 3: 37259 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -analyzer-config c++-inlining=destructors -std=c++11 -verify -Wno-tautological-undefined-compare /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/placement-new-fp-suppression.cpp (846 of 19719) ******************** TEST 'Clang :: Analysis/inlining/placement-new-fp-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core.CallAndMessage -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/placement-new-fp-suppression.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core.CallAndMessage -DSUPPRESSED -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/placement-new-fp-suppression.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core.CallAndMessage -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/placement-new-fp-suppression.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling safe_malloc(size_t) at line 45 #1 Calling MallocAllocator::Allocate(size_t, size_t) at line 57 #2 Calling BumpPtrAllocator::Allocate(size_t, size_t) at line 82 #3 Calling ASTContext::Allocate(size_t, unsigned int) at line 103 #4 Calling operator new[](size_t, const ASTContext &, size_t) at line 130 #5 Calling g(const ASTContext &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/placement-new-fp-suppression.cpp:34:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/placement-new-fp-suppression.cpp:34:7: Error evaluating statement #0 0x0000ffff9eccad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9ecc9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9eccb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa7c847e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa6f80e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa6f80e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa6f80e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa6f80e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa6f80e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa6f80e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa6f80e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa6f80e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa6c2e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa6c2e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa6c2e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa6c2e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa6c2eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa6c2eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa6c2eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa6c2eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa6c41aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa6c41aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa6c41aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa6c42ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa6c42ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa6c42ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa6c424c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa6c424c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa6c424c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa6c4eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa6c4eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa6c4eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa6c58484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa6c58484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa6c58484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa6bbc9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa6bbc9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa6bbc9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa6bbc9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa70ab004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa70ab004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa70ab004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa6bcfd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa6bcfd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa6bcfd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffa6bea05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffa6bea05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffa6bea05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffa6bea05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffa6bea05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffa6bea2b8 clang::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 0x0000ffffa6bea5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa6bea7cc clang::ento::CoreEngine::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 0x0000ffffa6beab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa6beab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa6beab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa6beab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa6beab14 clang::ento::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 0x0000ffffa6eb52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa6eb52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa6eb52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa6eb52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa6eb52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa6eb6278 llvm::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 0x0000ffffa6eb6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa6eb6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa6eba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa6eba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa6eba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa6eba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa6eba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa5311b88 __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 0x0000ffffa5311b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa5311b88 void clang::finalize>, 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 0x0000ffffa5311b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa69d5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa698d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa698d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa698d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa6a136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae81059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae81094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae810aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae8101fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9df1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9df10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae81020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/placement-new-fp-suppression.cpp.script: line 2: 37264 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core.CallAndMessage -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/placement-new-fp-suppression.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ivars.m (847 of 19719) ******************** TEST 'Clang :: Analysis/ivars.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -fblocks -verify -Wno-objc-root-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ivars.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -fblocks -verify -Wno-objc-root-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ivars.m 1. parser at end of file 2. While analyzing stack: #0 Calling testNull 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ivars.m:136:7: Error evaluating branch #0 0x0000ffffa79bad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa79b9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa79bb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb097e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffafc70e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffafc70e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffafc70e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffafc70e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffafc70e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffafc70e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffafc70e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffafc70e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaf91e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaf91e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaf91e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaf91e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaf91eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaf91eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaf91eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaf91eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaf931aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaf931aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaf931aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffaf932ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaf932ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaf932ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffaf9324c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaf9324c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaf9324c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaf93eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaf93eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaf93eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaf948484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaf948484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaf948484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaf8ac9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaf8ac9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaf8ac9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaf8ac9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffafd9b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffafd9b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffafd9b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffaf8c2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffaf8c2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffaf8c2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffaf8c2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffaf8c2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffaf8c2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffaf8c2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffaf8c2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffaf8c2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffaf8c2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffaf8c3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffaf8dab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffaf8dab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffaf8dab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffaf8dab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffaf8dab14 clang::ento::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 0x0000ffffafba52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffafba52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffafba52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffafba52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffafba52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffafba6278 llvm::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 0x0000ffffafba6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffafba6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffafbaa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffafbaa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffafbaa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffafbaa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffafbaa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffae001b88 __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 0x0000ffffae001b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffae001b88 void clang::finalize>, 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 0x0000ffffae001b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffaf6c5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffaf67d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffaf67d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffaf67d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffaf7036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabf2559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabf2594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabf25aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabf251fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa6c0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa6c00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabf2520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ivars.m.script: line 1: 37323 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -fblocks -verify -Wno-objc-root-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ivars.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/iterator-modeling.cpp (848 of 19719) ******************** TEST 'Clang :: Analysis/iterator-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp -verify -analyzer-config display-checker-name=false : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp -verify -analyzer-config display-checker-name=false : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 -DSTD_ADVANCE_INLINE_LEVEL=0 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp -verify -analyzer-config display-checker-name=false : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 -DSTD_ADVANCE_INLINE_LEVEL=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp -verify -analyzer-config display-checker-name=false : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 -DSTD_ADVANCE_INLINE_LEVEL=2 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp -verify -analyzer-config display-checker-name=false : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.IteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp -verify -analyzer-config display-checker-name=false 1. parser at end of file 2. While analyzing stack: #0 Calling print_state(std::vector &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp:2032:19: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp:2032:19: Error evaluating statement #0 0x0000ffff9351ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff93519180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9351b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9c4d57e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9b42b9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff9b42b9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9b42b9a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9b42b9a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9b42b9a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9b42b9a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9b42b9a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9b42b9a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff9b42bd94 llvm::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 0x0000ffff9b42bd94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff9b42bd94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff9b42bd94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff9b42bd94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff9b42c474 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffff9b42c474 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffff9b42c474 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:0 #20 0x0000ffff9b46d82c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffff9b46d82c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffff9b46d82c 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 0x0000ffff9b46d82c clang::ento::ExprEngine::bindReturnValue(clang::ento::CallEvent const&, clang::LocationContext const*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:773:0 #24 0x0000ffff9b46dcc8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #25 0x0000ffff9b46dcc8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #26 0x0000ffff9b46dcc8 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:834:0 #27 0x0000ffff9b46e684 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x0000ffff9b46e684 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x0000ffff9b46e684 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #30 0x0000ffff9b3f7268 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #31 0x0000ffff9b456bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #32 0x0000ffff9b456bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #33 0x0000ffff9b456bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #34 0x0000ffff9b456bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #35 0x0000ffff9b4574f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #36 0x0000ffff9b439250 clang::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 0x0000ffff9b439250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #38 0x0000ffff9b43a2b8 clang::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 0x0000ffff9b43a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9b43a7cc clang::ento::CoreEngine::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 0x0000ffff9b43ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x0000ffff9b43ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x0000ffff9b43ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #44 0x0000ffff9b43ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #45 0x0000ffff9b43ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #46 0x0000ffff9b7052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #47 0x0000ffff9b7052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #48 0x0000ffff9b7052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #49 0x0000ffff9b7052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #50 0x0000ffff9b7052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #51 0x0000ffff9b706278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #52 0x0000ffff9b706278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #53 0x0000ffff9b706278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #54 0x0000ffff9b70a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff9b70a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff9b70a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #57 0x0000ffff9b70a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #58 0x0000ffff9b70a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #59 0x0000ffff99b61b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #60 0x0000ffff99b61b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #61 0x0000ffff99b61b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #62 0x0000ffff99b61b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #63 0x0000ffff9b225600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #64 0x0000ffff9b1dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #65 0x0000ffff9b1dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #66 0x0000ffff9b1dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #67 0x0000ffff9b2636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #68 0x0000aaaae2aa59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #69 0x0000aaaae2aa94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #70 0x0000aaaae2aaaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #71 0x0000aaaae2aa1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #72 0x0000ffff9276098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #73 0x0000ffff92760a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #74 0x0000aaaae2aa20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/iterator-modeling.cpp.script: line 6: 37305 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp -verify -analyzer-config display-checker-name=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/test_objc_inlining_option.m (849 of 19719) ******************** TEST 'Clang :: Analysis/inlining/test_objc_inlining_option.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config ipa=dynamic-bifurcate -analyzer-config objc-inlining=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/test_objc_inlining_option.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config ipa=dynamic-bifurcate -analyzer-config objc-inlining=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/test_objc_inlining_option.m 1. parser at end of file #0 0x0000ffff7e49ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7e499180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7e49b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8745e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff86750e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff86750e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff86750e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff86750e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff86750e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff86750e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff86750e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff86750e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff863fe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff863fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff863fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff863fe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff863feef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff863feef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff863feef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff863feef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff86411aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff86411aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff86411aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff86412ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff86412ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff86412ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff864124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff864124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff864124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8641eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8641eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8641eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff86428484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff86428484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff86428484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8638c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8638c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8638c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8638c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8638cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8638cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8638cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff86360400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff86360400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff86360400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8639cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8639cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8639cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff863bae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff863bae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff863bae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff866852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff866852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff866852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff866852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff866852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff86686278 llvm::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 0x0000ffff86686278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff86686278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8668a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8668a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8668a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8668a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8668a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff84ae1b88 __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 0x0000ffff84ae1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff84ae1b88 void clang::finalize>, 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 0x0000ffff84ae1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff861a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8615d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8615d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8615d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff861e36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae08e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae08e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae08eaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae08e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff7d6e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff7d6e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae08e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/test_objc_inlining_option.m.script: line 1: 37272 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config ipa=dynamic-bifurcate -analyzer-config objc-inlining=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/test_objc_inlining_option.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/iterator-range.cpp (850 of 19719) ******************** TEST 'Clang :: Analysis/iterator-range.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.IteratorRange -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-range.cpp -verify : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.IteratorRange -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-range.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.IteratorRange -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-range.cpp -verify 1. parser at end of file 2. While analyzing stack: #0 Calling ptr_iter_diff(cont_with_ptr_iterator &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-range.cpp:939:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-range.cpp:939:13: Error evaluating statement #0 0x0000ffff9269ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff92699180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9269b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9b6577e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9a5d7cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff9a5d7cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9a5d7cb0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9a5d7cb0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9a5d7cb0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9a5d7cb0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9a5d7cb0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff9a5d7cb0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff9a5d7cb0 (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 0x0000ffff9a5d7d8c (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffff9a62b478 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffff9a62b478 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffff9a62acb4 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1270:0 #17 0x0000ffff9a62acb4 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:0 #18 0x0000ffff9aa382f4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffff9aa382f4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffff9aa382f4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffff9a6127b4 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffff9a6127b4 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffff9a611d88 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #24 0x0000ffff9a611e8c clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #25 0x0000ffff9a612ecc clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:26:17 #26 0x0000ffff9a6124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9a6124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9a6124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9a61eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9a61eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9a61eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9a628484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9a628484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9a628484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9a58c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9a58c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9a58c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9a58c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9a58cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9a58cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9a58cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9a560400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff9a560400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff9a560400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9a713b04 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #46 0x0000ffff9a713b04 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #47 0x0000ffff9a713b04 clang::ento::iterator::assumeNoOverflow(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, long) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Iterator.cpp:291:0 #48 0x0000ffff9a690008 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffff9a690008 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9a690008 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:0 #51 0x0000ffff9a690008 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:0 #52 0x0000ffff9a690008 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:0 #53 0x0000ffff9a690008 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #54 0x0000ffff9a5767b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x0000ffff9a5767b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x0000ffff9a5767b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #57 0x0000ffff9a5767b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #58 0x0000ffff9a5767b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #59 0x0000ffff9a5d6c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #60 0x0000ffff9a5d6c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #61 0x0000ffff9a5d6c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #62 0x0000ffff9a5d6c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #63 0x0000ffff9a5d6c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #64 0x0000ffff9a5d6c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #65 0x0000ffff9a5d74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #66 0x0000ffff9a5b9250 clang::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 0x0000ffff9a5b9250 clang::ento::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 0x0000ffff9a5ba2b8 clang::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 0x0000ffff9a5ba5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9a5ba7cc clang::ento::CoreEngine::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 0x0000ffff9a5bab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffff9a5bab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffff9a5bab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #74 0x0000ffff9a5bab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #75 0x0000ffff9a5bab14 clang::ento::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 0x0000ffff9a8852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #77 0x0000ffff9a8852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #78 0x0000ffff9a8852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #79 0x0000ffff9a8852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #80 0x0000ffff9a8852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #81 0x0000ffff9a886278 llvm::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 0x0000ffff9a886278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x0000ffff9a886278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #84 0x0000ffff9a88a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x0000ffff9a88a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x0000ffff9a88a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x0000ffff9a88a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x0000ffff9a88a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x0000ffff98ce1b88 __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 0x0000ffff98ce1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x0000ffff98ce1b88 void clang::finalize>, 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 0x0000ffff98ce1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x0000ffff9a3a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #94 0x0000ffff9a35d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #95 0x0000ffff9a35d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #96 0x0000ffff9a35d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #97 0x0000ffff9a3e36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #98 0x0000aaaadec559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x0000aaaadec594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x0000aaaadec5aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x0000aaaadec51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x0000ffff918e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #103 0x0000ffff918e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #104 0x0000aaaadec520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/iterator-range.cpp.script: line 2: 37310 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.IteratorRange -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-range.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/stl.cpp (851 of 19719) ******************** TEST 'Clang :: Analysis/inlining/stl.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=false -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/stl.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=true -std=c++11 -DINLINE=1 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/stl.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=false -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/stl.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testException(std::exception) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/stl.cpp:22:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/stl.cpp:22:3: Error evaluating statement #0 0x0000ffffa708ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa7089180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa708b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb00477e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffaf340e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaf340e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaf340e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaf340e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaf340e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaf340e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaf340e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaf340e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaefee018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaefee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaefee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaefee018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaefeeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaefeeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaefeeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaefeeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaf001aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaf001aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaf001aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffaf002ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaf002ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaf002ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffaf0024c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaf0024c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaf0024c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaf00eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaf00eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaf00eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaf018484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaf018484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaf018484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaef7c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaef7c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaef7c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaef7c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffaf46f5b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaf46f5b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaf46f5b4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffaf46f5b4 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #43 0x0000ffffaf089ff0 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #44 0x0000ffffaf089ff0 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #45 0x0000ffffaf089ff0 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #46 0x0000ffffaf0bd7c0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #47 0x0000ffffaf0bd7c0 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #48 0x0000ffffaef6719c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #49 0x0000ffffaefc6bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #50 0x0000ffffaefc6bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #51 0x0000ffffaefc6bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #52 0x0000ffffaefc6bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #53 0x0000ffffaefc74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #54 0x0000ffffaefa9250 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #55 0x0000ffffaefa9250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #56 0x0000ffffaefaa2b8 clang::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 0x0000ffffaefaa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffaefaa7cc clang::ento::CoreEngine::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 0x0000ffffaefaab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffaefaab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffaefaab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffaefaab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffaefaab14 clang::ento::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 0x0000ffffaf2752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffaf2752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffaf2752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffaf2752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffaf2752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffaf276278 llvm::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 0x0000ffffaf276278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffaf276278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffaf27a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffaf27a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffaf27a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffaf27a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffaf27a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffad6d1b88 __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 0x0000ffffad6d1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffad6d1b88 void clang::finalize>, 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 0x0000ffffad6d1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffaed95600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffaed4d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffaed4d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffaed4d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffaedd36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaae8d259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaae8d294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaae8d2aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaae8d21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffffa62d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffa62d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaae8d220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/stl.cpp.script: line 2: 37273 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=false -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/stl.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/kmalloc-linux.c (852 of 19719) ******************** TEST 'Clang :: Analysis/kmalloc-linux.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/kmalloc-linux.c -verify -Wno-incompatible-library-redeclaration -analyzer-checker=core -analyzer-checker=unix.Malloc -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/kmalloc-linux.c -verify -Wno-incompatible-library-redeclaration -analyzer-checker=core -analyzer-checker=unix.Malloc 1. parser at end of file 2. While analyzing stack: #0 Calling test_3arg_malloc_leak 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/kmalloc-linux.c:120:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/kmalloc-linux.c:120:10: Error evaluating statement #0 0x0000ffff8a31ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8a319180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8a31b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff932d27e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff925d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff925d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff925d0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff925d0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff925d0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff925d0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff925d0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff925d0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9227e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9227e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9227e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9227e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9227eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9227eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9227eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9227eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff92292c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff92292c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff92292c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff922924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff922924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff922924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffff9229eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffff9229eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffff9229eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffff922a8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffff922a8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff922a8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffff9220c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff9220c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff9220c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffff9220c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #36 0x0000ffff926fb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff926fb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff926fb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffff923d103c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #40 0x0000ffff923d103c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #41 0x0000ffff923d103c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #42 0x0000ffff923d103c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #43 0x0000ffff923d103c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #44 0x0000ffff923d103c performKernelMalloc /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1189:0 #45 0x0000ffff923d103c (anonymous namespace)::MallocChecker::checkKernelMalloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1225:0 #46 0x0000ffff923de4d0 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #47 0x0000ffff923de4d0 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #48 0x0000ffff921f67b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x0000ffff921f67b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x0000ffff921f67b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #51 0x0000ffff921f67b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #52 0x0000ffff921f67b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #53 0x0000ffff92256c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #54 0x0000ffff92256c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #55 0x0000ffff92256c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #56 0x0000ffff92256c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #57 0x0000ffff92256c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #58 0x0000ffff92256c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #59 0x0000ffff922574f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #60 0x0000ffff92239250 clang::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 0x0000ffff92239250 clang::ento::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 0x0000ffff9223a2b8 clang::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 0x0000ffff9223a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9223a7cc clang::ento::CoreEngine::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 0x0000ffff9223ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffff9223ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffff9223ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffff9223ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffff9223ab14 clang::ento::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 0x0000ffff925052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffff925052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffff925052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffff925052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffff925052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffff92506278 llvm::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 0x0000ffff92506278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffff92506278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffff9250a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffff9250a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffff9250a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffff9250a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffff9250a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffff90961b88 __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 0x0000ffff90961b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffff90961b88 void clang::finalize>, 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 0x0000ffff90961b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffff92025600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffff91fdd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffff91fdd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffff91fdd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffff920636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaad7fd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaad7fd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaad7fdaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaad7fd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffff8956098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffff89560a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaad7fd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/kmalloc-linux.c.script: line 1: 37382 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/kmalloc-linux.c -verify -Wno-incompatible-library-redeclaration -analyzer-checker=core -analyzer-checker=unix.Malloc -- ******************** Testing: 0 FAIL: Clang :: Analysis/invalidated-iterator.cpp (853 of 19719) ******************** TEST 'Clang :: Analysis/invalidated-iterator.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.InvalidatedIterator -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/invalidated-iterator.cpp -verify : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.InvalidatedIterator -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/invalidated-iterator.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.InvalidatedIterator -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/invalidated-iterator.cpp -verify 1. parser at end of file 2. While analyzing stack: #0 Calling invalidated_subscript_end_ptr_iterator(cont_with_ptr_iterator &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/invalidated-iterator.cpp:196:12: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/invalidated-iterator.cpp:196:12: Error evaluating statement #0 0x0000ffff7a37ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7a379180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7a37b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff833397e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff822b7cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff822b7cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff822b7cb0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff822b7cb0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff822b7cb0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff822b7cb0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff822b7cb0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff822b7cb0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff822b7cb0 (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 0x0000ffff822b7d8c (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffff8230b478 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffff8230b478 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffff8230acb4 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1270:0 #17 0x0000ffff8230acb4 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:0 #18 0x0000ffff827182f4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffff827182f4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffff827182f4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffff822f27b4 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffff822f27b4 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffff822f1d88 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #24 0x0000ffff822f1e8c clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #25 0x0000ffff822f2ecc clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:26:17 #26 0x0000ffff822f24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff822f24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff822f24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff822feb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff822feb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff822feb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff82308484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff82308484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff82308484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8226c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8226c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8226c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8226c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8226cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8226cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8226cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff82240400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff82240400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff82240400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff823f3b04 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #46 0x0000ffff823f3b04 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #47 0x0000ffff823f3b04 clang::ento::iterator::assumeNoOverflow(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, long) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Iterator.cpp:291:0 #48 0x0000ffff82370008 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffff82370008 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff82370008 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:0 #51 0x0000ffff82370008 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:0 #52 0x0000ffff82370008 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:0 #53 0x0000ffff82370008 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #54 0x0000ffff822567b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x0000ffff822567b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x0000ffff822567b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #57 0x0000ffff822567b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #58 0x0000ffff822567b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #59 0x0000ffff822b6c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #60 0x0000ffff822b6c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #61 0x0000ffff822b6c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #62 0x0000ffff822b6c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #63 0x0000ffff822b6c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #64 0x0000ffff822b6c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #65 0x0000ffff822b74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #66 0x0000ffff82299250 clang::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 0x0000ffff82299250 clang::ento::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 0x0000ffff8229a2b8 clang::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 0x0000ffff8229a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8229a7cc clang::ento::CoreEngine::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 0x0000ffff8229ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffff8229ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffff8229ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #74 0x0000ffff8229ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #75 0x0000ffff8229ab14 clang::ento::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 0x0000ffff825652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #77 0x0000ffff825652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #78 0x0000ffff825652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #79 0x0000ffff825652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #80 0x0000ffff825652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #81 0x0000ffff82566278 llvm::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 0x0000ffff82566278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x0000ffff82566278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #84 0x0000ffff8256a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x0000ffff8256a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x0000ffff8256a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x0000ffff8256a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x0000ffff8256a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x0000ffff809c1b88 __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 0x0000ffff809c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x0000ffff809c1b88 void clang::finalize>, 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 0x0000ffff809c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x0000ffff82085600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #94 0x0000ffff8203d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #95 0x0000ffff8203d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #96 0x0000ffff8203d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #97 0x0000ffff820c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #98 0x0000aaaab03959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x0000aaaab03994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x0000aaaab039aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x0000aaaab0391fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x0000ffff795c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #103 0x0000ffff795c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #104 0x0000aaaab03920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/invalidated-iterator.cpp.script: line 2: 37295 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.InvalidatedIterator -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/invalidated-iterator.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/keychainAPI-diagnostic-visitor.m (854 of 19719) ******************** TEST 'Clang :: Analysis/keychainAPI-diagnostic-visitor.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=osx.SecKeychainAPI -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/keychainAPI-diagnostic-visitor.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=osx.SecKeychainAPI -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/keychainAPI-diagnostic-visitor.m 1. parser at end of file 2. While analyzing stack: #0 Calling DellocWithCFStringCreate4 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/keychainAPI-diagnostic-visitor.m:28:5: Error evaluating statement #0 0x0000ffffa503ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa5039180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa503b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffadff17e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffad0e9ff8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffad0e9ff8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffad0e9ff8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffad0e9ff8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffad0e9ff8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffad0e9ff8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffad0e9ff8 get<(anonymous namespace)::AllocatedData> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffad0e9ff8 (anonymous namespace)::MacOSKeychainAPIChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp:545:52 #12 0x0000ffffacf2aae4 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 0x0000ffffacf452e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffacf452e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffacf452e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffacf452e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffacf452e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffacf452e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffacf452e8 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 0x0000ffffacf5a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffacf5a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffacf5a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffacf5a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffacf5a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffacf5a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffacf5a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffacf5a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffacf5a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffacf5a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffacf5a7cc clang::ento::CoreEngine::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 0x0000ffffacf5ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffacf5ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffacf5ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffacf5ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffacf5ab14 clang::ento::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 0x0000ffffad2252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffad2252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffad2252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffad2252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffad2252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffad226278 llvm::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 0x0000ffffad226278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffad226278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffad22a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffad22a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffad22a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffad22a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffad22a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffab681b88 __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 0x0000ffffab681b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffab681b88 void clang::finalize>, 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 0x0000ffffab681b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffacd45600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffaccfd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffaccfd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffaccfd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffacd836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaae5e459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaae5e494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaae5e4aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaae5e41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffa428098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffa4280a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaae5e420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/keychainAPI-diagnostic-visitor.m.script: line 1: 37379 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=osx.SecKeychainAPI -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/keychainAPI-diagnostic-visitor.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/keychainAPI.m (855 of 19719) ******************** TEST 'Clang :: Analysis/keychainAPI.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.SecKeychainAPI -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/keychainAPI.m -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.SecKeychainAPI -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/keychainAPI.m -verify 1. parser at end of file 2. While analyzing stack: #0 Calling radar_19196494_v2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/keychainAPI.m:460:5: Error evaluating statement #0 0x0000ffffadf5ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffadf59180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffadf5b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb6f157e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb6009ff8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb6009ff8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb6009ff8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb6009ff8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb6009ff8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb6009ff8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb6009ff8 get<(anonymous namespace)::AllocatedData> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb6009ff8 (anonymous namespace)::MacOSKeychainAPIChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp:545:52 #12 0x0000ffffb5e4aae4 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 0x0000ffffb5e652e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffb5e652e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffb5e652e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffb5e652e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffb5e652e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffb5e652e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffb5e652e8 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 0x0000ffffb5e7a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffb5e7a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffb5e7a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffb5e7a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffb5e7a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffb5e7a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffb5e7a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffb5e7a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffb5e7a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffb5e7a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb5e7a7cc clang::ento::CoreEngine::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 0x0000ffffb5e7ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffb5e7ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffb5e7ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffb5e7ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffb5e7ab14 clang::ento::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 0x0000ffffb61452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffb61452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffb61452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffb61452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffb61452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffb6146278 llvm::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 0x0000ffffb6146278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffb6146278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffb614a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffb614a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffb614a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffb614a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffb614a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffb45a1b88 __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 0x0000ffffb45a1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffb45a1b88 void clang::finalize>, 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 0x0000ffffb45a1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffb5c65600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffb5c1d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffb5c1d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffb5c1d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffb5ca36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaad64059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaad64094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaad640aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaad6401fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffad1a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffad1a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaad64020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/keychainAPI.m.script: line 1: 37383 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.SecKeychainAPI -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/keychainAPI.m -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/lifetime-extension.cpp (864 of 19719) ******************** TEST 'Clang :: Analysis/lifetime-extension.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=true,c++-temp-dtor-inlining=true -DTEMPORARIES -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++17 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=true,c++-temp-dtor-inlining=true -DTEMPORARIES -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=false -DMOVES -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=true,c++-temp-dtor-inlining=true -DTEMPORARIES -DMOVES -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++17 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=true,c++-temp-dtor-inlining=true -DTEMPORARIES -DMOVES -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling maintain_address_of_copies::AddressVector::AddressVector() at line 325 #1 Calling maintain_address_of_copies::f4() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp:240:25: Error evaluating statement #0 0x0000ffff9011ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff90119180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9011b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff990d07e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff980250b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff980250b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff980250b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff980250b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff980250b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff980250b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff980250b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff980250b8 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 0x0000ffff9803a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff9803a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff9803a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff9803a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff9803a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff9803a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff9803a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff9803a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff9803a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff9803a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9803a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff9803a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff9803ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff9803ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff9803ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff9803ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff9803ab14 clang::ento::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 0x0000ffff983052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff983052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff983052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff983052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff983052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff98306278 llvm::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 0x0000ffff98306278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff98306278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff9830a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff9830a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff9830a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff9830a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff9830a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff96761b88 __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 0x0000ffff96761b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff96761b88 void clang::finalize>, 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 0x0000ffff96761b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff97e25600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff97ddd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff97ddd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff97ddd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff97e636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaad64759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaad64794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaad647aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaad6471fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff8f36098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff8f360a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaad64720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lifetime-extension.cpp.script: line 6: 37407 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/llvm-conventions.cpp (865 of 19719) ******************** TEST 'Clang :: Analysis/llvm-conventions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.llvm.Conventions -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/llvm-conventions.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.llvm.Conventions -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/llvm-conventions.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling getTemporaryString() at line 182 #1 Calling assigningTempStringFromFunctionToStringRefTest() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/llvm-conventions.cpp:177:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/llvm-conventions.cpp:177:10: Error evaluating statement #0 0x0000ffffab58ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffab589180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffab58b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb454e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb349b9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffb349b9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb349b9a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb349b9a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb349b9a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb349b9a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb349b9a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb349b9a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffffb349bd94 llvm::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 0x0000ffffb349bd94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffb349bd94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffb349bd94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffffb349bd94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffffb349c2ac llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffffb349c2ac llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffffb349c2ac clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:486:0 #20 0x0000ffffb349c3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x0000ffffb349c3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x0000ffffb349c3b4 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:451:0 #23 0x0000ffffb349c408 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #24 0x0000ffffb349c408 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x0000ffffb349c408 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:459:0 #26 0x0000ffffb34a3db0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #27 0x0000ffffb34a3db0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #28 0x0000ffffb34a3db0 clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #29 0x0000ffffb34a3db0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:665:0 #30 0x0000ffffb34a920c clang::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 0x0000ffffb34a920c clang::ento::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 0x0000ffffb34aa2b8 clang::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 0x0000ffffb34aa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb34aa7cc clang::ento::CoreEngine::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 0x0000ffffb34aab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffb34aab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffb34aab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffb34aab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffb34aab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffffb37752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffb37752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffb37752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffb37752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffb37752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffb3776278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffffb3776278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffb3776278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffb377a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffb377a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffb377a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffb377a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffb377a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffb1bd1b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffffb1bd1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffb1bd1b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffffb1bd1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffb3295600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffb324d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffb324d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffb324d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffb32d36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaad3ee59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaad3ee94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaad3eeaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaad3ee1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffffaa7d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffffaa7d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaad3ee20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/llvm-conventions.cpp.script: line 1: 37428 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.llvm.Conventions -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/llvm-conventions.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/lambdas.mm (867 of 19719) ******************** TEST 'Clang :: Analysis/lambdas.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -Wno-objc-root-class -analyzer-checker=core,deadcode,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -Wno-objc-root-class -analyzer-checker=core,deadcode,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.mm 1. parser at end of file 2. While analyzing stack: #0 Calling castLambdaInLocalBlock() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.mm:139:17: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.mm:139:17: Error evaluating statement #0 0x0000ffff83c9ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff83c99180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff83c9b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8cc507e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8bba5734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8bba5734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8bba5734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8bba5734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8bba5734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8bba5734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8bba5734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff8bba5734 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 0x0000ffff8bbd6660 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffff8bbd6804 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffff8bbd6804 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffff8bbd6804 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffff8bbb3514 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffff8bbb920c clang::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 0x0000ffff8bbb920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffff8bbba2b8 clang::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 0x0000ffff8bbba5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8bbba7cc clang::ento::CoreEngine::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 0x0000ffff8bbbab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffff8bbbab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffff8bbbab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffff8bbbab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffff8bbbab14 clang::ento::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 0x0000ffff8be852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffff8be852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffff8be852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffff8be852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffff8be852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffff8be86278 llvm::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 0x0000ffff8be86278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffff8be86278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffff8be8a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff8be8a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff8be8a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffff8be8a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffff8be8a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffff8a2e1b88 __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 0x0000ffff8a2e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffff8a2e1b88 void clang::finalize>, 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 0x0000ffff8a2e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffff8b9a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffff8b95d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffff8b95d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffff8b95d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffff8b9e36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaac39e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaac39e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaac39eaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaac39e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffff82ee098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffff82ee0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaac39e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas.mm.script: line 1: 37396 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -Wno-objc-root-class -analyzer-checker=core,deadcode,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/live-bindings-test.cpp (868 of 19719) ******************** TEST 'Clang :: Analysis/live-bindings-test.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,deadcode -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-bindings-test.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,deadcode -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-bindings-test.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling deconstruct_tuple_types_no_warning() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-bindings-test.cpp:125:3: Error evaluating statement #0 0x0000ffffa54dad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa54d9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa54db408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffae4967e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffad3e50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffad3e50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffad3e50b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffad3e50b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffad3e50b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffad3e50b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffad3e50b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffad3e50b8 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 0x0000ffffad3fa244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffad3fa244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffad3fa244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffad3fa244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffad3fa244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffad3fa244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffad3fa244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffad3fa244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffad3fa244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffad3fa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffad3fa7cc clang::ento::CoreEngine::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 0x0000ffffad3fab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffffad3fab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffffad3fab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffffad3fab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffffad3fab14 clang::ento::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 0x0000ffffad6c52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffffad6c52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffffad6c52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffffad6c52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffffad6c52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffffad6c6278 llvm::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 0x0000ffffad6c6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffffad6c6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffffad6ca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffffad6ca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffffad6ca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffffad6ca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffffad6ca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffffabb21b88 __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 0x0000ffffabb21b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffffabb21b88 void clang::finalize>, 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 0x0000ffffabb21b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffffad1e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffffad19d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffffad19d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffffad19d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffffad2236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaae5c159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaae5c194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaae5c1aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaae5c11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffffa472098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffffa4720a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaae5c120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/live-bindings-test.cpp.script: line 1: 37414 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,deadcode -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-bindings-test.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/lifetime-extension.mm (869 of 19719) ******************** TEST 'Clang :: Analysis/lifetime-extension.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.mm : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++17 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.mm : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -DMOVES -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.mm : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++17 -analyzer-checker=core,debug.ExprInspection -DMOVES -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.mm 1. parser at end of file 2. While analyzing stack: #0 Calling AddressVector::AddressVector() at line 55 #1 Calling testReturnByValueFromMessage(Foo *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.mm:13:25: Error evaluating statement #0 0x0000ffff9df2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9df29180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9df2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa6eed7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa5e350b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa5e350b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa5e350b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa5e350b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa5e350b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa5e350b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa5e350b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa5e350b8 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 0x0000ffffa5e4a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffa5e4a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffa5e4a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffa5e4a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffa5e4a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffa5e4a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffa5e4a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffa5e4a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffa5e4a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffa5e4a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa5e4a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffa5e4a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffa5e4ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffa5e4ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffa5e4ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffa5e4ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffa5e4ab14 clang::ento::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 0x0000ffffa61152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffa61152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffa61152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffa61152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffa61152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffa6116278 llvm::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 0x0000ffffa6116278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffa6116278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffa611a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffa611a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffa611a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffa611a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffa611a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffa4571b88 __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 0x0000ffffa4571b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffa4571b88 void clang::finalize>, 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 0x0000ffffa4571b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffa5c35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffa5bed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffa5bed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffa5bed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffa5c736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaaab5459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaaab5494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaaab54aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaaab541fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff9d17098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff9d170a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaaab5420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lifetime-extension.mm.script: line 4: 37410 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/logical-ops.c (870 of 19719) ******************** TEST 'Clang :: Analysis/logical-ops.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/logical-ops.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/logical-ops.c 1. parser at end of file 2. While analyzing stack: #0 Calling ambiguous_backtrack_2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/logical-ops.c:52:27: Error evaluating statement #0 0x0000ffff93f2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff93f29180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff93f2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9cee17e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9be8a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9be8a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9be8a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9be8a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff9be8a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff9be8a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff9be353bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff9be353bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff9be353bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff9be4a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff9be4a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff9be4a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff9be4a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff9be4a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff9be4a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff9be4a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff9be4a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff9be4a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff9be4a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9be4a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff9be4a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff9be4ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff9be4ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff9be4ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff9be4ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff9be4ab14 clang::ento::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 0x0000ffff9c1152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9c1152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9c1152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff9c1152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff9c1152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff9c116278 llvm::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 0x0000ffff9c116278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff9c116278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff9c11a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff9c11a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff9c11a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff9c11a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff9c11a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff9a571b88 __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 0x0000ffff9a571b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff9a571b88 void clang::finalize>, 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 0x0000ffff9a571b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff9bc35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff9bbed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff9bbed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff9bbed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff9bc736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaae60959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaae60994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaae609aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaae6091fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff9317098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff93170a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaae60920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/logical-ops.c.script: line 1: 37440 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/logical-ops.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/lambdas-modern.cpp (871 of 19719) ******************** TEST 'Clang :: Analysis/lambdas-modern.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-modern.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-modern.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-modern.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling MakeUniquePtr() at line 26 #1 Calling testCopyElidedUniquePtr() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-modern.cpp:23:38: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-modern.cpp:23:38: Error evaluating statement #0 0x0000ffffa3e3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa3e39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa3e3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffacdf37e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffabd4b9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffabd4b9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffabd4b9a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffabd4b9a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffabd4b9a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffabd4b9a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffabd4b9a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffabd4b9a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffffabd4bd94 llvm::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 0x0000ffffabd4bd94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffabd4bd94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffabd4bd94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffffabd4bd94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffffabd4c474 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffffabd4c474 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffffabd4c474 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:0 #20 0x0000ffffabd4c3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x0000ffffabd4c3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x0000ffffabd4c3b4 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:451:0 #23 0x0000ffffabd4c408 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #24 0x0000ffffabd4c408 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x0000ffffabd4c408 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:459:0 #26 0x0000ffffabd8d82c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #27 0x0000ffffabd8d82c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #28 0x0000ffffabd8d82c clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #29 0x0000ffffabd8d82c clang::ento::ExprEngine::bindReturnValue(clang::ento::CallEvent const&, clang::LocationContext const*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:773:0 #30 0x0000ffffabd8dcc8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #31 0x0000ffffabd8dcc8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x0000ffffabd8dcc8 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:834:0 #33 0x0000ffffabd8e684 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x0000ffffabd8e684 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x0000ffffabd8e684 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #36 0x0000ffffabd17268 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #37 0x0000ffffabd76bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #38 0x0000ffffabd76bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #39 0x0000ffffabd76bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #40 0x0000ffffabd76bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #41 0x0000ffffabd774f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #42 0x0000ffffabd59250 clang::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 0x0000ffffabd59250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #44 0x0000ffffabd5a2b8 clang::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 0x0000ffffabd5a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffabd5a7cc clang::ento::CoreEngine::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 0x0000ffffabd5ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #48 0x0000ffffabd5ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #49 0x0000ffffabd5ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #50 0x0000ffffabd5ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #51 0x0000ffffabd5ab14 clang::ento::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 0x0000ffffac0252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #53 0x0000ffffac0252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #54 0x0000ffffac0252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #55 0x0000ffffac0252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #56 0x0000ffffac0252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #57 0x0000ffffac026278 llvm::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 0x0000ffffac026278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #59 0x0000ffffac026278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #60 0x0000ffffac02a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffffac02a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffffac02a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #63 0x0000ffffac02a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #64 0x0000ffffac02a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #65 0x0000ffffaa481b88 __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 0x0000ffffaa481b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #67 0x0000ffffaa481b88 void clang::finalize>, 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 0x0000ffffaa481b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #69 0x0000ffffabb45600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #70 0x0000ffffabafd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #71 0x0000ffffabafd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #72 0x0000ffffabafd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #73 0x0000ffffabb836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #74 0x0000aaaae21459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #75 0x0000aaaae21494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #76 0x0000aaaae214aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #77 0x0000aaaae2141fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #78 0x0000ffffa308098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #79 0x0000ffffa3080a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #80 0x0000aaaae21420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas-modern.cpp.script: line 2: 37397 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-modern.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/left-shift-cxx2a.cpp (872 of 19719) ******************** TEST 'Clang :: Analysis/left-shift-cxx2a.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -triple x86_64-apple-darwin13 -Wno-shift-count-overflow -verify=expected,cxx17 -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/left-shift-cxx2a.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -triple x86_64-apple-darwin13 -Wno-shift-count-overflow -verify=expected,cxx2a -std=c++2a /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/left-shift-cxx2a.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -triple x86_64-apple-darwin13 -Wno-shift-count-overflow -verify=expected,cxx17 -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/left-shift-cxx2a.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testUnrepresentableLeftShift(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/left-shift-cxx2a.cpp:19:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/left-shift-cxx2a.cpp:19:7: Error evaluating statement #0 0x0000ffff9e29ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9e299180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9e29b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa72547e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa6550e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa6550e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa6550e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa6550e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa6550e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa6550e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa6550e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa6550e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa61fe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa61fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa61fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa61fe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa61feef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa61feef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa61feef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa61feef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa6211aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa6211aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa6211aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa6212ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa6212ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa6212ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa62124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa62124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa62124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa621eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa621eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa621eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa6228484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa6228484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa6228484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa618c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa618c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa618c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa618c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa667b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa667b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa667b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa619fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa619fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa619fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffa61ba05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffa61ba05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffa61ba05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffa61ba05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffa61ba05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffa61ba2b8 clang::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 0x0000ffffa61ba5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa61ba7cc clang::ento::CoreEngine::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 0x0000ffffa61bab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa61bab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa61bab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa61bab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa61bab14 clang::ento::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 0x0000ffffa64852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa64852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa64852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa64852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa64852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa6486278 llvm::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 0x0000ffffa6486278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa6486278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa648a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa648a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa648a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa648a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa648a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa48e1b88 __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 0x0000ffffa48e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa48e1b88 void clang::finalize>, 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 0x0000ffffa48e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa5fa5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa5f5d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa5f5d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa5f5d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa5fe36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaada1559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaada1594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaada15aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaada151fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9d4e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9d4e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaada1520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/left-shift-cxx2a.cpp.script: line 2: 37404 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -triple x86_64-apple-darwin13 -Wno-shift-count-overflow -verify=expected,cxx17 -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/left-shift-cxx2a.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/lambdas-generalized-capture.cpp (873 of 19719) ******************** TEST 'Clang :: Analysis/lambdas-generalized-capture.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,deadcode,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-generalized-capture.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,deadcode,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-generalized-capture.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling caseSplitInGeneralizedCapture(_Bool) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-generalized-capture.cpp:44:21: Error evaluating branch #0 0x0000ffffb217ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb2179180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb217b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbb1337e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffba430e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffba430e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffba430e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffba430e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffba430e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffba430e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffba430e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffba430e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffba0de018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffba0de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffba0de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffba0de018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffba0dec90 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffba0dec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffba0dec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffba0dec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffba0f2c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffba0f2c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffba0f2c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffba0f2f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffba0f2f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffba0f2f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffba0f24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffba0f24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffba0f24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffba0feb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffba0feb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffba0feb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffba108484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffba108484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffba108484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffba06c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffba06c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffba06c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffba06c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffba55b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffba55b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffba55b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffba082bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffba082bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffba082bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffba082bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffba082bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffba082bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffba082bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffba082bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffba082bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffba082bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffba083130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffba09ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffba09ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffba09ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffba09ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffba09ab14 clang::ento::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 0x0000ffffba3652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffba3652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffba3652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffba3652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffba3652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffba366278 llvm::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 0x0000ffffba366278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffba366278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffba36a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffba36a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffba36a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffba36a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffba36a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb87c1b88 __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 0x0000ffffb87c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb87c1b88 void clang::finalize>, 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 0x0000ffffb87c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb9e85600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb9e3d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb9e3d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb9e3d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb9ec36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac6f959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac6f994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac6f9aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac6f91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb13c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb13c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac6f920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas-generalized-capture.cpp.script: line 1: 37390 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,deadcode,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-generalized-capture.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/lambdas.cpp (874 of 19719) ******************** TEST 'Clang :: Analysis/lambdas.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,deadcode,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core -analyzer-config inline-lambdas=false -DNO_INLINING=1 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,debug.DumpCFG -analyzer-config inline-lambdas=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.cpp > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas.cpp.tmp 2>&1 : 'RUN: at line 4'; /usr/bin/FileCheck --input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas.cpp.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,deadcode,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.cpp 1. parser at end of file #0 0x0000ffff854aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff854a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff854ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8e46b7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8d760e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8d760e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8d760e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8d760e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8d760e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8d760e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8d760e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8d760e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8d40e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8d40e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8d40e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8d40e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8d40eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8d40eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8d40eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8d40eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8d421aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8d421aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8d421aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8d422ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8d422ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8d422ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8d4224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8d4224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8d4224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8d42eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8d42eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8d42eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8d438484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8d438484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8d438484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8d39c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8d39c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8d39c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8d39c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8d39cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8d39cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8d39cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8d370400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8d370400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8d370400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8d3ace5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8d3ace5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8d3ace5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff8d3cae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8d3cae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8d3cae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8d6952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8d6952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8d6952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8d6952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8d6952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff8d696278 llvm::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 0x0000ffff8d696278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff8d696278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8d69a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8d69a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8d69a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8d69a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8d69a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff8baf1b88 __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 0x0000ffff8baf1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff8baf1b88 void clang::finalize>, 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 0x0000ffff8baf1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff8d1b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8d16d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8d16d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8d16d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8d1f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaabb3e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaabb3e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaabb3eaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaabb3e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff846f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff846f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaabb3e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas.cpp.script: line 4: 37399 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,deadcode,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/localization.m (875 of 19719) ******************** TEST 'Clang :: Analysis/localization.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-output=text -analyzer-checker=optin.osx.cocoa.localizability.NonLocalizedStringChecker -analyzer-checker=alpha.osx.cocoa.localizability.PluralMisuseChecker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/localization.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-output=text -analyzer-checker=optin.osx.cocoa.localizability.NonLocalizedStringChecker -analyzer-checker=alpha.osx.cocoa.localizability.PluralMisuseChecker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/localization.m 1. parser at end of file #0 0x0000ffff92d8ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff92d89180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff92d8b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9bd4c7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9b040e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9b040e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9b040e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9b040e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9b040e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9b040e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9b040e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9b040e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9acee018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9acee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9acee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9acee018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9aceeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9aceeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9aceeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9aceeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9ad01aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9ad01aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9ad01aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9ad02ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9ad02ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9ad02ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9ad024c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9ad024c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9ad024c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9ad0eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9ad0eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9ad0eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9ad18484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9ad18484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9ad18484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9ac7c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9ac7c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9ac7c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9ac7c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9ac7cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9ac7cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9ac7cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9ac50400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff9ac50400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff9ac50400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9ac8cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9ac8cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9ac8cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff9acaae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9acaae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9acaae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff9af752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff9af752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff9af752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff9af752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff9af752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff9af76278 llvm::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 0x0000ffff9af76278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff9af76278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9af7a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9af7a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9af7a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9af7a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9af7a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff993d1b88 __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 0x0000ffff993d1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff993d1b88 void clang::finalize>, 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 0x0000ffff993d1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff9aa95600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9aa4d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9aa4d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9aa4d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9aad36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaadf1a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaadf1a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaadf1aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaadf1a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff91fd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff91fd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaadf1a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/localization.m.script: line 1: 37437 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-output=text -analyzer-checker=optin.osx.cocoa.localizability.NonLocalizedStringChecker -analyzer-checker=alpha.osx.cocoa.localizability.PluralMisuseChecker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/localization.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/lifetime-extended-regions.cpp (876 of 19719) ******************** TEST 'Clang :: Analysis/lifetime-extended-regions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -Wno-dangling -Wno-c++1z-extensions -verify=expected,cpp14 -x c++ -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extended-regions.cpp : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -analyzer-config elide-constructors=false -Wno-dangling -Wno-c++1z-extensions -verify=expected,cpp14 -x c++ -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extended-regions.cpp : 'RUN: at line 12'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -Wno-dangling -verify=expected,cpp17 -x c++ -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extended-regions.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -Wno-dangling -Wno-c++1z-extensions -verify=expected,cpp14 -x c++ -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extended-regions.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling select(_Bool, const int &, const int &) at line 161 #1 Calling propagation(_Bool) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extended-regions.cpp:24:61: Error evaluating branch #0 0x0000ffffb1e4ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb1e49180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb1e4b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbae047e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffba100e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffba100e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffba100e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffba100e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffba100e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffba100e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffba100e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffba100e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb9dae018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb9dae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb9dae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb9dae018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb9daec90 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb9daec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb9daec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb9daec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffb9dc2c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb9dc2c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb9dc2c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffb9dc2f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb9dc2f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb9dc2f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffb9dc24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb9dc24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb9dc24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb9dceb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb9dceb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb9dceb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb9dd8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb9dd8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb9dd8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb9d3c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb9d3c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb9d3c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb9d3c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffba22b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffba22b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffba22b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb9d52bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb9d52bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb9d52bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb9d52bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb9d52bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb9d52bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb9d52bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb9d52bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb9d52bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb9d52bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb9d53130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb9d6ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb9d6ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb9d6ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb9d6ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb9d6ab14 clang::ento::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 0x0000ffffba0352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffba0352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffba0352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffba0352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffba0352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffba036278 llvm::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 0x0000ffffba036278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffba036278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffba03a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffba03a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffba03a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffba03a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffba03a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb8491b88 __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 0x0000ffffb8491b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb8491b88 void clang::finalize>, 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 0x0000ffffb8491b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb9b55600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb9b0d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb9b0d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb9b0d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb9b936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabdc659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabdc694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabdc6aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabdc61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb109098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb1090a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabdc620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lifetime-extended-regions.cpp.script: line 3: 37408 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -Wno-dangling -Wno-c++1z-extensions -verify=expected,cpp14 -x c++ -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extended-regions.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/live-variables.cpp (877 of 19719) ******************** TEST 'Clang :: Analysis/live-variables.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.cpp:18:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.cpp:18:9: Error evaluating statement #0 0x0000ffff9760ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff97609180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9760b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa05cf7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9f8c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9f8c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9f8c0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9f8c0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9f8c0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9f8c0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9f8c0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9f8c0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9f56e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9f56e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9f56e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9f56e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9f56eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9f56eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9f56eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9f56eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9f581aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9f581aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9f581aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9f582ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9f582ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9f582ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9f5824c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9f5824c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9f5824c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9f58eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9f58eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9f58eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9f598484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9f598484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9f598484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9f4fc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9f4fc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9f4fc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9f4fc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9f9eb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9f9eb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9f9eb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9f50fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9f50fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9f50fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff9f52a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff9f52a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff9f52a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff9f52a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff9f52a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff9f52a2b8 clang::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 0x0000ffff9f52a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9f52a7cc clang::ento::CoreEngine::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 0x0000ffff9f52ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9f52ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9f52ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9f52ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9f52ab14 clang::ento::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 0x0000ffff9f7f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9f7f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9f7f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9f7f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9f7f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9f7f6278 llvm::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 0x0000ffff9f7f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9f7f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9f7fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9f7fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9f7fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9f7fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9f7fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9dc51b88 __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 0x0000ffff9dc51b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9dc51b88 void clang::finalize>, 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 0x0000ffff9dc51b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9f315600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9f2cd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9f2cd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9f2cd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9f3536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaada5a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaada5a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaada5aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaada5a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9685098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff96850a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaada5a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/live-variables.cpp.script: line 1: 37422 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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 (878 of 19719) ******************** TEST 'Clang :: Analysis/live-variables.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.m 1. parser at end of file 2. While analyzing stack: #0 Calling foo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.m:19:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.m:19:10: Error evaluating statement #0 0x0000ffffa9d6ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa9d69180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa9d6b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb2d2b7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb2020e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb2020e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb2020e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb2020e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb2020e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb2020e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb2020e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb2020e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb1cce018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb1cce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb1cce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb1cce018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb1cceef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb1cceef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb1cceef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb1cceef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb1ce1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb1ce1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb1ce1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb1ce2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb1ce2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb1ce2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb1ce24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb1ce24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb1ce24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb1ceeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb1ceeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb1ceeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb1cf8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb1cf8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb1cf8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb1c5c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb1c5c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb1c5c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb1c5c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb214b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb214b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb214b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb1c6fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb1c6fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb1c6fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb1c8a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb1c8a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb1c8a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb1c8a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb1c8a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb1c8a2b8 clang::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 0x0000ffffb1c8a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb1c8a7cc clang::ento::CoreEngine::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 0x0000ffffb1c8ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb1c8ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb1c8ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb1c8ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb1c8ab14 clang::ento::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 0x0000ffffb1f552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb1f552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb1f552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb1f552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb1f552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb1f56278 llvm::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 0x0000ffffb1f56278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb1f56278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb1f5a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb1f5a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb1f5a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb1f5a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb1f5a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb03b1b88 __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 0x0000ffffb03b1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb03b1b88 void clang::finalize>, 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 0x0000ffffb03b1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb1a75600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb1a2d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb1a2d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb1a2d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb1ab36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab2c459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab2c494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab2c4aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab2c41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa8fb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa8fb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab2c420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/live-variables.m.script: line 1: 37425 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/localization-aggressive.m (879 of 19719) ******************** TEST 'Clang :: Analysis/localization-aggressive.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fblocks -x objective-c-header -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/localization-aggressive.m.tmp.pch /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/localization-pch.h : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-config optin.osx.cocoa.localizability.NonLocalizedStringChecker:AggressiveReport=true -analyzer-checker=optin.osx.cocoa.localizability.NonLocalizedStringChecker -analyzer-checker=optin.osx.cocoa.localizability.EmptyLocalizationContextChecker -include-pch /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/localization-aggressive.m.tmp.pch -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/localization-aggressive.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-config optin.osx.cocoa.localizability.NonLocalizedStringChecker:AggressiveReport=true -analyzer-checker=optin.osx.cocoa.localizability.NonLocalizedStringChecker -analyzer-checker=optin.osx.cocoa.localizability.EmptyLocalizationContextChecker -include-pch /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/localization-aggressive.m.tmp.pch -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/localization-aggressive.m 1. parser at end of file #0 0x0000ffff9ef7ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9ef79180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9ef7b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa7f307e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa7230e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa7230e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa7230e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa7230e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa7230e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa7230e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa7230e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa7230e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa6ede018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa6ede018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa6ede018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa6ede018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa6edeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa6edeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa6edeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa6edeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa6ef1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa6ef1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa6ef1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa6ef2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa6ef2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa6ef2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa6ef24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa6ef24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa6ef24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa6efeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa6efeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa6efeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa6f08484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa6f08484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa6f08484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa6e6c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa6e6c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa6e6c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa6e6c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa6e6cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa6e6cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa6e6cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa6e40400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa6e40400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa6e40400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa6e7cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa6e7cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa6e7cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa6e9ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa6e9ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa6e9ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa71652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa71652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa71652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa71652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa71652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa7166278 llvm::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 0x0000ffffa7166278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa7166278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa716a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa716a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa716a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa716a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa716a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa55c1b88 __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 0x0000ffffa55c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa55c1b88 void clang::finalize>, 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 0x0000ffffa55c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa6c85600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa6c3d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa6c3d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa6c3d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa6cc36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaab21259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaab21294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaab212aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaab2121fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9e1c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff9e1c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaab21220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/localization-aggressive.m.script: line 2: 37449 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-config optin.osx.cocoa.localizability.NonLocalizedStringChecker:AggressiveReport=true -analyzer-checker=optin.osx.cocoa.localizability.NonLocalizedStringChecker -analyzer-checker=optin.osx.cocoa.localizability.EmptyLocalizationContextChecker -include-pch /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/localization-aggressive.m.tmp.pch -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/localization-aggressive.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/loop-unrolling.cpp (880 of 19719) ******************** TEST 'Clang :: Analysis/loop-unrolling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config unroll-loops=true,cfg-loopexit=true -verify -std=c++14 -analyzer-config exploration_strategy=unexplored_first_queue /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-unrolling.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config unroll-loops=true,cfg-loopexit=true,exploration_strategy=dfs -verify -std=c++14 -DDFS=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-unrolling.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config unroll-loops=true,cfg-loopexit=true -verify -std=c++14 -analyzer-config exploration_strategy=unexplored_first_queue /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-unrolling.cpp 1. parser at end of file #0 0x0000ffff904aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff904a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff904ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff994607e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff98760e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff98760e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff98760e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff98760e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff98760e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff98760e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff98760e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff98760e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9840e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9840e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9840e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9840e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9840eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9840eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9840eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9840eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff98421aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff98421aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff98421aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff98422ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff98422ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff98422ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff984224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff984224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff984224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9842eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9842eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9842eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff98438484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff98438484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff98438484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9839c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9839c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9839c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9839c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9839cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9839cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9839cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff98370400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff98370400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff98370400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff983ace5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff983ace5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff983ace5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff983cae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff983cae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff983cae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff986952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff986952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff986952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff986952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff986952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff98696278 llvm::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 0x0000ffff98696278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff98696278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9869a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9869a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9869a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9869a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9869a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff96af1b88 __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 0x0000ffff96af1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff96af1b88 void clang::finalize>, 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 0x0000ffff96af1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff981b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9816d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9816d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9816d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff981f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaab45859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaab45894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaab458aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaab4581fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8f6f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff8f6f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaab45820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/loop-unrolling.cpp.script: line 2: 37448 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config unroll-loops=true,cfg-loopexit=true -verify -std=c++14 -analyzer-config exploration_strategy=unexplored_first_queue /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-unrolling.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/loop-widening.cpp (883 of 19719) ******************** TEST 'Clang :: Analysis/loop-widening.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening.cpp -analyzer-checker=core -analyzer-config widen-loops=true -analyzer-config track-conditions=false -analyzer-max-loop 2 -analyzer-output=text -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening.cpp -analyzer-checker=core -analyzer-config widen-loops=true -analyzer-config track-conditions=false -analyzer-max-loop 2 -analyzer-output=text 1. parser at end of file #0 0x0000ffff943aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff943a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff943ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9d36a7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9c2b9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9c2b9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9c2b9f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9c2b9f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9c2b9f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9c2b9f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9c2b9f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9c2b9f54 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 0x0000ffff9c2ba878 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 0x0000ffff9c2ca954 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 0x0000ffff9c2cab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff9c2cab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff9c2cab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff9c2cab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff9c2cab14 clang::ento::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 0x0000ffff9c5952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff9c5952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff9c5952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff9c5952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff9c5952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff9c596278 llvm::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 0x0000ffff9c596278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff9c596278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff9c59a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff9c59a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff9c59a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff9c59a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff9c59a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff9a9f1b88 __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 0x0000ffff9a9f1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff9a9f1b88 void clang::finalize>, 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 0x0000ffff9a9f1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff9c0b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff9c06d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff9c06d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff9c06d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff9c0f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaad35d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaad35d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaad35daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaad35d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff935f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff935f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaad35d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/loop-widening.cpp.script: line 1: 37458 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening.cpp -analyzer-checker=core -analyzer-config widen-loops=true -analyzer-config track-conditions=false -analyzer-max-loop 2 -analyzer-output=text -- ******************** Testing: 0 FAIL: Clang :: Analysis/loop-widening-preserve-reference-type.cpp (885 of 19719) ******************** TEST 'Clang :: Analysis/loop-widening-preserve-reference-type.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-preserve-reference-type.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-preserve-reference-type.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling invalid_type_alias_region_access() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-preserve-reference-type.cpp:18:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-preserve-reference-type.cpp:18:10: Error evaluating statement #0 0x0000ffff8141ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff81419180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8141b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8a3d77e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff89325734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff89325734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff89325734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff89325734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff89325734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff89325734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff89325734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff89325734 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 0x0000ffff89805f70 std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffff89805f70 std::optional::operator bool() const /usr/include/c++/12/optional:985:0 #14 0x0000ffff89805f70 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 0x0000ffff893398dc clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #16 0x0000ffff893398dc clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #17 0x0000ffff893398dc clang::ento::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 0x0000ffff8933a2b8 clang::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 0x0000ffff8933a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8933a7cc clang::ento::CoreEngine::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 0x0000ffff8933ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffff8933ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffff8933ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffff8933ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffff8933ab14 clang::ento::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 0x0000ffff896052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff896052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff896052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffff896052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffff896052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffff89606278 llvm::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 0x0000ffff89606278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffff89606278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffff8960a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffff8960a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffff8960a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffff8960a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffff8960a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffff87a61b88 __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 0x0000ffff87a61b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffff87a61b88 void clang::finalize>, 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 0x0000ffff87a61b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffff89125600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffff890dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffff890dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffff890dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffff891636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaabb2459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaabb2494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaabb24aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaabb241fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffff8066098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffff80660a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaabb2420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/loop-widening-preserve-reference-type.cpp.script: line 1: 37456 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-preserve-reference-type.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/loop-widening.c (887 of 19719) ******************** TEST 'Clang :: Analysis/loop-widening.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DTEST_NULL_TERM -analyzer-checker=core,unix.Malloc,debug.ExprInspection,alpha.cplusplus.IteratorRange -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening.c 1. parser at end of file 2. While analyzing stack: #0 Calling nested_loop_inner_widen 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening.c:188:5: Error evaluating statement #0 0x0000ffff9467ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff94679180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9467b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9d6377e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9c5da104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9c5da104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9c5da104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9c5da104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff9c5da104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff9c5da104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff9c5853bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff9c5853bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff9c5853bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff9c59a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff9c59a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff9c59a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff9c59a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff9c59a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff9c59a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff9c59a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff9c59a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff9c59a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff9c59a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9c59a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff9c59a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff9c59ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff9c59ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff9c59ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff9c59ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff9c59ab14 clang::ento::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 0x0000ffff9c8652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9c8652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9c8652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff9c8652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff9c8652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff9c866278 llvm::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 0x0000ffff9c866278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff9c866278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff9c86a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff9c86a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff9c86a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff9c86a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff9c86a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff9acc1b88 __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 0x0000ffff9acc1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff9acc1b88 void clang::finalize>, 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 0x0000ffff9acc1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff9c385600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff9c33d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff9c33d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff9c33d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff9c3c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaade9e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaade9e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaade9eaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaade9e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff938c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff938c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaade9e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/loop-widening.c.script: line 2: 37460 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-annotations.cpp (888 of 19719) ******************** TEST 'Clang :: Analysis/malloc-annotations.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-config unix.DynamicMemoryModeling:Optimistic=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-config unix.DynamicMemoryModeling:Optimistic=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling af5(MemoryAllocator &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.cpp:95:3: Error evaluating statement #0 0x0000ffffb424ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb4249180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb424b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbd2017e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbc307fb0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffbc307fb0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbc307fb0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbc307fb0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbc307fb0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffbc307fb0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffbc307fb0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffbc307fb0 (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 0x0000ffffbc13aae4 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 0x0000ffffbc1552e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffbc1552e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffbc1552e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffbc1552e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffbc1552e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffbc1552e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffbc1552e8 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 0x0000ffffbc16a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffbc16a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffbc16a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffbc16a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffbc16a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffbc16a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffbc16a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffbc16a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffbc16a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffbc16a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbc16a7cc clang::ento::CoreEngine::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 0x0000ffffbc16ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffbc16ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffbc16ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffbc16ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffbc16ab14 clang::ento::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 0x0000ffffbc4352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffbc4352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffbc4352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffbc4352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffbc4352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffbc436278 llvm::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 0x0000ffffbc436278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffbc436278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffbc43a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffbc43a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffbc43a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffbc43a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffbc43a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffba891b88 __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 0x0000ffffba891b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffba891b88 void clang::finalize>, 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 0x0000ffffba891b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffbbf55600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffbbf0d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffbbf0d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffbbf0d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffbbf936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaae43a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaae43a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaae43aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaae43a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffb349098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffb3490a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaae43a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-annotations.cpp.script: line 1: 37472 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-config unix.DynamicMemoryModeling:Optimistic=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/main.c (889 of 19719) ******************** TEST 'Clang :: Analysis/main.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.c 1. parser at end of file 2. While analyzing stack: #0 Calling foo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.c:26:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.c:26:23: Error evaluating statement #0 0x0000ffffae6cad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffae6c9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffae6cb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb76897e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb6980e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb6980e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb6980e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb6980e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb6980e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb6980e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb6980e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb6980e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb662e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb662e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb662e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb662e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb662eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb662eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb662eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb662eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb6641aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb6641aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb6641aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb6642ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb6642ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb6642ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb66424c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb66424c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb66424c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb664eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb664eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb664eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb6658484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb6658484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb6658484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb65bc9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb65bc9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb65bc9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb65bc9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb6aab004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb6aab004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb6aab004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb65cfd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb65cfd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb65cfd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb65ea05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb65ea05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb65ea05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb65ea05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb65ea05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb65ea2b8 clang::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 0x0000ffffb65ea5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb65ea7cc clang::ento::CoreEngine::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 0x0000ffffb65eab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb65eab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb65eab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb65eab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb65eab14 clang::ento::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 0x0000ffffb68b52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb68b52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb68b52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb68b52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb68b52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb68b6278 llvm::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 0x0000ffffb68b6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb68b6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb68ba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb68ba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb68ba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb68ba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb68ba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb4d11b88 __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 0x0000ffffb4d11b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb4d11b88 void clang::finalize>, 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 0x0000ffffb4d11b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb63d5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb638d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb638d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb638d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb64136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaade9159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaade9194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaade91aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaade911fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffad91098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffad910a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaade9120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/main.c.script: line 1: 37465 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/loop-widening-notes.cpp (890 of 19719) ******************** TEST 'Clang :: Analysis/loop-widening-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-max-loop 2 -analyzer-config widen-loops=true -analyzer-output=text -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-notes.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-max-loop 2 -analyzer-config widen-loops=true -analyzer-output=text -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-notes.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_for_loop() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-notes.cpp:62:8: Error evaluating New Allocator Call #0 0x0000ffffaf20ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffaf209180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffaf20b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb81cc7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb74c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb74c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb74c0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb74c0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb74c0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb74c0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb74c0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb74c0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb716e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb716e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb716e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb716e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb716eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb716eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb716eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb716eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb7181aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb7181aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb7181aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb7182ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb7182ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb7182ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb71824c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb71824c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb71824c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb718eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb718eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb718eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb7198484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb7198484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb7198484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb70fc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb70fc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb70fc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb70fc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb70fcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb70fcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb70fcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb7126f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffb7126f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffb7126f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb7126f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffb7126f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffb712735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffb712735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffb712735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffb712735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffb712735c 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 0x0000ffffb712a5dc clang::ento::ExprEngine::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 0x0000ffffb712a6c0 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 0x0000ffffb712a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffb712ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffb712ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffb712ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffb712ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffb712ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffffb73f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffb73f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffb73f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffb73f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffb73f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffb73f6278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffffb73f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffb73f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffb73fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffb73fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffb73fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffb73fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffb73fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffb5851b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffffb5851b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffb5851b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffffb5851b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffb6f15600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffb6ecd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffb6ecd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffb6ecd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffb6f536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaaca1059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaaca1094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaaca10aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaaca101fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffffae45098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffffae450a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaaca1020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/loop-widening-notes.cpp.script: line 1: 37453 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-max-loop 2 -analyzer-config widen-loops=true -analyzer-output=text -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-notes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-free-after-return.cpp (891 of 19719) ******************** TEST 'Clang :: Analysis/malloc-free-after-return.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.NewDelete -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-free-after-return.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.NewDelete -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-free-after-return.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling S::S() at line 19 #1 Calling freeAfterReturnLocal() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-free-after-return.cpp:6:14: Error evaluating New Allocator Call #0 0x0000ffff98e4ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff98e49180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff98e4b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa1e047e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa1100e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa1100e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa1100e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa1100e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa1100e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa1100e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa1100e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa1100e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa0dae018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa0dae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa0dae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa0dae018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa0daeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa0daeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa0daeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa0daeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa0dc1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa0dc1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa0dc1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa0dc2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa0dc2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa0dc2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa0dc24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa0dc24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa0dc24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa0dceb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa0dceb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa0dceb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa0dd8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa0dd8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa0dd8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa0d3c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa0d3c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa0d3c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa0d3c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa0d3cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa0d3cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa0d3cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa0d66f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffa0d66f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffa0d66f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffa0d66f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffa0d66f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffa0d6735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffa0d6735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffa0d6735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffa0d6735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffa0d6735c 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 0x0000ffffa0d6a5dc clang::ento::ExprEngine::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 0x0000ffffa0d6a6c0 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 0x0000ffffa0d6a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffa0d6ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffa0d6ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffa0d6ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffa0d6ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffa0d6ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffffa10352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffa10352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffa10352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffa10352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffa10352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffa1036278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffffa1036278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffa1036278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffa103a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffa103a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffa103a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffa103a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffa103a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff9f491b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffff9f491b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff9f491b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffff9f491b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffa0b55600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffa0b0d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffa0b0d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffa0b0d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffa0b936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaabf3159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaabf3194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaabf31aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaabf311fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff9809098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff98090a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaabf3120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-free-after-return.cpp.script: line 1: 37486 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.NewDelete -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-free-after-return.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/main.cpp (892 of 19719) ******************** TEST 'Clang :: Analysis/main.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling main() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.cpp:15:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.cpp:15:23: Error evaluating statement #0 0x0000ffffb23fad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb23f9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb23fb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbb3bf7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffba6b0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffba6b0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffba6b0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffba6b0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffba6b0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffba6b0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffba6b0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffba6b0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffba35e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffba35e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffba35e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffba35e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffba35eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffba35eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffba35eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffba35eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffba371aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffba371aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffba371aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffba372ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffba372ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffba372ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffba3724c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffba3724c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffba3724c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffba37eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffba37eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffba37eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffba388484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffba388484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffba388484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffba2ec9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffba2ec9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffba2ec9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffba2ec9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffba7db004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffba7db004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffba7db004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffba2ffd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffba2ffd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffba2ffd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffba31a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffba31a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffba31a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffba31a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffba31a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffba31a2b8 clang::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 0x0000ffffba31a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffba31a7cc clang::ento::CoreEngine::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 0x0000ffffba31ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffba31ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffba31ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffba31ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffba31ab14 clang::ento::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 0x0000ffffba5e52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffba5e52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffba5e52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffba5e52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffba5e52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffba5e6278 llvm::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 0x0000ffffba5e6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffba5e6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffba5ea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffba5ea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffba5ea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffba5ea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffba5ea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb8a41b88 __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 0x0000ffffb8a41b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb8a41b88 void clang::finalize>, 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 0x0000ffffb8a41b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffba105600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffba0bd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffba0bd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffba0bd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffba1436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac46359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac46394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac463aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac4631fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb164098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb1640a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac46320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/main.cpp.script: line 1: 37468 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-interprocedural.c (893 of 19719) ******************** TEST 'Clang :: Analysis/malloc-interprocedural.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.Malloc -analyzer-inline-max-stack-depth=5 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-interprocedural.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.Malloc -analyzer-inline-max-stack-depth=5 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-interprocedural.c 1. parser at end of file 2. While analyzing stack: #0 Calling useStrndup 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-interprocedural.c:125:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-interprocedural.c:125:7: Error evaluating statement #0 0x0000ffff8c1ead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8c1e9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8c1eb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff951a37e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff944a0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff944a0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff944a0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff944a0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff944a0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff944a0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff944a0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff944a0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9414e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9414e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9414e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9414e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9414eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9414eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9414eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9414eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff94161aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff94161aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff94161aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff94162ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff94162ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff94162ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff941624c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff941624c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff941624c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9416eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9416eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9416eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff94178484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff94178484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff94178484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff940dc9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff940dc9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff940dc9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff940dc9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff945cb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff945cb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff945cb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff940efd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff940efd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff940efd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff9410a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff9410a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff9410a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff9410a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff9410a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff9410a2b8 clang::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 0x0000ffff9410a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9410a7cc clang::ento::CoreEngine::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 0x0000ffff9410ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9410ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9410ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9410ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9410ab14 clang::ento::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 0x0000ffff943d52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff943d52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff943d52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff943d52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff943d52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff943d6278 llvm::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 0x0000ffff943d6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff943d6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff943da900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff943da900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff943da900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff943da900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff943da900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff92831b88 __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 0x0000ffff92831b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff92831b88 void clang::finalize>, 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 0x0000ffff92831b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff93ef5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff93ead524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff93ead524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff93ead524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff93f336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae5dc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae5dc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae5dcaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae5dc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8b43098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8b430a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae5dc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-interprocedural.c.script: line 1: 37489 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.Malloc -analyzer-inline-max-stack-depth=5 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-interprocedural.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-bodyfarms.c (894 of 19719) ******************** TEST 'Clang :: Analysis/malloc-bodyfarms.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_no_state_change_in_body_farm_2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.c:16:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.c:16:13: Error evaluating statement #0 0x0000ffffac0fad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffac0f9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffac0fb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb50b87e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb43976d0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb43976d0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb43976d0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb43976d0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb43976d0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb43976d0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb43976d0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb43976d0 (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 0x0000ffffb41a5990 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffb41a5990 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffb41a5990 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 0x0000ffffb3fb95a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffb3fb95a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffb3fb95a8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffb3fb95a8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffb407ebf4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb407ebf4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb407ebf4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffb407ebf4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffb4088484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffb4088484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffb4088484 clang::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 0x0000ffffb3fecae8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb3fecae8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb3fecae8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffb3fecae8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffb44db004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb44db004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb44db004 clang::ento::ProgramState::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 0x0000ffffb41b1ba0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffb41b1ba0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffb41b1ba0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffb41b1ba0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffb41b1ba0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffb41b1ba0 (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 0x0000ffffb41b2978 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffb41b2978 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffb41b2978 (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 0x0000ffffb41be4d0 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffb41be4d0 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 0x0000ffffb3fd67b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffb3fd67b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffb3fd67b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffb3fd67b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffb3fd67b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffb4036c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffb4036c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffb4036c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffb4036c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffb4036c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffb4036c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffb40374f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffb4019250 clang::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 0x0000ffffb4019250 clang::ento::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 0x0000ffffb401a2b8 clang::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 0x0000ffffb401a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb401a7cc clang::ento::CoreEngine::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 0x0000ffffb401ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffb401ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffb401ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffb401ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffb401ab14 clang::ento::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 0x0000ffffb42e52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffb42e52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffb42e52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffb42e52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffb42e52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffb42e6278 llvm::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 0x0000ffffb42e6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffb42e6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffb42ea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffb42ea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffb42ea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffb42ea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffb42ea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffb2741b88 __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 0x0000ffffb2741b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffb2741b88 void clang::finalize>, 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 0x0000ffffb2741b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffb3e05600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffb3dbd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffb3dbd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffb3dbd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffb3e436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaab8a359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaab8a394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaab8a3aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaab8a31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffffab34098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffffab340a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaab8a320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-bodyfarms.c.script: line 1: 37476 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-bodyfarms.cpp (895 of 19719) ******************** TEST 'Clang :: Analysis/malloc-bodyfarms.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_no_state_change_in_body_farm_2() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.cpp:24:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.cpp:24:13: Error evaluating statement #0 0x0000ffff7c16ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7c169180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7c16b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8512f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff844076d0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff844076d0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff844076d0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff844076d0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff844076d0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff844076d0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff844076d0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff844076d0 (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 0x0000ffff84215990 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff84215990 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff84215990 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 0x0000ffff840295a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff840295a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff840295a8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff840295a8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff840eebf4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff840eebf4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff840eebf4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff840eebf4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff840f8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff840f8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff840f8484 clang::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 0x0000ffff8405cae8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8405cae8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8405cae8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff8405cae8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff8454b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8454b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8454b004 clang::ento::ProgramState::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 0x0000ffff84221ba0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff84221ba0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff84221ba0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff84221ba0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff84221ba0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff84221ba0 (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 0x0000ffff84221ff0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff84221ff0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff84221ff0 (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 0x0000ffff8422e4d0 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff8422e4d0 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 0x0000ffff840467b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff840467b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff840467b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff840467b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff840467b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff840a6c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff840a6c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff840a6c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff840a6c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff840a6c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff840a6c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff840a74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff84089250 clang::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 0x0000ffff84089250 clang::ento::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 0x0000ffff8408a2b8 clang::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 0x0000ffff8408a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8408a7cc clang::ento::CoreEngine::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 0x0000ffff8408ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff8408ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff8408ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff8408ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff8408ab14 clang::ento::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 0x0000ffff843552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff843552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff843552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff843552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff843552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff84356278 llvm::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 0x0000ffff84356278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff84356278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff8435a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff8435a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff8435a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff8435a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff8435a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff827b1b88 __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 0x0000ffff827b1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff827b1b88 void clang::finalize>, 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 0x0000ffff827b1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff83e75600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff83e2d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff83e2d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff83e2d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff83eb36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaab93159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaab93194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaab931aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaab9311fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff7b3b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff7b3b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaab93120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-bodyfarms.cpp.script: line 1: 37482 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-fnptr-plist.c (896 of 19719) ******************** TEST 'Clang :: Analysis/malloc-fnptr-plist.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker core,unix.Malloc -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-fnptr-plist.c.tmp.plist -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-fnptr-plist.c : 'RUN: at line 2'; /usr/bin/FileCheck --input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-fnptr-plist.c.tmp.plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-fnptr-plist.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker core,unix.Malloc -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-fnptr-plist.c.tmp.plist -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-fnptr-plist.c 1. parser at end of file 2. While analyzing stack: #0 Calling foo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-fnptr-plist.c:7:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-fnptr-plist.c:7:3: Error evaluating statement #0 0x0000ffff9545ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff95459180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9545b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9e41b7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9d710e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9d710e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9d710e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9d710e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9d710e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9d710e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9d710e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9d710e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9d3be018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9d3be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9d3be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9d3be018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9d3beef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9d3beef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9d3beef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9d3beef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9d3d1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9d3d1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9d3d1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9d3d2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9d3d2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9d3d2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9d3d24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9d3d24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9d3d24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9d3deb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9d3deb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9d3deb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9d3e8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9d3e8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9d3e8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9d34c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9d34c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9d34c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9d34c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9d83b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9d83b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9d83b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9d516344 (anonymous namespace)::MallocChecker::FreeMemAux(clang::ento::CheckerContext&, clang::Expr const*, clang::ento::CallEvent const&, llvm::IntrusiveRefCntPtr, bool, bool&, (anonymous namespace)::AllocationFamily, bool) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1909:0 #43 0x0000ffff9d6f2570 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x0000ffff9d6f2570 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff9d6f2570 (anonymous namespace)::MallocChecker::FreeMemAux(clang::ento::CheckerContext&, clang::ento::CallEvent const&, llvm::IntrusiveRefCntPtr, unsigned int, bool, bool&, (anonymous namespace)::AllocationFamily, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1808:0 #46 0x0000ffff9d5114ac llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #47 0x0000ffff9d5114ac llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #48 0x0000ffff9d5114ac (anonymous namespace)::MallocChecker::checkFree(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1293:0 #49 0x0000ffff9d51e404 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x0000ffff9d51e404 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x0000ffff9d51e404 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1489:0 #52 0x0000ffff9d51e404 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #53 0x0000ffff9d3367b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff9d3367b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff9d3367b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #56 0x0000ffff9d3367b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #57 0x0000ffff9d3367b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #58 0x0000ffff9d396c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #59 0x0000ffff9d396c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #60 0x0000ffff9d396c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #61 0x0000ffff9d396c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #62 0x0000ffff9d396c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #63 0x0000ffff9d396c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #64 0x0000ffff9d3974f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #65 0x0000ffff9d379250 clang::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 0x0000ffff9d379250 clang::ento::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 0x0000ffff9d37a2b8 clang::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 0x0000ffff9d37a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9d37a7cc clang::ento::CoreEngine::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 0x0000ffff9d37ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x0000ffff9d37ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x0000ffff9d37ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #73 0x0000ffff9d37ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #74 0x0000ffff9d37ab14 clang::ento::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 0x0000ffff9d6452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #76 0x0000ffff9d6452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #77 0x0000ffff9d6452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #78 0x0000ffff9d6452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #79 0x0000ffff9d6452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #80 0x0000ffff9d646278 llvm::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 0x0000ffff9d646278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #82 0x0000ffff9d646278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #83 0x0000ffff9d64a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #84 0x0000ffff9d64a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #85 0x0000ffff9d64a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #86 0x0000ffff9d64a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #87 0x0000ffff9d64a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #88 0x0000ffff9baa1b88 __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 0x0000ffff9baa1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #90 0x0000ffff9baa1b88 void clang::finalize>, 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 0x0000ffff9baa1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #92 0x0000ffff9d165600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #93 0x0000ffff9d11d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #94 0x0000ffff9d11d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #95 0x0000ffff9d11d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #96 0x0000ffff9d1a36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #97 0x0000aaaae20b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #98 0x0000aaaae20b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #99 0x0000aaaae20baac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #100 0x0000aaaae20b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #101 0x0000ffff946a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #102 0x0000ffff946a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #103 0x0000aaaae20b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-fnptr-plist.c.script: line 2: 37484 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker core,unix.Malloc -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-fnptr-plist.c.tmp.plist -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-fnptr-plist.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-plist.c (897 of 19719) ******************** TEST 'Clang :: Analysis/malloc-plist.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -f /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-plist.c.tmp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core,unix.Malloc -analyzer-output=plist -verify -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-plist.c.tmp -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-plist.c : 'RUN: at line 3'; tail -n +11 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-plist.c.tmp | grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' | diff -ub /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/expected-plists/malloc-plist.c.plist - -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core,unix.Malloc -analyzer-output=plist -verify -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-plist.c.tmp -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-plist.c 1. parser at end of file 2. While analyzing stack: #0 Calling my_malloc_into_struct at line 208 #1 Calling testMyMalloc 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-plist.c:204:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-plist.c:204:9: Error evaluating statement #0 0x0000ffff7e28ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7e289180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7e28b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff872417e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff865276d0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff865276d0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff865276d0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff865276d0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff865276d0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff865276d0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff865276d0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff865276d0 (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 0x0000ffff86335990 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff86335990 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff86335990 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 0x0000ffff861495a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff861495a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff861495a8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff861495a8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff8620ebf4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff8620ebf4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff8620ebf4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff8620ebf4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff86218484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff86218484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff86218484 clang::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 0x0000ffff8617cae8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8617cae8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8617cae8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff8617cae8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff8666b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8666b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8666b004 clang::ento::ProgramState::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 0x0000ffff86341ba0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff86341ba0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff86341ba0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff86341ba0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff86341ba0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff86341ba0 (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 0x0000ffff86341ff0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff86341ff0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff86341ff0 (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 0x0000ffff8634e4d0 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff8634e4d0 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 0x0000ffff861667b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff861667b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff861667b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff861667b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff861667b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff861c6c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff861c6c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff861c6c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff861c6c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff861c6c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff861c6c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff861c74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff861a9250 clang::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 0x0000ffff861a9250 clang::ento::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 0x0000ffff861aa2b8 clang::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 0x0000ffff861aa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff861aa7cc clang::ento::CoreEngine::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 0x0000ffff861aab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff861aab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff861aab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff861aab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff861aab14 clang::ento::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 0x0000ffff864752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff864752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff864752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff864752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff864752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff86476278 llvm::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 0x0000ffff86476278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff86476278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff8647a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff8647a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff8647a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff8647a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff8647a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff848d1b88 __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 0x0000ffff848d1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff848d1b88 void clang::finalize>, 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 0x0000ffff848d1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff85f95600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff85f4d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff85f4d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff85f4d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff85fd36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaac04259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaac04294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaac042aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaac0421fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff7d4d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff7d4d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaac04220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-plist.c.script: line 3: 37508 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core,unix.Malloc -analyzer-output=plist -verify -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-plist.c.tmp -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-plist.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-annotations.c (898 of 19719) ******************** TEST 'Clang :: Analysis/malloc-annotations.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-config unix.DynamicMemoryModeling:Optimistic=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-config unix.DynamicMemoryModeling:Optimistic=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.c 1. parser at end of file 2. While analyzing stack: #0 Calling testMultipleFreeAnnotations 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.c:271:12: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.c:271:12: Error evaluating statement #0 0x0000ffff85f0ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff85f09180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff85f0b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8eec97e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8e1a76d0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8e1a76d0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8e1a76d0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8e1a76d0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8e1a76d0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8e1a76d0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8e1a76d0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8e1a76d0 (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 0x0000ffff8dfb5990 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff8dfb5990 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff8dfb5990 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 0x0000ffff8ddc95a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff8ddc95a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff8ddc95a8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff8ddc95a8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff8de8ebf4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff8de8ebf4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff8de8ebf4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff8de8ebf4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff8de98484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff8de98484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff8de98484 clang::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 0x0000ffff8ddfcae8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8ddfcae8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8ddfcae8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff8ddfcae8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff8e2eb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8e2eb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8e2eb004 clang::ento::ProgramState::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 0x0000ffff8dfc1ba0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff8dfc1ba0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff8dfc1ba0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff8dfc1ba0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff8dfc1ba0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff8dfc1ba0 (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 0x0000ffff8dfc1ff0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff8dfc1ff0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff8dfc1ff0 (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 0x0000ffff8dfce4d0 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff8dfce4d0 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 0x0000ffff8dde67b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff8dde67b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff8dde67b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff8dde67b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff8dde67b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff8de46c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff8de46c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff8de46c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff8de46c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff8de46c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff8de46c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff8de474f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff8de29250 clang::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 0x0000ffff8de29250 clang::ento::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 0x0000ffff8de2a2b8 clang::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 0x0000ffff8de2a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8de2a7cc clang::ento::CoreEngine::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 0x0000ffff8de2ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff8de2ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff8de2ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff8de2ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff8de2ab14 clang::ento::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 0x0000ffff8e0f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff8e0f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff8e0f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff8e0f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff8e0f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff8e0f6278 llvm::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 0x0000ffff8e0f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff8e0f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff8e0fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff8e0fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff8e0fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff8e0fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff8e0fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff8c551b88 __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 0x0000ffff8c551b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff8c551b88 void clang::finalize>, 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 0x0000ffff8c551b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff8dc15600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff8dbcd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff8dbcd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff8dbcd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff8dc536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaab1ae59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaab1ae94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaab1aeaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaab1ae1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff8515098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff85150a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaab1ae20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-annotations.c.script: line 1: 37471 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-config unix.DynamicMemoryModeling:Optimistic=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-static-storage.cpp (899 of 19719) ******************** TEST 'Clang :: Analysis/malloc-static-storage.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-static-storage.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-static-storage.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling malloc_cond(_Bool) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-static-storage.cpp:70:7: Error evaluating branch #0 0x0000ffff8938ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff89389180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8938b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff923497e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff91640e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff91640e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff91640e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff91640e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff91640e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff91640e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff91640e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff91640e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff912ee018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff912ee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff912ee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff912ee018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff912eec90 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff912eec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff912eec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff912eec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff91302c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff91302c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff91302c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff91302f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff91302f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff91302f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff913024c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff913024c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff913024c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9130eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9130eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9130eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff91318484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff91318484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff91318484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9127c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9127c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9127c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9127c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9176b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9176b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9176b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff91292bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff91292bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff91292bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff91292bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff91292bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff91292bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff91292bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff91292bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff91292bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff91292bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff91293130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff912aab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff912aab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff912aab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff912aab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff912aab14 clang::ento::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 0x0000ffff915752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff915752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff915752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff915752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff915752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff91576278 llvm::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 0x0000ffff91576278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff91576278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9157a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9157a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9157a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9157a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9157a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8f9d1b88 __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 0x0000ffff8f9d1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8f9d1b88 void clang::finalize>, 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 0x0000ffff8f9d1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff91095600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9104d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9104d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9104d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff910d36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae19459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae19494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae194aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae1941fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff885d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff885d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae19420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-static-storage.cpp.script: line 1: 37516 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-static-storage.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-overflow2.c (900 of 19719) ******************** TEST 'Clang :: Analysis/malloc-overflow2.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-unknown -analyzer-checker=alpha.security.MallocOverflow,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-overflow2.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-unknown -analyzer-checker=alpha.security.MallocOverflow,unix,optin.portability -DPORTABILITY -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-overflow2.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-unknown -analyzer-checker=alpha.security.MallocOverflow,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-overflow2.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-overflow2.c:36:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-overflow2.c:36:10: Error evaluating statement #0 0x0000ffffa148ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa1489180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa148b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffaa4437e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa97276d0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa97276d0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa97276d0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa97276d0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa97276d0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa97276d0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa97276d0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa97276d0 (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 0x0000ffffa9535990 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffa9535990 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffa9535990 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 0x0000ffffa93495a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffa93495a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffa93495a8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffa93495a8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffa940ebf4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffa940ebf4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffa940ebf4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffa940ebf4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffa9418484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffa9418484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffa9418484 clang::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 0x0000ffffa937c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa937c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa937c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffa937c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffffa986b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa986b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa986b004 clang::ento::ProgramState::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 0x0000ffffa9541ba0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffa9541ba0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffa9541ba0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffa9541ba0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffa9541ba0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffa9541ba0 (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 0x0000ffffa9541ff0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffa9541ff0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffa9541ff0 (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 0x0000ffffa954e4d0 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffa954e4d0 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 0x0000ffffa93667b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffa93667b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffa93667b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffa93667b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffa93667b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffa93c6c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffa93c6c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffa93c6c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffa93c6c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffa93c6c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffa93c6c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffa93c74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffa93a9250 clang::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 0x0000ffffa93a9250 clang::ento::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 0x0000ffffa93aa2b8 clang::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 0x0000ffffa93aa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa93aa7cc clang::ento::CoreEngine::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 0x0000ffffa93aab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffa93aab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffa93aab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffa93aab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffa93aab14 clang::ento::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 0x0000ffffa96752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffa96752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffa96752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffa96752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffa96752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffa9676278 llvm::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 0x0000ffffa9676278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffa9676278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffa967a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffa967a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffa967a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffa967a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffa967a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffa7ad1b88 __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 0x0000ffffa7ad1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffa7ad1b88 void clang::finalize>, 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 0x0000ffffa7ad1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffa9195600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffa914d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffa914d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffa914d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffa91d36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaabf5659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaabf5694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaabf56aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaabf561fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffffa06d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffffa06d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaabf5620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-overflow2.c.script: line 2: 37501 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-unknown -analyzer-checker=alpha.security.MallocOverflow,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-overflow2.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/method-call.cpp (905 of 19719) ******************** TEST 'Clang :: Analysis/method-call.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call.cpp 1. parser at end of file #0 0x0000ffff7c17ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7c179180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7c17b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff851327e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff84089f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff84089f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff84089f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff84089f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff84089f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff84089f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff84089f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff84089f54 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 0x0000ffff8408a878 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 0x0000ffff8409a954 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 0x0000ffff8409ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff8409ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff8409ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff8409ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff8409ab14 clang::ento::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 0x0000ffff843652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff843652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff843652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff843652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff843652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff84366278 llvm::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 0x0000ffff84366278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff84366278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff8436a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff8436a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff8436a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff8436a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff8436a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff827c1b88 __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 0x0000ffff827c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff827c1b88 void clang::finalize>, 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 0x0000ffff827c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff83e85600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff83e3d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff83e3d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff83e3d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff83ec36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaae37759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaae37794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaae377aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaae3771fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff7b3c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff7b3c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaae37720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/method-call.cpp.script: line 1: 37547 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/method-call-intra-p.cpp (906 of 19719) ******************** TEST 'Clang :: Analysis/method-call-intra-p.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call-intra-p.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call-intra-p.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling ChildOfInvalidateArgs::ChildOfInvalidateArgs() at line 25 #1 Calling virtualFun(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call-intra-p.cpp:12:8: Error evaluating statement #0 0x0000ffff7cf3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7cf39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7cf3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff85ef77e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff84e450b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff84e450b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff84e450b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff84e450b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff84e450b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff84e450b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff84e450b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff84e450b8 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 0x0000ffff84e5a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff84e5a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff84e5a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff84e5a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff84e5a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff84e5a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff84e5a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff84e5a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff84e5a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff84e5a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff84e5a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff84e5a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff84e5ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff84e5ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff84e5ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff84e5ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff84e5ab14 clang::ento::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 0x0000ffff851252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff851252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff851252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff851252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff851252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff85126278 llvm::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 0x0000ffff85126278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff85126278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff8512a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff8512a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff8512a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff8512a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff8512a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff83581b88 __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 0x0000ffff83581b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff83581b88 void clang::finalize>, 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 0x0000ffff83581b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff84c45600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff84bfd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff84bfd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff84bfd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff84c836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaad89c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaad89c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaad89caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaad89c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff7c18098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff7c180a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaad89c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/method-call-intra-p.cpp.script: line 1: 37543 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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/memory-model.cpp (907 of 19719) ******************** TEST 'Clang :: Analysis/memory-model.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++20 -analyzer-checker=core,unix,cplusplus,debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/memory-model.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++20 -analyzer-checker=core,unix,cplusplus,debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/memory-model.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling user_defined_new() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/memory-model.cpp:150:12: Error evaluating statement #0 0x0000ffff83cdad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff83cd9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff83cdb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8cc9f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8bbe50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8bbe50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8bbe50b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8bbe50b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8bbe50b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8bbe50b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8bbe50b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8bbe50b8 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 0x0000ffff8bbfa244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff8bbfa244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff8bbfa244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff8bbfa244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff8bbfa244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff8bbfa244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff8bbfa244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff8bbfa244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff8bbfa244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff8bbfa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8bbfa7cc clang::ento::CoreEngine::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 0x0000ffff8bbfab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffff8bbfab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffff8bbfab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffff8bbfab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffff8bbfab14 clang::ento::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 0x0000ffff8bec52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffff8bec52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffff8bec52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffff8bec52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffff8bec52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffff8bec6278 llvm::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 0x0000ffff8bec6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffff8bec6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffff8beca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffff8beca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffff8beca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffff8beca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffff8beca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffff8a321b88 __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 0x0000ffff8a321b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffff8a321b88 void clang::finalize>, 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 0x0000ffff8a321b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffff8b9e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffff8b99d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffff8b99d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffff8b99d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffff8ba236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaac95459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaac95494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaac954aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaac9541fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffff82f2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffff82f20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaac95420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/memory-model.cpp.script: line 1: 37535 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++20 -analyzer-checker=core,unix,cplusplus,debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/memory-model.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc.cpp (908 of 19719) ******************** TEST 'Clang :: Analysis/malloc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.cpp -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete : 'RUN: at line 8'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.cpp -triple i386-unknown-linux-gnu -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete : 'RUN: at line 16'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.cpp -DTEST_INLINABLE_ALLOCATORS -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete : 'RUN: at line 23'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.cpp -DTEST_INLINABLE_ALLOCATORS -triple i386-unknown-linux-gnu -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.cpp -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete 1. parser at end of file 2. While analyzing stack: #0 Calling pr46253_class::a::realloc(int, _Bool) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.cpp:203:38: Error evaluating statement #0 0x0000ffff920aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff920a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff920ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9b0627e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9a00a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9a00a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9a00a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9a00a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff9a00a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff9a00a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff99fb53bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff99fb53bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff99fb53bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff99fca244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff99fca244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff99fca244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff99fca244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff99fca244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff99fca244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff99fca244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff99fca244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff99fca244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff99fca5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff99fca6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff99fca98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff99fcab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff99fcab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff99fcab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff99fcab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff99fcab14 clang::ento::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 0x0000ffff9a2952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9a2952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9a2952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff9a2952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff9a2952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff9a296278 llvm::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 0x0000ffff9a296278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff9a296278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff9a29a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff9a29a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff9a29a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff9a29a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff9a29a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff986f1b88 __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 0x0000ffff986f1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff986f1b88 void clang::finalize>, 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 0x0000ffff986f1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff99db5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff99d6d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff99d6d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff99d6d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff99df36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaab89759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaab89794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaab897aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaab8971fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff912f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff912f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaab89720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc.cpp.script: line 4: 37525 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.cpp -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-ranges.m (909 of 19719) ******************** TEST 'Clang :: Analysis/misc-ps-ranges.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-ranges.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-ranges.m 1. parser at end of file 2. While analyzing stack: #0 Calling pr5969_positive 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-ranges.m:50:22: Error evaluating statement #0 0x0000ffffa780ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa7809180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa780b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb07ca7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffaf76a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaf76a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaf76a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaf76a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffaf76a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffaf76a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffaf7153bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffaf7153bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffaf7153bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffaf72a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffaf72a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffaf72a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffaf72a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffaf72a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffaf72a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffaf72a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffaf72a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffaf72a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffaf72a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffaf72a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffaf72a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffaf72ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffaf72ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffaf72ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffaf72ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffaf72ab14 clang::ento::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 0x0000ffffaf9f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffaf9f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffaf9f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffaf9f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffaf9f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffaf9f6278 llvm::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 0x0000ffffaf9f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffaf9f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffaf9fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffaf9fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffaf9fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffaf9fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffaf9fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffade51b88 __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 0x0000ffffade51b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffade51b88 void clang::finalize>, 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 0x0000ffffade51b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffaf515600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffaf4cd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffaf4cd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffaf4cd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffaf5536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaaab8e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaaab8e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaaab8eaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaaab8e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffa6a5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffa6a50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaaab8e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-ranges.m.script: line 1: 37568 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-ranges.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-64.m (910 of 19719) ******************** TEST 'Clang :: Analysis/misc-ps-64.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-64.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-64.m 1. parser at end of file 2. While analyzing stack: #0 Calling rdar_6845148_b 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-64.m:42:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-64.m:42:7: Error evaluating statement #0 0x0000ffff83d4ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff83d49180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff83d4b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8cd0e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8c000e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8c000e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8c000e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8c000e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8c000e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8c000e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8c000e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8c000e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8bcae018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8bcae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8bcae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8bcae018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8bcaeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8bcaeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8bcaeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8bcaeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8bcc1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8bcc1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8bcc1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8bcc2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8bcc2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8bcc2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8bcc24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8bcc24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8bcc24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8bcceb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8bcceb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8bcceb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8bcd8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8bcd8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8bcd8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8bc3c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8bc3c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8bc3c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8bc3c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8c12b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8c12b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8c12b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8bc4fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8bc4fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8bc4fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8bc6a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8bc6a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8bc6a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8bc6a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8bc6a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8bc6a2b8 clang::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 0x0000ffff8bc6a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8bc6a7cc clang::ento::CoreEngine::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 0x0000ffff8bc6ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8bc6ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8bc6ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8bc6ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8bc6ab14 clang::ento::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 0x0000ffff8bf352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8bf352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8bf352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8bf352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8bf352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8bf36278 llvm::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 0x0000ffff8bf36278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8bf36278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8bf3a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8bf3a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8bf3a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8bf3a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8bf3a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8a391b88 __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 0x0000ffff8a391b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8a391b88 void clang::finalize>, 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 0x0000ffff8a391b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8ba55600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8ba0d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8ba0d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8ba0d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8ba936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab8f759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab8f794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab8f7aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab8f71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff82f9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff82f90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab8f720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-64.m.script: line 1: 37549 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-64.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/mig.mm (911 of 19719) ******************** TEST 'Clang :: Analysis/mig.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,osx.MIG -std=c++14 -analyzer-output=text -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mig.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,osx.MIG -std=c++14 -analyzer-output=text -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mig.mm 1. parser at end of file 2. While analyzing stack: #0 Calling test_os_ref_retain(thread_t) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mig.mm:257:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mig.mm:257:3: Error evaluating statement #0 0x0000ffffaefbad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffaefb9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffaefbb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb7f797e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb70858f0 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb70858f0 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb70858f0 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb70858f0 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb70858f0 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:0 #9 0x0000ffffb70858f0 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 0x0000ffffb70858f0 contains<(anonymous namespace)::RefCountedParameters> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:470:0 #11 0x0000ffffb70858f0 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MIGChecker.cpp:212:0 #12 0x0000ffffb70858f0 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 0x0000ffffb6e967b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #14 0x0000ffffb6e967b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffb6e967b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #16 0x0000ffffb6e967b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #17 0x0000ffffb6e967b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #18 0x0000ffffb6ef6c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #19 0x0000ffffb6ef6c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #20 0x0000ffffb6ef6c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #21 0x0000ffffb6ef6c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #22 0x0000ffffb6ef6c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #23 0x0000ffffb6ef6c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #24 0x0000ffffb6ef74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #25 0x0000ffffb6ed9250 clang::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 0x0000ffffb6ed9250 clang::ento::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 0x0000ffffb6eda2b8 clang::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 0x0000ffffb6eda5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb6eda7cc clang::ento::CoreEngine::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 0x0000ffffb6edab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #31 0x0000ffffb6edab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #32 0x0000ffffb6edab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #33 0x0000ffffb6edab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #34 0x0000ffffb6edab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #35 0x0000ffffb71a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb71a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb71a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #38 0x0000ffffb71a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #39 0x0000ffffb71a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #40 0x0000ffffb71a6278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #41 0x0000ffffb71a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x0000ffffb71a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #43 0x0000ffffb71aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffffb71aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffffb71aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x0000ffffb71aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x0000ffffb71aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x0000ffffb5601b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #49 0x0000ffffb5601b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffffb5601b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #51 0x0000ffffb5601b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffffb6cc5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffffb6c7d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffffb6c7d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffffb6c7d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffffb6d036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #57 0x0000aaaac5f559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x0000aaaac5f594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x0000aaaac5f5aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x0000aaaac5f51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x0000ffffae20098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #62 0x0000ffffae200a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #63 0x0000aaaac5f520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/mig.mm.script: line 1: 37548 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,osx.MIG -std=c++14 -analyzer-output=text -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mig.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/method-call-path-notes.cpp (912 of 19719) ******************** TEST 'Clang :: Analysis/method-call-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call-path-notes.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call-path-notes.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/method-call-path-notes.cpp.tmp.plist : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling test_cast(const TestInstanceCall *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call-path-notes.cpp:41:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call-path-notes.cpp:41:7: Error evaluating statement #0 0x0000ffffa686ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa6869180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa686b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffaf82a7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffaeb20e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaeb20e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaeb20e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaeb20e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaeb20e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaeb20e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaeb20e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaeb20e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffae7ce018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffae7ce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffae7ce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffae7ce018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffae7ceef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffae7ceef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffae7ceef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffae7ceef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffae7e1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffae7e1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffae7e1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffae7e2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffae7e2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffae7e2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffae7e24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffae7e24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffae7e24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffae7eeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffae7eeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffae7eeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffae7f8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffae7f8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffae7f8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffae75c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffae75c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffae75c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffae75c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffaec4b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaec4b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaec4b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffae76fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffae76fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffae76fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffae78a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffae78a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffae78a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffae78a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffae78a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffae78a2b8 clang::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 0x0000ffffae78a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffae78a7cc clang::ento::CoreEngine::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 0x0000ffffae78ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffae78ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffae78ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffae78ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffae78ab14 clang::ento::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 0x0000ffffaea552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffaea552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffaea552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffaea552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffaea552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffaea56278 llvm::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 0x0000ffffaea56278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffaea56278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffaea5a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffaea5a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffaea5a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffaea5a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffaea5a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffaceb1b88 __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 0x0000ffffaceb1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffaceb1b88 void clang::finalize>, 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 0x0000ffffaceb1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffae575600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffae52d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffae52d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffae52d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffae5b36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaacf2e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaacf2e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaacf2eaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaacf2e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa5ab098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa5ab0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaacf2e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/method-call-path-notes.cpp.script: line 3: 37542 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call-path-notes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/member-expr.cpp (913 of 19719) ******************** TEST 'Clang :: Analysis/member-expr.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/member-expr.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/member-expr.cpp -verify 1. parser at end of file #0 0x0000ffffb122ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb1229180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb122b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffba1ea7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb94e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb94e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb94e0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb94e0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb94e0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb94e0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb94e0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb94e0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb918e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb918e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb918e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb918e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb918eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb918eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb918eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb918eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb91a1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb91a1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb91a1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb91a2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb91a2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb91a2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb91a24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb91a24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb91a24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb91aeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb91aeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb91aeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb91b8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb91b8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb91b8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb911c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb911c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb911c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb911c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb911cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb911cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb911cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb90f0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb90f0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb90f0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb912ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb912ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb912ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffb914ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb914ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb914ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb94152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb94152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb94152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb94152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb94152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb9416278 llvm::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 0x0000ffffb9416278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb9416278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb941a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb941a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb941a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb941a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb941a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb7871b88 __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 0x0000ffffb7871b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb7871b88 void clang::finalize>, 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 0x0000ffffb7871b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb8f35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb8eed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb8eed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb8eed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb8f736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac6b659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac6b694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac6b6aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac6b61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffb047098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffb0470a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac6b620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/member-expr.cpp.script: line 1: 37534 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/member-expr.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-eager-assume.m (914 of 19719) ******************** TEST 'Clang :: Analysis/misc-ps-eager-assume.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-eager-assume.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-eager-assume.m 1. parser at end of file 2. While analyzing stack: #0 Calling pr5627_g 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-eager-assume.m:144:16: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-eager-assume.m:144:16: Error evaluating statement #0 0x0000ffffaea5ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffaea59180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffaea5b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb7a197e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb6d10e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb6d10e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb6d10e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb6d10e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb6d10e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb6d10e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb6d10e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb6d10e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb69be018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb69be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb69be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb69be018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb69beef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb69beef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb69beef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb69beef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb69d1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb69d1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb69d1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb69d2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb69d2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb69d2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb69d24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb69d24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb69d24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb69deb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb69deb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb69deb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb69e8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb69e8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb69e8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb694c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb694c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb694c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb694c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb6e3b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb6e3b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb6e3b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb695fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb695fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb695fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb697a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb697a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb697a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb697a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb697a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb697a2b8 clang::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 0x0000ffffb697a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb697a7cc clang::ento::CoreEngine::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 0x0000ffffb697ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb697ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb697ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb697ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb697ab14 clang::ento::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 0x0000ffffb6c452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb6c452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb6c452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb6c452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb6c452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb6c46278 llvm::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 0x0000ffffb6c46278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb6c46278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb6c4a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb6c4a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb6c4a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb6c4a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb6c4a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb50a1b88 __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 0x0000ffffb50a1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb50a1b88 void clang::finalize>, 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 0x0000ffffb50a1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb6765600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb671d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb671d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb671d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb67a36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab7f859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab7f894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab7f8aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab7f81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffadca098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffadca0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab7f820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-eager-assume.m.script: line 1: 37566 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-eager-assume.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-cxx0x.cpp (915 of 19719) ******************** TEST 'Clang :: Analysis/misc-ps-cxx0x.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.NullDereference,core.uninitialized.UndefReturn -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-cxx0x.cpp -verify -o /dev/null -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.NullDereference,core.uninitialized.UndefReturn -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-cxx0x.cpp -verify -o /dev/null 1. parser at end of file #0 0x0000ffffa590ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa5909180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa590b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffae8c07e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffadbc0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffadbc0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffadbc0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffadbc0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffadbc0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffadbc0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffadbc0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffadbc0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffad86e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffad86e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffad86e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffad86e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffad86eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffad86eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffad86eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffad86eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffad881aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffad881aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffad881aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffad882ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffad882ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffad882ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffad8824c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffad8824c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffad8824c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffad88eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffad88eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffad88eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffad898484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffad898484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffad898484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffad7fc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffad7fc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffad7fc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffad7fc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffad7fcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffad7fcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffad7fcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffad7d0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffad7d0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffad7d0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffad80ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffad80ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffad80ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffad82ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffad82ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffad82ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffadaf52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffadaf52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffadaf52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffadaf52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffadaf52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffadaf6278 llvm::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 0x0000ffffadaf6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffadaf6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffadafa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffadafa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffadafa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffadafa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffadafa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffabf51b88 __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 0x0000ffffabf51b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffabf51b88 void clang::finalize>, 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 0x0000ffffabf51b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffad615600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffad5cd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffad5cd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffad5cd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffad6536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad2e459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad2e494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad2e4aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad2e41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa4b5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa4b50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad2e420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-cxx0x.cpp.script: line 1: 37555 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.NullDereference,core.uninitialized.UndefReturn -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-cxx0x.cpp -verify -o /dev/null -- ******************** Testing: 0 FAIL: Clang :: Analysis/max-nodes-suppress-on-sink.c (916 of 19719) ******************** TEST 'Clang :: Analysis/max-nodes-suppress-on-sink.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config max-nodes=12 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config max-nodes=12 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_unreachable_successor_blocks 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.c:76:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.c:76:13: Error evaluating statement #0 0x0000ffff895bad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff895b9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff895bb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff925787e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff918576d0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff918576d0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff918576d0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff918576d0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff918576d0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff918576d0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff918576d0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff918576d0 (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 0x0000ffff91665990 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff91665990 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff91665990 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 0x0000ffff914795a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff914795a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff914795a8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff914795a8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff9153ebf4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff9153ebf4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff9153ebf4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff9153ebf4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff91548484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff91548484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff91548484 clang::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 0x0000ffff914acae8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff914acae8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff914acae8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff914acae8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff9199b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9199b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9199b004 clang::ento::ProgramState::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 0x0000ffff91671ba0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff91671ba0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff91671ba0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff91671ba0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff91671ba0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff91671ba0 (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 0x0000ffff91671ff0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff91671ff0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff91671ff0 (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 0x0000ffff9167e4d0 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff9167e4d0 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 0x0000ffff914967b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff914967b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff914967b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff914967b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff914967b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff914f6c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff914f6c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff914f6c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff914f6c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff914f6c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff914f6c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff914f74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff914d9250 clang::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 0x0000ffff914d9250 clang::ento::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 0x0000ffff914da2b8 clang::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 0x0000ffff914da5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff914da7cc clang::ento::CoreEngine::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 0x0000ffff914dab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff914dab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff914dab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff914dab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff914dab14 clang::ento::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 0x0000ffff917a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff917a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff917a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff917a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff917a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff917a6278 llvm::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 0x0000ffff917a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff917a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff917aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff917aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff917aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff917aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff917aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff8fc01b88 __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 0x0000ffff8fc01b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff8fc01b88 void clang::finalize>, 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 0x0000ffff8fc01b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff912c5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff9127d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff9127d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff9127d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff913036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaaaf2559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaaaf2594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaaaf25aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaaaf251fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff8880098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff88800a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaaaf2520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/max-nodes-suppress-on-sink.c.script: line 1: 37527 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config max-nodes=12 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc.mm (917 of 19719) ******************** TEST 'Clang :: Analysis/malloc.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete -analyzer-checker=unix.MismatchedDeallocator -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete -analyzer-checker=unix.MismatchedDeallocator -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.mm 1. parser at end of file 2. While analyzing stack: #0 Calling test_reinterpret_cast_to_block() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.mm:350:38: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.mm:350:38: Error evaluating statement #0 0x0000ffff95f4ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff95f49180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff95f4b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9ef0b7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9e1e76d0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9e1e76d0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9e1e76d0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9e1e76d0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9e1e76d0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9e1e76d0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9e1e76d0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9e1e76d0 (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 0x0000ffff9dff5990 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff9dff5990 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff9dff5990 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 0x0000ffff9de095a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff9de095a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff9de095a8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff9de095a8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff9decebf4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff9decebf4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff9decebf4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff9decebf4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff9ded8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff9ded8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff9ded8484 clang::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 0x0000ffff9de3cae8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9de3cae8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9de3cae8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff9de3cae8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff9e32b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9e32b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9e32b004 clang::ento::ProgramState::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 0x0000ffff9e001ba0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff9e001ba0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff9e001ba0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff9e001ba0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff9e001ba0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff9e001ba0 (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 0x0000ffff9e001ff0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff9e001ff0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff9e001ff0 (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 0x0000ffff9e00e4d0 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff9e00e4d0 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 0x0000ffff9de267b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff9de267b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff9de267b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff9de267b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff9de267b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff9de86c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff9de86c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff9de86c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff9de86c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff9de86c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff9de86c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff9de874f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff9de69250 clang::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 0x0000ffff9de69250 clang::ento::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 0x0000ffff9de6a2b8 clang::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 0x0000ffff9de6a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9de6a7cc clang::ento::CoreEngine::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 0x0000ffff9de6ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff9de6ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff9de6ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff9de6ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff9de6ab14 clang::ento::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 0x0000ffff9e1352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff9e1352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff9e1352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff9e1352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff9e1352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff9e136278 llvm::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 0x0000ffff9e136278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff9e136278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff9e13a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff9e13a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff9e13a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff9e13a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff9e13a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff9c591b88 __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 0x0000ffff9c591b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff9c591b88 void clang::finalize>, 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 0x0000ffff9c591b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff9dc55600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff9dc0d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff9dc0d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff9dc0d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff9dc936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaac1de59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaac1de94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaac1deaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaac1de1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff9519098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff95190a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaac1de20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc.mm.script: line 1: 37529 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete -analyzer-checker=unix.MismatchedDeallocator -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/max-nodes-suppress-on-sink.cpp (918 of 19719) ******************** TEST 'Clang :: Analysis/max-nodes-suppress-on-sink.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -fcxx-exceptions -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config max-nodes=12 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -fcxx-exceptions -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config max-nodes=12 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_handled_throw_treated_as_noreturn() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.cpp:25:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.cpp:25:13: Error evaluating statement #0 0x0000ffffa320ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa3209180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa320b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffac1c57e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffab4a76d0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffab4a76d0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffab4a76d0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffab4a76d0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffab4a76d0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffab4a76d0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffab4a76d0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffab4a76d0 (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 0x0000ffffab2b5990 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffab2b5990 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffab2b5990 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 0x0000ffffab0c95a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffab0c95a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffab0c95a8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffab0c95a8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffab18ebf4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffab18ebf4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffab18ebf4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffab18ebf4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffab198484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffab198484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffab198484 clang::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 0x0000ffffab0fcae8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffab0fcae8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffab0fcae8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffab0fcae8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffab5eb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffab5eb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffab5eb004 clang::ento::ProgramState::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 0x0000ffffab2c1ba0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffab2c1ba0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffab2c1ba0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffab2c1ba0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffab2c1ba0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffab2c1ba0 (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 0x0000ffffab2c1ff0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffab2c1ff0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffab2c1ff0 (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 0x0000ffffab2ce4d0 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffab2ce4d0 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 0x0000ffffab0e67b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffab0e67b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffab0e67b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffab0e67b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffab0e67b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffab146c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffab146c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffab146c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffab146c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffab146c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffab146c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffab1474f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffab129250 clang::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 0x0000ffffab129250 clang::ento::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 0x0000ffffab12a2b8 clang::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 0x0000ffffab12a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffab12a7cc clang::ento::CoreEngine::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 0x0000ffffab12ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffab12ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffab12ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffab12ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffab12ab14 clang::ento::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 0x0000ffffab3f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffab3f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffab3f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffab3f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffab3f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffab3f6278 llvm::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 0x0000ffffab3f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffab3f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffab3fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffab3fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffab3fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffab3fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffab3fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffa9851b88 __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 0x0000ffffa9851b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffa9851b88 void clang::finalize>, 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 0x0000ffffa9851b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffaaf15600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffaaecd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffaaecd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffaaecd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffaaf536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaab2a759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaab2a794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaab2a7aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaab2a71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffffa245098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffffa2450a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaab2a720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/max-nodes-suppress-on-sink.cpp.script: line 1: 37531 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -fcxx-exceptions -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config max-nodes=12 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc.c (919 of 19719) ******************** TEST 'Clang :: Analysis/malloc.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-strict-prototypes -Wno-error=implicit-int -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.c -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix -analyzer-checker=debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-strict-prototypes -Wno-error=implicit-int -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.c -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix -analyzer-checker=debug.ExprInspection 1. parser at end of file 2. While analyzing stack: #0 Calling testExtent 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.c:1894:19: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.c:1894:19: Error evaluating statement #0 0x0000ffffb0ddad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb0dd9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb0ddb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb9d967e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb9090e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb9090e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb9090e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb9090e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb9090e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb9090e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb9090e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb9090e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb8d3e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb8d3e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb8d3e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb8d3e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb8d3eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb8d3eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb8d3eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb8d3eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb8d51aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb8d51aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb8d51aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb8d52ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb8d52ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb8d52ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb8d524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb8d524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb8d524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb8d5eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb8d5eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb8d5eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb8d68484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb8d68484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb8d68484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb8ccc9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb8ccc9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb8ccc9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb8ccc9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb91bb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb91bb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb91bb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb8e91ba0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffb8e91ba0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffb8e91ba0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffb8e91ba0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffb8e91ba0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffb8e91ba0 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #48 0x0000ffffb8e91ff0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffffb8e91ff0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb8e91ff0 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #51 0x0000ffffb8e9e4d0 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #52 0x0000ffffb8e9e4d0 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #53 0x0000ffffb8cb67b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffb8cb67b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffb8cb67b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #56 0x0000ffffb8cb67b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #57 0x0000ffffb8cb67b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #58 0x0000ffffb8d16c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #59 0x0000ffffb8d16c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #60 0x0000ffffb8d16c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #61 0x0000ffffb8d16c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #62 0x0000ffffb8d16c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #63 0x0000ffffb8d16c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #64 0x0000ffffb8d174f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #65 0x0000ffffb8cf9250 clang::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 0x0000ffffb8cf9250 clang::ento::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 0x0000ffffb8cfa2b8 clang::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 0x0000ffffb8cfa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb8cfa7cc clang::ento::CoreEngine::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 0x0000ffffb8cfab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x0000ffffb8cfab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x0000ffffb8cfab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #73 0x0000ffffb8cfab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #74 0x0000ffffb8cfab14 clang::ento::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 0x0000ffffb8fc52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #76 0x0000ffffb8fc52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #77 0x0000ffffb8fc52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #78 0x0000ffffb8fc52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #79 0x0000ffffb8fc52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #80 0x0000ffffb8fc6278 llvm::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 0x0000ffffb8fc6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #82 0x0000ffffb8fc6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #83 0x0000ffffb8fca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #84 0x0000ffffb8fca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #85 0x0000ffffb8fca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #86 0x0000ffffb8fca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #87 0x0000ffffb8fca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #88 0x0000ffffb7421b88 __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 0x0000ffffb7421b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #90 0x0000ffffb7421b88 void clang::finalize>, 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 0x0000ffffb7421b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #92 0x0000ffffb8ae5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #93 0x0000ffffb8a9d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #94 0x0000ffffb8a9d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #95 0x0000ffffb8a9d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #96 0x0000ffffb8b236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #97 0x0000aaaac42f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #98 0x0000aaaac42f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #99 0x0000aaaac42faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #100 0x0000aaaac42f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #101 0x0000ffffb002098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #102 0x0000ffffb0020a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #103 0x0000aaaac42f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc.c.script: line 1: 37521 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-strict-prototypes -Wno-error=implicit-int -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.c -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix -analyzer-checker=debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc.m (920 of 19719) ******************** TEST 'Clang :: Analysis/malloc.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify -Wno-objc-root-class -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify -Wno-objc-root-class -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.m 1. parser at end of file 2. While analyzing stack: #0 Calling wrapInNSValue 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.m:55:18: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.m:55:18: Error evaluating statement #0 0x0000ffff7ab6ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7ab69180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7ab6b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff83b2d7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff82e076d0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff82e076d0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff82e076d0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff82e076d0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff82e076d0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff82e076d0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff82e076d0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff82e076d0 (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 0x0000ffff82c15990 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff82c15990 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff82c15990 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 0x0000ffff82a295a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff82a295a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff82a295a8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff82a295a8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff82aeebf4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff82aeebf4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff82aeebf4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff82aeebf4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff82af8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff82af8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff82af8484 clang::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 0x0000ffff82a5cae8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff82a5cae8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff82a5cae8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff82a5cae8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff82f4b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff82f4b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff82f4b004 clang::ento::ProgramState::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 0x0000ffff82c21ba0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff82c21ba0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff82c21ba0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff82c21ba0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff82c21ba0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff82c21ba0 (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 0x0000ffff82c21ff0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff82c21ff0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff82c21ff0 (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 0x0000ffff82c2e4d0 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff82c2e4d0 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 0x0000ffff82a467b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff82a467b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff82a467b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff82a467b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff82a467b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff82aa6c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff82aa6c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff82aa6c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff82aa6c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff82aa6c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff82aa6c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff82aa74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff82a89250 clang::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 0x0000ffff82a89250 clang::ento::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 0x0000ffff82a8a2b8 clang::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 0x0000ffff82a8a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff82a8a7cc clang::ento::CoreEngine::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 0x0000ffff82a8ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff82a8ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff82a8ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff82a8ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff82a8ab14 clang::ento::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 0x0000ffff82d552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff82d552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff82d552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff82d552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff82d552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff82d56278 llvm::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 0x0000ffff82d56278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff82d56278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff82d5a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff82d5a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff82d5a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff82d5a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff82d5a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff811b1b88 __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 0x0000ffff811b1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff811b1b88 void clang::finalize>, 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 0x0000ffff811b1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff82875600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff8282d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff8282d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff8282d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff828b36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaab72a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaab72a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaab72aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaab72a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff79db098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff79db0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaab72a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc.m.script: line 1: 37524 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify -Wno-objc-root-class -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-region-store.mm (922 of 19719) ******************** TEST 'Clang :: Analysis/misc-ps-region-store.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.mm : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.mm 1. parser at end of file 2. While analyzing stack: #0 Calling rdar10569024(id, id) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.mm:43:3: Error evaluating branch #0 0x0000ffffb3e2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb3e29180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb3e2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbcde87e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbbd328d8 llvm::ImutAVLTree, bool>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffbbd328d8 llvm::IntrusiveRefCntPtrInfo, bool>>>::retain(llvm::ImutAVLTree, bool>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbbd328d8 llvm::IntrusiveRefCntPtr, bool>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbbd328d8 llvm::IntrusiveRefCntPtr, bool>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree, bool>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbbd328d8 llvm::ImmutableMap, bool, llvm::ImutKeyValueInfo, bool>>::ImmutableMap(llvm::ImutAVLTree, bool>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffbbd328d8 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 0x0000ffffbbd328d8 get<(anonymous namespace)::ObjCForHasMoreIterations> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffffbbd328d8 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 0x0000ffffbbd328d8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2691:37 #13 0x0000ffffbbd328d8 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 0x0000ffffbbd33130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #15 0x0000ffffbbd4ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #16 0x0000ffffbbd4ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #17 0x0000ffffbbd4ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #18 0x0000ffffbbd4ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #19 0x0000ffffbbd4ab14 clang::ento::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 0x0000ffffbc0152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbc0152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbc0152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #23 0x0000ffffbc0152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #24 0x0000ffffbc0152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #25 0x0000ffffbc016278 llvm::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 0x0000ffffbc016278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x0000ffffbc016278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #28 0x0000ffffbc01a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x0000ffffbc01a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x0000ffffbc01a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x0000ffffbc01a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x0000ffffbc01a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x0000ffffba471b88 __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 0x0000ffffba471b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x0000ffffba471b88 void clang::finalize>, 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 0x0000ffffba471b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x0000ffffbbb35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #38 0x0000ffffbbaed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #39 0x0000ffffbbaed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #40 0x0000ffffbbaed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #41 0x0000ffffbbb736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #42 0x0000aaaad1f559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x0000aaaad1f594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x0000aaaad1f5aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x0000aaaad1f51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x0000ffffb307098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #47 0x0000ffffb3070a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #48 0x0000aaaad1f520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-region-store.mm.script: line 2: 37581 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/missing-bind-temporary.cpp (923 of 19719) ******************** TEST 'Clang :: Analysis/missing-bind-temporary.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=debug.DumpCFG -std=c++14 -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/missing-bind-temporary.cpp > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/missing-bind-temporary.cpp.tmp 2>&1 : 'RUN: at line 2'; /usr/bin/FileCheck --input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/missing-bind-temporary.cpp.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/missing-bind-temporary.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=core,debug.ExprInspection -std=c++14 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/missing-bind-temporary.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=core,debug.ExprInspection -std=c++14 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/missing-bind-temporary.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling variant_2::B::B() at line 113 #1 Calling variant_2::foo(int) at line 119 #2 Calling variant_2::bar() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/missing-bind-temporary.cpp:93:7: Error evaluating statement #0 0x0000ffff937ead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff937e9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff937eb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9c7a57e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9b6f50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9b6f50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9b6f50b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9b6f50b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9b6f50b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9b6f50b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9b6f50b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9b6f50b8 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 0x0000ffff9b70a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff9b70a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff9b70a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff9b70a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff9b70a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff9b70a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff9b70a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff9b70a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff9b70a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff9b70a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9b70a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff9b70a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff9b70ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff9b70ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff9b70ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff9b70ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff9b70ab14 clang::ento::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 0x0000ffff9b9d52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff9b9d52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff9b9d52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff9b9d52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff9b9d52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff9b9d6278 llvm::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 0x0000ffff9b9d6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff9b9d6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff9b9da900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff9b9da900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff9b9da900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff9b9da900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff9b9da900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff99e31b88 __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 0x0000ffff99e31b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff99e31b88 void clang::finalize>, 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 0x0000ffff99e31b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff9b4f5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff9b4ad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff9b4ad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff9b4ad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff9b5336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaadd4d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaadd4d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaadd4daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaadd4d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff92a3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff92a30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaadd4d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/missing-bind-temporary.cpp.script: line 3: 37624 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=core,debug.ExprInspection -std=c++14 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/missing-bind-temporary.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-region-store.cpp (924 of 19719) ******************** TEST 'Clang :: Analysis/misc-ps-region-store.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.cpp -fexceptions -fcxx-exceptions -Wno-tautological-undefined-compare : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.cpp -fexceptions -fcxx-exceptions -Wno-tautological-undefined-compare -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.cpp -fexceptions -fcxx-exceptions -Wno-tautological-undefined-compare 1. parser at end of file 2. While analyzing stack: #0 Calling pr12921(int, char **) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.cpp:718:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.cpp:718:9: Error evaluating statement #0 0x0000ffffabb3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffabb39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffabb3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb4aff7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb3df0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb3df0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb3df0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb3df0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb3df0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb3df0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb3df0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb3df0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb3a9e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb3a9e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb3a9e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb3a9e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb3a9eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb3a9eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb3a9eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb3a9eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb3ab1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb3ab1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb3ab1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb3ab2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb3ab2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb3ab2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb3ab24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb3ab24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb3ab24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb3abeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb3abeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb3abeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb3ac8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb3ac8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb3ac8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb3a2c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb3a2c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb3a2c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb3a2c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb3f1b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb3f1b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb3f1b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb3a3fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb3a3fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb3a3fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb3a5a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb3a5a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb3a5a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb3a5a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb3a5a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb3a5a2b8 clang::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 0x0000ffffb3a5a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb3a5a7cc clang::ento::CoreEngine::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 0x0000ffffb3a5ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb3a5ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb3a5ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb3a5ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb3a5ab14 clang::ento::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 0x0000ffffb3d252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb3d252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb3d252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb3d252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb3d252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb3d26278 llvm::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 0x0000ffffb3d26278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb3d26278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb3d2a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb3d2a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb3d2a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb3d2a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb3d2a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb2181b88 __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 0x0000ffffb2181b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb2181b88 void clang::finalize>, 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 0x0000ffffb2181b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb3845600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb37fd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb37fd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb37fd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb38836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac2ef59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac2ef94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac2efaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac2ef1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffaad8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffaad80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac2ef20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-region-store.cpp.script: line 2: 37577 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.cpp -fexceptions -fcxx-exceptions -Wno-tautological-undefined-compare -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-ctor-inlined.cpp (925 of 19719) ******************** TEST 'Clang :: Analysis/new-ctor-inlined.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-inlined.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-inlined.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling S::S() at line 52 #1 Calling checkTrivialCopy() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-inlined.cpp:19:11: Error evaluating statement #0 0x0000ffffa7e4ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa7e49180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa7e4b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb0e067e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffafd550b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffafd550b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffafd550b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffafd550b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffafd550b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffafd550b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffafd550b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffafd550b8 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 0x0000ffffafd6a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffafd6a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffafd6a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffafd6a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffafd6a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffafd6a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffafd6a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffafd6a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffafd6a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffafd6a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffafd6a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffafd6a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffafd6ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffafd6ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffafd6ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffafd6ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffafd6ab14 clang::ento::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 0x0000ffffb00352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffb00352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffb00352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffb00352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffb00352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffb0036278 llvm::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 0x0000ffffb0036278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffb0036278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffb003a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffb003a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffb003a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffb003a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffb003a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffae491b88 __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 0x0000ffffae491b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffae491b88 void clang::finalize>, 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 0x0000ffffae491b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffafb55600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffafb0d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffafb0d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffafb0d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffafb936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaaac4459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaaac4494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaaac44aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaaac441fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffa709098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffa7090a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaaac4420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-inlined.cpp.script: line 1: 37632 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-inlined.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-ctor-null-throw.cpp (926 of 19719) ******************** TEST 'Clang :: Analysis/new-ctor-null-throw.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-null-throw.cpp : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core -DSUPPRESSED -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-null-throw.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-null-throw.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling operator new(size_t) at line 50 #1 Calling testMethod() #0 0x0000ffff9e05ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9e059180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9e05b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa701e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa5f650b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa5f650b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa5f650b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa5f650b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa5f650b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa5f650b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa5f650b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa5f650b8 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 0x0000ffffa5fad19c clang::ento::ExprEngine::processCallExit(clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:372:0 #13 0x0000ffffa5f7ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #14 0x0000ffffa5f7ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #15 0x0000ffffa5f7ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #16 0x0000ffffa5f7ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #17 0x0000ffffa5f7ab14 clang::ento::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 0x0000ffffa62452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #19 0x0000ffffa62452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #20 0x0000ffffa62452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #21 0x0000ffffa62452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #22 0x0000ffffa62452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #23 0x0000ffffa6246278 llvm::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 0x0000ffffa6246278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x0000ffffa6246278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #26 0x0000ffffa624a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x0000ffffa624a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x0000ffffa624a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x0000ffffa624a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x0000ffffa624a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x0000ffffa46a1b88 __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 0x0000ffffa46a1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x0000ffffa46a1b88 void clang::finalize>, 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 0x0000ffffa46a1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x0000ffffa5d65600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #36 0x0000ffffa5d1d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #37 0x0000ffffa5d1d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #38 0x0000ffffa5d1d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #39 0x0000ffffa5da36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #40 0x0000aaaab89559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x0000aaaab89594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x0000aaaab895aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000aaaab8951fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x0000ffff9d2a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #45 0x0000ffff9d2a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #46 0x0000aaaab89520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-null-throw.cpp.script: line 2: 37640 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-null-throw.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/mpicheckernotes.cpp (927 of 19719) ******************** TEST 'Clang :: Analysis/mpicheckernotes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mpicheckernotes.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mpicheckernotes.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling tripleNonblocking() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mpicheckernotes.cpp:29:3: Error evaluating statement #0 0x0000ffff7b22ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7b229180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7b22b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff841e37e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff832fa08c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff832fa08c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff832fa08c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff832fa08c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff832fa08c llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff832fa08c 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 0x0000ffff832fa08c clang::ento::ProgramStateTrait::data_type clang::ento::ProgramState::get() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff832fa08c clang::ento::mpi::MPIChecker::checkMissingWaits(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIChecker.cpp:104:0 #12 0x0000ffff8311aae4 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 0x0000ffff831352e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff831352e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff831352e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff831352e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff831352e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff831352e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff831352e8 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 0x0000ffff8314a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff8314a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff8314a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff8314a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff8314a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff8314a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff8314a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff8314a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff8314a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffff8314a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8314a7cc clang::ento::CoreEngine::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 0x0000ffff8314ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff8314ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff8314ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff8314ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff8314ab14 clang::ento::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 0x0000ffff834152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff834152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff834152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff834152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff834152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff83416278 llvm::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 0x0000ffff83416278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff83416278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff8341a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff8341a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff8341a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff8341a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff8341a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff81871b88 __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 0x0000ffff81871b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff81871b88 void clang::finalize>, 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 0x0000ffff81871b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff82f35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff82eed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff82eed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff82eed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff82f736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaac17859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaac17894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaac178aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaac1781fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff7a47098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff7a470a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaac17820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/mpicheckernotes.cpp.script: line 1: 37609 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mpicheckernotes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/mutually_exclusive_null_fp.cpp (928 of 19719) ******************** TEST 'Clang :: Analysis/mutually_exclusive_null_fp.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mutually_exclusive_null_fp.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mutually_exclusive_null_fp.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling compare(Data &, Data &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mutually_exclusive_null_fp.cpp:16:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mutually_exclusive_null_fp.cpp:16:7: Error evaluating statement #0 0x0000ffff88d9ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff88d99180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff88d9b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff91d5c7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff90cf7bdc retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff90cf7bdc retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff90cf7bdc retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff90cf7bdc IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff90cf7bdc ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff90cf7bdc MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff90cf7bdc get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff90cf7bdc (anonymous namespace)::EquivalenceClass::mergeImpl(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, llvm::ImmutableSet>, (anonymous namespace)::EquivalenceClass, llvm::ImmutableSet>) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2361:0 #12 0x0000ffff90cf9adc llvm::IntrusiveRefCntPtrInfo>>::release(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:351:0 #13 0x0000ffff90cf9adc llvm::IntrusiveRefCntPtr>>::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff90cf9adc llvm::IntrusiveRefCntPtr>>::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff90cf9adc llvm::ImmutableSet>::~ImmutableSet() /usr/include/llvm/ADT/ImmutableSet.h:957:0 #16 0x0000ffff90cf9adc (anonymous namespace)::EquivalenceClass::merge(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, (anonymous namespace)::EquivalenceClass) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2340:0 #17 0x0000ffff90cfe4ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x0000ffff90cfe4ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff90cfe4ac merge /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2309:0 #20 0x0000ffff90cfe4ac trackEquality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2160:0 #21 0x0000ffff90cfe4ac assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2238:0 #22 0x0000ffff90cfe4ac assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #23 0x0000ffff90cfe4ac assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #24 0x0000ffff90cfe4ac assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #25 0x0000ffff90cfe4ac assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #26 0x0000ffff90cfe4ac assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #27 0x0000ffff90cfe4ac (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #28 0x0000ffff90cfeef8 llvm::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 0x0000ffff90cfeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff90cfeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff90cfeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #32 0x0000ffff90d11aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff90d11aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff90d11aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #35 0x0000ffff90d1310c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff90d1310c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff90d1310c clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:72:57 #38 0x0000ffff90d124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #39 0x0000ffff90d124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #40 0x0000ffff90d124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #41 0x0000ffff90d1eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #42 0x0000ffff90d1eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #43 0x0000ffff90d1eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #44 0x0000ffff90d28484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff90d28484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff90d28484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #47 0x0000ffff90c8c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #48 0x0000ffff90c8c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #49 0x0000ffff90c8c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #50 0x0000ffff90c8c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #51 0x0000ffff9117b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff9117b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff9117b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #54 0x0000ffff90c9fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #55 0x0000ffff90c9fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #56 0x0000ffff90c9fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #57 0x0000ffff90cba05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #58 0x0000ffff90cba05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #59 0x0000ffff90cba05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #60 0x0000ffff90cba05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #61 0x0000ffff90cba05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #62 0x0000ffff90cba2b8 clang::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 0x0000ffff90cba5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff90cba7cc clang::ento::CoreEngine::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 0x0000ffff90cbab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffff90cbab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffff90cbab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffff90cbab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffff90cbab14 clang::ento::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 0x0000ffff90f852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffff90f852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffff90f852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffff90f852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffff90f852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffff90f86278 llvm::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 0x0000ffff90f86278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffff90f86278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffff90f8a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffff90f8a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffff90f8a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffff90f8a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffff90f8a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffff8f3e1b88 __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 0x0000ffff8f3e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffff8f3e1b88 void clang::finalize>, 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 0x0000ffff8f3e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffff90aa5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffff90a5d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffff90a5d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffff90a5d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffff90ae36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaada7659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaada7694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaada76aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaada761fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffff87fe098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffff87fe0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaada7620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/mutually_exclusive_null_fp.cpp.script: line 1: 37610 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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/misc-ps-region-store.m (929 of 19719) ******************** TEST 'Clang :: Analysis/misc-ps-region-store.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core.CastToStruct,alpha.security.ReturnPtrRange,alpha.security.ArrayBound -verify -fblocks -Wno-objc-root-class -Wno-strict-prototypes -Wno-error=implicit-function-declaration /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -DTEST_64 -analyzer-checker=core,alpha.core.CastToStruct,alpha.security.ReturnPtrRange,alpha.security.ArrayBound -verify -fblocks -Wno-objc-root-class -Wno-strict-prototypes -Wno-error=implicit-function-declaration /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core.CastToStruct,alpha.security.ReturnPtrRange,alpha.security.ArrayBound -verify -fblocks -Wno-objc-root-class -Wno-strict-prototypes -Wno-error=implicit-function-declaration /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.m 1. parser at end of file 2. While analyzing stack: #0 Calling rdar11125868 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.m:1360:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.m:1360:10: Error evaluating statement #0 0x0000ffffa165ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa1659180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa165b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffaa61a7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa9910e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa9910e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa9910e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa9910e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa9910e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa9910e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa9910e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa9910e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa95be018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa95be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa95be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa95be018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa95beef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa95beef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa95beef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa95beef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa95d1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa95d1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa95d1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa95d2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa95d2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa95d2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa95d24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa95d24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa95d24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa95deb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa95deb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa95deb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa95e8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa95e8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa95e8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa954c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa954c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa954c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa954c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa9a3b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa9a3b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa9a3b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa955fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa955fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa955fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffa957a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffa957a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffa957a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffa957a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffa957a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffa957a2b8 clang::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 0x0000ffffa957a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa957a7cc clang::ento::CoreEngine::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 0x0000ffffa957ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa957ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa957ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa957ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa957ab14 clang::ento::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 0x0000ffffa98452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa98452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa98452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa98452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa98452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa9846278 llvm::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 0x0000ffffa9846278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa9846278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa984a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa984a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa984a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa984a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa984a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa7ca1b88 __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 0x0000ffffa7ca1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa7ca1b88 void clang::finalize>, 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 0x0000ffffa7ca1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa9365600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa931d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa931d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa931d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa93a36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab64f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab64f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab64faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab64f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa08a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa08a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab64f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-region-store.m.script: line 2: 37579 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core.CastToStruct,alpha.security.ReturnPtrRange,alpha.security.ArrayBound -verify -fblocks -Wno-objc-root-class -Wno-strict-prototypes -Wno-error=implicit-function-declaration /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/mpichecker.cpp (930 of 19719) ******************** TEST 'Clang :: Analysis/mpichecker.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mpichecker.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mpichecker.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling externFunctions1() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mpichecker.cpp:335:3: Error evaluating statement #0 0x0000ffffa523ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa5239180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa523b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffae1f07e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffad30a08c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffad30a08c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffad30a08c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffad30a08c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffad30a08c llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffad30a08c 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 0x0000ffffad30a08c clang::ento::ProgramStateTrait::data_type clang::ento::ProgramState::get() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffad30a08c clang::ento::mpi::MPIChecker::checkMissingWaits(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIChecker.cpp:104:0 #12 0x0000ffffad12aae4 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 0x0000ffffad1452e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffad1452e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffad1452e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffad1452e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffad1452e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffad1452e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffad1452e8 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 0x0000ffffad15a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffad15a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffad15a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffad15a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffad15a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffad15a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffad15a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffad15a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffad15a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffad15a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffad15a7cc clang::ento::CoreEngine::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 0x0000ffffad15ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffad15ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffad15ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffad15ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffad15ab14 clang::ento::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 0x0000ffffad4252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffad4252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffad4252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffad4252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffad4252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffad426278 llvm::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 0x0000ffffad426278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffad426278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffad42a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffad42a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffad42a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffad42a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffad42a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffab881b88 __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 0x0000ffffab881b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffab881b88 void clang::finalize>, 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 0x0000ffffab881b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffacf45600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffacefd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffacefd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffacefd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffacf836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaaacf259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaaacf294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaaacf2aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaaacf21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffa448098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffa4480a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaaacf220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/mpichecker.cpp.script: line 1: 37607 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mpichecker.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-aligned.cpp (932 of 19719) ******************** TEST 'Clang :: Analysis/new-aligned.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-aligned.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-aligned.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-aligned.cpp:12:10: Error evaluating New Allocator Call #0 0x0000ffff89f6ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff89f69180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff89f6b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff92f2f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff92220e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff92220e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff92220e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff92220e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff92220e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff92220e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff92220e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff92220e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff91ece018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff91ece018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff91ece018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff91ece018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff91eceef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff91eceef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff91eceef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff91eceef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff91ee1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff91ee1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff91ee1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff91ee2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff91ee2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff91ee2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff91ee24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff91ee24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff91ee24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff91eeeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff91eeeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff91eeeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff91ef8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff91ef8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff91ef8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff91e5c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff91e5c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff91e5c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff91e5c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff91e5cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff91e5cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff91e5cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff91e86f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff91e86f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff91e86f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff91e86f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff91e86f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff91e8735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff91e8735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff91e8735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff91e8735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff91e8735c 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 0x0000ffff91e8a5dc clang::ento::ExprEngine::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 0x0000ffff91e8a6c0 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 0x0000ffff91e8a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffff91e8ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffff91e8ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffff91e8ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffff91e8ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffff91e8ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffff921552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffff921552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffff921552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffff921552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffff921552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffff92156278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffff92156278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffff92156278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffff9215a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffff9215a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffff9215a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffff9215a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffff9215a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff905b1b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffff905b1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff905b1b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffff905b1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffff91c75600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffff91c2d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffff91c2d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffff91c2d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffff91cb36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaab6e859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaab6e894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaab6e8aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaab6e81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff891b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff891b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaab6e820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-aligned.cpp.script: line 1: 37614 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-aligned.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/model-file.cpp (933 of 19719) ******************** TEST 'Clang :: Analysis/model-file.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config faux-bodies=true,model-path=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/Models -analyzer-output=plist-multi-file -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/model-file.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/model-file.cpp.tmp : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling main() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/model-file.cpp:31:7: Error evaluating branch #0 0x0000ffff7744ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff77449180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7744b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8040d7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff7f700e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7f700e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7f700e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7f700e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff7f700e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff7f700e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff7f700e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff7f700e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff7f3ae018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff7f3ae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff7f3ae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff7f3ae018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff7f3aec90 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff7f3aec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff7f3aec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff7f3aec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff7f3c2c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff7f3c2c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff7f3c2c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff7f3c2f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff7f3c2f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff7f3c2f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff7f3c24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7f3c24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7f3c24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff7f3ceb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff7f3ceb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff7f3ceb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff7f3d8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff7f3d8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff7f3d8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff7f33c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff7f33c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff7f33c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff7f33c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff7f82b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff7f82b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff7f82b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff7f352bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff7f352bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff7f352bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff7f352bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff7f352bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff7f352bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff7f352bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff7f352bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff7f352bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff7f352bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff7f353130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff7f36ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff7f36ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff7f36ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff7f36ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff7f36ab14 clang::ento::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 0x0000ffff7f6352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff7f6352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff7f6352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff7f6352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff7f6352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff7f636278 llvm::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 0x0000ffff7f636278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff7f636278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff7f63a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff7f63a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff7f63a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff7f63a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff7f63a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff7da91b88 __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 0x0000ffff7da91b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff7da91b88 void clang::finalize>, 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 0x0000ffff7da91b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff7f155600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff7f10d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff7f10d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff7f10d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff7f1936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabaa359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabaa394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabaa3aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabaa31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7669098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff76690a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabaa320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/model-file.cpp.script: line 2: 37601 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config faux-bodies=true,model-path=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/Models -analyzer-output=plist-multi-file -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/model-file.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/model-file.cpp.tmp -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps.m (934 of 19719) ******************** TEST 'Clang :: Analysis/misc-ps.m' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,alpha.core,osx.cocoa.AtSync -Wno-strict-prototypes -Wno-pointer-to-int-cast -verify -fblocks -Wno-unreachable-code -Wno-null-dereference -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.m : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,alpha.core,osx.cocoa.AtSync -Wno-strict-prototypes -Wno-pointer-to-int-cast -verify -fblocks -Wno-unreachable-code -Wno-null-dereference -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,alpha.core,osx.cocoa.AtSync -Wno-strict-prototypes -Wno-pointer-to-int-cast -verify -fblocks -Wno-unreachable-code -Wno-null-dereference -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.m 1. parser at end of file 2. While analyzing stack: #0 Calling rdar1196620_call_assert at line 1357 #1 Calling rdar1196620 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.m:1353:3: Error evaluating branch #0 0x0000ffff7d8ead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7d8e9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7d8eb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff868af7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff85ba0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff85ba0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff85ba0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff85ba0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff85ba0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff85ba0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff85ba0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff85ba0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8584e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8584e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8584e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8584e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8584eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8584eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8584eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8584eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff85861aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff85861aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff85861aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff85862ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff85862ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff85862ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff858624c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff858624c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff858624c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8586eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8586eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8586eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff85878484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff85878484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff85878484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff857dc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff857dc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff857dc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff857dc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff85ccb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff85ccb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff85ccb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff857f2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff857f2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff857f2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff857f2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff857f2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff857f2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff857f2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff857f2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff857f2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff857f2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff857f3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8580ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8580ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8580ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8580ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8580ab14 clang::ento::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 0x0000ffff85ad52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff85ad52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff85ad52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff85ad52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff85ad52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff85ad6278 llvm::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 0x0000ffff85ad6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff85ad6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff85ada900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff85ada900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff85ada900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff85ada900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff85ada900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff83f31b88 __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 0x0000ffff83f31b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff83f31b88 void clang::finalize>, 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 0x0000ffff83f31b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff855f5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff855ad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff855ad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff855ad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff856336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaadf9659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaadf9694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaadf96aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaadf961fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7cb3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7cb30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaadf9620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps.m.script: line 2: 37588 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,alpha.core,osx.cocoa.AtSync -Wno-strict-prototypes -Wno-pointer-to-int-cast -verify -fblocks -Wno-unreachable-code -Wno-null-dereference -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-ctor-malloc.cpp (935 of 19719) ******************** TEST 'Clang :: Analysis/new-ctor-malloc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection,unix.Malloc -analyzer-config c++-allocator-inlining=true -analyzer-output=text -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-malloc.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection,unix.Malloc -analyzer-config c++-allocator-inlining=true -analyzer-output=text -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-malloc.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling operator new(size_t) at line 19 #1 Calling checkNewAndConstructorInlining() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-malloc.cpp:10:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-malloc.cpp:10:13: Error evaluating statement #0 0x0000ffff888aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff888a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff888ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff918657e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff90b60e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff90b60e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff90b60e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff90b60e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff90b60e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff90b60e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff90b60e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff90b60e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9080e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9080e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9080e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9080e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9080eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9080eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9080eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9080eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff90821aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff90821aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff90821aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff90822ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff90822ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff90822ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff908224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff908224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff908224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9082eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9082eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9082eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff90838484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff90838484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff90838484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9079c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9079c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9079c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9079c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff90c8b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff90c8b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff90c8b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff90961ba0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff90961ba0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff90961ba0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff90961ba0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff90961ba0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff90961ba0 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #48 0x0000ffff90961ff0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffff90961ff0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff90961ff0 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #51 0x0000ffff9096e4d0 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #52 0x0000ffff9096e4d0 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #53 0x0000ffff907867b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff907867b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff907867b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #56 0x0000ffff907867b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #57 0x0000ffff907867b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #58 0x0000ffff907e6c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #59 0x0000ffff907e6c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #60 0x0000ffff907e6c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #61 0x0000ffff907e6c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #62 0x0000ffff907e6c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #63 0x0000ffff907e6c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #64 0x0000ffff907e74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #65 0x0000ffff907c9250 clang::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 0x0000ffff907c9250 clang::ento::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 0x0000ffff907ca2b8 clang::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 0x0000ffff907ca5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff907ca7cc clang::ento::CoreEngine::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 0x0000ffff907cab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x0000ffff907cab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x0000ffff907cab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #73 0x0000ffff907cab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #74 0x0000ffff907cab14 clang::ento::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 0x0000ffff90a952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #76 0x0000ffff90a952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #77 0x0000ffff90a952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #78 0x0000ffff90a952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #79 0x0000ffff90a952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #80 0x0000ffff90a96278 llvm::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 0x0000ffff90a96278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #82 0x0000ffff90a96278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #83 0x0000ffff90a9a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #84 0x0000ffff90a9a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #85 0x0000ffff90a9a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #86 0x0000ffff90a9a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #87 0x0000ffff90a9a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #88 0x0000ffff8eef1b88 __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 0x0000ffff8eef1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #90 0x0000ffff8eef1b88 void clang::finalize>, 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 0x0000ffff8eef1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #92 0x0000ffff905b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #93 0x0000ffff9056d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #94 0x0000ffff9056d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #95 0x0000ffff9056d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #96 0x0000ffff905f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #97 0x0000aaaabc2459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #98 0x0000aaaabc2494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #99 0x0000aaaabc24aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #100 0x0000aaaabc241fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #101 0x0000ffff87af098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #102 0x0000ffff87af0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #103 0x0000aaaabc2420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-malloc.cpp.script: line 1: 37635 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection,unix.Malloc -analyzer-config c++-allocator-inlining=true -analyzer-output=text -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-malloc.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps.c (936 of 19719) ******************** TEST 'Clang :: Analysis/misc-ps.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -analyzer-checker=core,deadcode,debug.ExprInspection -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -analyzer-checker=core,deadcode,debug.ExprInspection -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.c 1. parser at end of file 2. While analyzing stack: #0 Calling PR15623 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.c:200:8: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.c:200:8: Error evaluating statement #0 0x0000ffffb439ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb4399180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb439b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbd3547e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbc650e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbc650e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbc650e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbc650e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbc650e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbc650e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbc650e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbc650e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbc2fe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbc2fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbc2fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbc2fe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbc2feef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbc2feef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbc2feef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbc2feef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbc311aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbc311aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbc311aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbc312ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbc312ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbc312ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbc3124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbc3124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbc3124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbc31eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbc31eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbc31eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbc328484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbc328484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbc328484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbc28c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbc28c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbc28c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbc28c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffbc77b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbc77b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbc77b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbc29fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffbc29fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffbc29fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffbc2ba05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffbc2ba05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffbc2ba05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffbc2ba05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffbc2ba05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffbc2ba2b8 clang::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 0x0000ffffbc2ba5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbc2ba7cc clang::ento::CoreEngine::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 0x0000ffffbc2bab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffbc2bab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffbc2bab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffbc2bab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffbc2bab14 clang::ento::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 0x0000ffffbc5852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffbc5852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffbc5852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffbc5852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffbc5852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffbc586278 llvm::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 0x0000ffffbc586278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffbc586278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffbc58a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffbc58a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffbc58a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffbc58a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffbc58a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffba9e1b88 __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 0x0000ffffba9e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffba9e1b88 void clang::finalize>, 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 0x0000ffffba9e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffbc0a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffbc05d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffbc05d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffbc05d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffbc0e36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaca0159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaca0194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaca01aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaca011fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb35e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb35e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaca0120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps.c.script: line 1: 37584 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -analyzer-checker=core,deadcode,debug.ExprInspection -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/mismatched-iterator.cpp (937 of 19719) ******************** TEST 'Clang :: Analysis/mismatched-iterator.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.MismatchedIterator -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mismatched-iterator.cpp -verify : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.MismatchedIterator -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mismatched-iterator.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.MismatchedIterator -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mismatched-iterator.cpp -verify 1. parser at end of file 2. While analyzing stack: #0 Calling comparison_ptr_iterator(cont_with_ptr_iterator &, cont_with_ptr_iterator &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mismatched-iterator.cpp:130:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mismatched-iterator.cpp:130:7: Error evaluating statement #0 0x0000ffff86fead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff86fe9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff86feb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8ffae7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8ef27cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff8ef27cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8ef27cb0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8ef27cb0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8ef27cb0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8ef27cb0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8ef27cb0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff8ef27cb0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff8ef27cb0 (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 0x0000ffff8ef27d8c (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffff8ef7b478 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffff8ef7b478 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffff8ef7acb4 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1270:0 #17 0x0000ffff8ef7acb4 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:0 #18 0x0000ffff8f3882f4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffff8f3882f4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffff8f3882f4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffff8ef627b4 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffff8ef627b4 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffff8ef61d88 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #24 0x0000ffff8ef61e8c clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #25 0x0000ffff8ef62ecc clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:26:17 #26 0x0000ffff8ef624c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8ef624c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8ef624c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8ef6eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8ef6eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8ef6eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8ef78484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8ef78484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8ef78484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8eedc9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8eedc9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8eedc9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8eedc9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8eedcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8eedcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8eedcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8eeb0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8eeb0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8eeb0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8f063b04 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #46 0x0000ffff8f063b04 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #47 0x0000ffff8f063b04 clang::ento::iterator::assumeNoOverflow(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, long) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Iterator.cpp:291:0 #48 0x0000ffff8efe0008 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffff8efe0008 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8efe0008 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:0 #51 0x0000ffff8efe0008 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:0 #52 0x0000ffff8efe0008 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:0 #53 0x0000ffff8efe0008 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #54 0x0000ffff8eec67b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x0000ffff8eec67b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x0000ffff8eec67b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #57 0x0000ffff8eec67b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #58 0x0000ffff8eec67b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #59 0x0000ffff8ef26c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #60 0x0000ffff8ef26c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #61 0x0000ffff8ef26c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #62 0x0000ffff8ef26c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #63 0x0000ffff8ef26c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #64 0x0000ffff8ef26c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #65 0x0000ffff8ef274f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #66 0x0000ffff8ef09250 clang::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 0x0000ffff8ef09250 clang::ento::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 0x0000ffff8ef0a2b8 clang::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 0x0000ffff8ef0a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8ef0a7cc clang::ento::CoreEngine::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 0x0000ffff8ef0ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffff8ef0ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffff8ef0ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #74 0x0000ffff8ef0ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #75 0x0000ffff8ef0ab14 clang::ento::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 0x0000ffff8f1d52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #77 0x0000ffff8f1d52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #78 0x0000ffff8f1d52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #79 0x0000ffff8f1d52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #80 0x0000ffff8f1d52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #81 0x0000ffff8f1d6278 llvm::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 0x0000ffff8f1d6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x0000ffff8f1d6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #84 0x0000ffff8f1da900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x0000ffff8f1da900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x0000ffff8f1da900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x0000ffff8f1da900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x0000ffff8f1da900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x0000ffff8d631b88 __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 0x0000ffff8d631b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x0000ffff8d631b88 void clang::finalize>, 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 0x0000ffff8d631b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x0000ffff8ecf5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #94 0x0000ffff8ecad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #95 0x0000ffff8ecad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #96 0x0000ffff8ecad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #97 0x0000ffff8ed336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #98 0x0000aaaaad9c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x0000aaaaad9c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x0000aaaaad9caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x0000aaaaad9c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x0000ffff8623098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #103 0x0000ffff86230a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #104 0x0000aaaaad9c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/mismatched-iterator.cpp.script: line 2: 37586 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.MismatchedIterator -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mismatched-iterator.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-ctor-conservative.cpp (938 of 19719) ******************** TEST 'Clang :: Analysis/new-ctor-conservative.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-conservative.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-conservative.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling checkNullThis() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-conservative.cpp:53:18: Error evaluating New Allocator Call #0 0x0000ffff8bb8ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8bb89180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8bb8b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff94b477e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff93e40e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff93e40e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff93e40e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff93e40e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff93e40e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff93e40e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff93e40e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff93e40e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff93aee018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff93aee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff93aee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff93aee018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff93aeeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff93aeeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff93aeeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff93aeeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff93b01aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff93b01aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff93b01aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff93b02ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff93b02ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff93b02ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff93b024c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff93b024c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff93b024c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff93b0eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff93b0eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff93b0eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff93b18484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff93b18484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff93b18484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff93a7c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff93a7c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff93a7c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff93a7c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff93a7cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff93a7cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff93a7cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff93aa6f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff93aa6f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff93aa6f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff93aa6f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff93aa6f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff93aa735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff93aa735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff93aa735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff93aa735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff93aa735c 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 0x0000ffff93aaa5dc clang::ento::ExprEngine::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 0x0000ffff93aaa6c0 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 0x0000ffff93aaa98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffff93aaab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffff93aaab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffff93aaab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffff93aaab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffff93aaab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffff93d752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffff93d752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffff93d752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffff93d752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffff93d752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffff93d76278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffff93d76278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffff93d76278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffff93d7a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffff93d7a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffff93d7a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffff93d7a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffff93d7a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff921d1b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffff921d1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff921d1b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffff921d1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffff93895600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffff9384d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffff9384d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffff9384d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffff938d36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaae8e559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaae8e594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaae8e5aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaae8e51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff8add098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff8add0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaae8e520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-conservative.cpp.script: line 1: 37616 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-conservative.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-ctor-null.cpp (946 of 19719) ******************** TEST 'Clang :: Analysis/new-ctor-null.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-null.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-null.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling operator new(size_t) at line 38 #1 Calling testInvalidationOnConstructionIntoNull() #0 0x0000ffff9045ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff90459180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9045b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9941a7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff983650b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff983650b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff983650b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff983650b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff983650b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff983650b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff983650b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff983650b8 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 0x0000ffff983ad19c clang::ento::ExprEngine::processCallExit(clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:372:0 #13 0x0000ffff9837ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #14 0x0000ffff9837ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #15 0x0000ffff9837ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #16 0x0000ffff9837ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #17 0x0000ffff9837ab14 clang::ento::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 0x0000ffff986452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #19 0x0000ffff986452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #20 0x0000ffff986452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #21 0x0000ffff986452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #22 0x0000ffff986452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #23 0x0000ffff98646278 llvm::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 0x0000ffff98646278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x0000ffff98646278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #26 0x0000ffff9864a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x0000ffff9864a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x0000ffff9864a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x0000ffff9864a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x0000ffff9864a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x0000ffff96aa1b88 __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 0x0000ffff96aa1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x0000ffff96aa1b88 void clang::finalize>, 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 0x0000ffff96aa1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x0000ffff98165600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #36 0x0000ffff9811d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #37 0x0000ffff9811d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #38 0x0000ffff9811d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #39 0x0000ffff981a36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #40 0x0000aaaad6f459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x0000aaaad6f494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x0000aaaad6f4aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000aaaad6f41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x0000ffff8f6a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #45 0x0000ffff8f6a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #46 0x0000aaaad6f420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-null.cpp.script: line 1: 37644 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-null.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/no-unreachable-dtors.cpp (948 of 19719) ******************** TEST 'Clang :: Analysis/no-unreachable-dtors.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.Stats -verify -Wno-unreachable-code /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-unreachable-dtors.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.Stats -verify -Wno-unreachable-code /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-unreachable-dtors.cpp 1. parser at end of file #0 0x0000ffff7d39ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7d399180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7d39b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff863527e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff852a9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff852a9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff852a9f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff852a9f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff852a9f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff852a9f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff852a9f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff852a9f54 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 0x0000ffff852aa878 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 0x0000ffff852ba954 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 0x0000ffff852bab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff852bab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff852bab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff852bab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff852bab14 clang::ento::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 0x0000ffff855852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff855852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff855852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff855852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff855852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff85586278 llvm::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 0x0000ffff85586278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff85586278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff8558a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff8558a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff8558a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff8558a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff8558a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff839e1b88 __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 0x0000ffff839e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff839e1b88 void clang::finalize>, 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 0x0000ffff839e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff850a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff8505d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff8505d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff8505d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff850e36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaabb1e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaabb1e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaabb1eaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaabb1e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff7c5e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff7c5e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaabb1e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/no-unreachable-dtors.cpp.script: line 1: 37675 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.Stats -verify -Wno-unreachable-code /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-unreachable-dtors.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-with-exceptions.cpp (949 of 19719) ******************** TEST 'Clang :: Analysis/new-with-exceptions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -fexceptions -fcxx-exceptions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-with-exceptions.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-with-exceptions.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -fexceptions -fcxx-exceptions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-with-exceptions.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testNewArrayNoThrow() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-with-exceptions.cpp:49:31: Error evaluating statement #0 0x0000ffff81c6ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff81c69180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff81c6b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8ac227e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff89b750b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff89b750b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff89b750b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff89b750b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff89b750b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff89b750b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff89b750b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff89b750b8 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 0x0000ffff89b8a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff89b8a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff89b8a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff89b8a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff89b8a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff89b8a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff89b8a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff89b8a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff89b8a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff89b8a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff89b8a7cc clang::ento::CoreEngine::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 0x0000ffff89b8ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffff89b8ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffff89b8ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffff89b8ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffff89b8ab14 clang::ento::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 0x0000ffff89e552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffff89e552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffff89e552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffff89e552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffff89e552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffff89e56278 llvm::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 0x0000ffff89e56278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffff89e56278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffff89e5a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffff89e5a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffff89e5a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffff89e5a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffff89e5a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffff882b1b88 __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 0x0000ffff882b1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffff882b1b88 void clang::finalize>, 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 0x0000ffff882b1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffff89975600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffff8992d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffff8992d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffff8992d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffff899b36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaae56a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaae56a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaae56aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaae56a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffff80eb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffff80eb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaae56a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-with-exceptions.cpp.script: line 2: 37654 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -fexceptions -fcxx-exceptions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-with-exceptions.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-ctor-recursive.cpp (950 of 19719) ******************** TEST 'Clang :: Analysis/new-ctor-recursive.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-recursive.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-recursive.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testChainedOperatorNew() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-recursive.cpp:69:12: Error evaluating New Allocator Call #0 0x0000ffffaef1ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffaef19180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffaef1b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb7ede7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb71d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb71d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb71d0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb71d0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb71d0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb71d0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb71d0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb71d0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb6e7e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb6e7e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb6e7e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb6e7e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb6e7eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb6e7eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb6e7eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb6e7eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb6e91aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb6e91aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb6e91aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb6e92ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb6e92ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb6e92ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb6e924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb6e924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb6e924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb6e9eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb6e9eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb6e9eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb6ea8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb6ea8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb6ea8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb6e0c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb6e0c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb6e0c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb6e0c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb6e0cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb6e0cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb6e0cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb6e36f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffb6e36f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffb6e36f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb6e36f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffb6e36f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffb6e3735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffb6e3735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffb6e3735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffb6e3735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffb6e3735c 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 0x0000ffffb6e3a5dc clang::ento::ExprEngine::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 0x0000ffffb6e3a7cc clang::ento::CoreEngine::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 0x0000ffffb6e3ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffffb6e3ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffffb6e3ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffffb6e3ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffffb6e3ab14 clang::ento::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 0x0000ffffb71052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffffb71052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffffb71052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffffb71052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffffb71052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffffb7106278 llvm::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 0x0000ffffb7106278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffffb7106278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffffb710a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffb710a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffb710a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffffb710a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffffb710a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffffb5561b88 __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 0x0000ffffb5561b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffffb5561b88 void clang::finalize>, 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 0x0000ffffb5561b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffffb6c25600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffffb6bdd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffffb6bdd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffffb6bdd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffffb6c636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaabc2559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaabc2594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaabc25aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaabc251fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffffae16098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffffae160a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaabc2520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-recursive.cpp.script: line 1: 37647 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-recursive.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-dynamic-types.cpp (951 of 19719) ******************** TEST 'Clang :: Analysis/new-dynamic-types.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-dynamic-types.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-dynamic-types.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_non_ub() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-dynamic-types.cpp:26:3: Error evaluating New Allocator Call #0 0x0000ffffb0e4ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb0e49180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb0e4b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb9e037e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb9100e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb9100e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb9100e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb9100e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb9100e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb9100e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb9100e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb9100e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb8dae018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb8dae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb8dae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb8dae018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb8daeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb8daeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb8daeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb8daeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb8dc1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb8dc1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb8dc1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb8dc2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb8dc2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb8dc2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb8dc24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb8dc24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb8dc24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb8dceb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb8dceb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb8dceb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb8dd8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb8dd8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb8dd8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb8d3c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb8d3c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb8d3c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb8d3c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb8d3cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb8d3cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb8d3cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb8d66f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffb8d66f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffb8d66f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb8d66f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffb8d66f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffb8d6735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffb8d6735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffb8d6735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffb8d6735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffb8d6735c 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 0x0000ffffb8d6a5dc clang::ento::ExprEngine::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 0x0000ffffb8d6a7cc clang::ento::CoreEngine::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 0x0000ffffb8d6ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffffb8d6ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffffb8d6ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffffb8d6ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffffb8d6ab14 clang::ento::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 0x0000ffffb90352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffffb90352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffffb90352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffffb90352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffffb90352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffffb9036278 llvm::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 0x0000ffffb9036278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffffb9036278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffffb903a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffb903a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffb903a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffffb903a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffffb903a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffffb7491b88 __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 0x0000ffffb7491b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffffb7491b88 void clang::finalize>, 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 0x0000ffffb7491b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffffb8b55600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffffb8b0d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffffb8b0d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffffb8b0d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffffb8b936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaae94d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaae94d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaae94daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaae94d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffffb009098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffffb0090a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaae94d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-dynamic-types.cpp.script: line 1: 37650 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-dynamic-types.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-ctor-symbolic.cpp (952 of 19719) ******************** TEST 'Clang :: Analysis/new-ctor-symbolic.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-symbolic.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-symbolic.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling S::operator new(size_t) at line 31 #1 Calling testIndexLiveness() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-symbolic.cpp:21:9: Error evaluating branch #0 0x0000ffffaa77ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffaa779180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffaa77b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb37337e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb2a30e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb2a30e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb2a30e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb2a30e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb2a30e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb2a30e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb2a30e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb2a30e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb26de018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb26de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb26de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb26de018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb26deef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb26deef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb26deef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb26deef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb26f1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb26f1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb26f1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb26f2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb26f2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb26f2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb26f24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb26f24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb26f24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb26feb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb26feb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb26feb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb2708484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb2708484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb2708484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb266c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb266c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb266c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb266c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb2b5b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb2b5b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb2b5b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb2682bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb2682bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb2682bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb2682bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb2682bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb2682bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb2682bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb2682bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb2682bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb2682bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb2683130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb269ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb269ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb269ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb269ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb269ab14 clang::ento::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 0x0000ffffb29652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb29652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb29652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb29652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb29652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb2966278 llvm::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 0x0000ffffb2966278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb2966278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb296a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb296a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb296a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb296a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb296a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb0dc1b88 __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 0x0000ffffb0dc1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb0dc1b88 void clang::finalize>, 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 0x0000ffffb0dc1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb2485600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb243d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb243d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb243d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb24c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaddb859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaddb894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaddb8aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaddb81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa99c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa99c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaddb820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-symbolic.cpp.script: line 1: 37651 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-symbolic.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/no-outofbounds.c (953 of 19719) ******************** TEST 'Clang :: Analysis/no-outofbounds.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,alpha.unix,alpha.security.ArrayBound -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-outofbounds.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,alpha.unix,alpha.security.ArrayBound -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-outofbounds.c 1. parser at end of file 2. While analyzing stack: #0 Calling field 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-outofbounds.c:28:19: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-outofbounds.c:28:19: Error evaluating statement #0 0x0000ffff9c88ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9c889180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9c88b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa584f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa498e8d8 isEqual /usr/include/llvm/ADT/ImmutableMap.h:45:41 #5 0x0000ffffa498e8d8 add_internal /usr/include/llvm/ADT/ImmutableSet.h:538:26 #6 0x0000ffffa498e8d8 add /usr/include/llvm/ADT/ImmutableSet.h:396:0 #7 0x0000ffffa498e8d8 add /usr/include/llvm/ADT/ImmutableMap.h:100:0 #8 0x0000ffffa498e8d8 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:0 #9 0x0000ffffa498e8d8 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::RegionState>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::RegionState>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::RegionState>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::RegionState>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #10 0x0000ffffa498f75c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #11 0x0000ffffa498f75c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x0000ffffa498f75c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x0000ffffa498f75c set<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #14 0x0000ffffa498f75c checkPostStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp:270:0 #15 0x0000ffffa498f75c void clang::ento::check::PostStmt::_checkStmt<(anonymous namespace)::PointerArithChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:104:0 #16 0x0000ffffa4765308 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #17 0x0000ffffa4765308 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #18 0x0000ffffa47a8c58 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #19 0x0000ffffa47a8c58 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2259:0 #20 0x0000ffffa47aa2b8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #21 0x0000ffffa47aa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa47aa7cc clang::ento::CoreEngine::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 0x0000ffffa47aab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffffa47aab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffffa47aab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffffa47aab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffffa47aab14 clang::ento::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 0x0000ffffa4a752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffffa4a752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffffa4a752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffffa4a752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffffa4a752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffffa4a76278 llvm::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 0x0000ffffa4a76278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffffa4a76278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffffa4a7a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffffa4a7a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffffa4a7a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffffa4a7a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffffa4a7a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffffa2ed1b88 __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 0x0000ffffa2ed1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffffa2ed1b88 void clang::finalize>, 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 0x0000ffffa2ed1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffffa4595600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffffa454d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffffa454d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffffa454d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffffa45d36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaac16959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaac16994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaac169aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaac1691fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffff9bad098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffff9bad0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaac16920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/no-outofbounds.c.script: line 1: 37667 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,alpha.unix,alpha.security.ArrayBound -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-outofbounds.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/nonnull.cpp (954 of 19719) ******************** TEST 'Clang :: Analysis/nonnull.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f4(int, int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.cpp:31:7: Error evaluating branch #0 0x0000ffff814fad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff814f9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff814fb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8a4b07e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff897b0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff897b0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff897b0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff897b0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff897b0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff897b0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff897b0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff897b0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8945e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8945e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8945e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8945e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8945eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8945eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8945eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8945eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff89471aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff89471aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff89471aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff89472ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff89472ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff89472ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff894724c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff894724c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff894724c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8947eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8947eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8947eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff89488484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff89488484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff89488484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff893ec9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff893ec9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff893ec9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff893ec9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff898db004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff898db004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff898db004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff89402bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff89402bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff89402bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff89402bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff89402bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff89402bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff89402bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff89402bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff89402bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff89402bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff89403130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8941ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8941ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8941ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8941ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8941ab14 clang::ento::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 0x0000ffff896e52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff896e52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff896e52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff896e52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff896e52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff896e6278 llvm::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 0x0000ffff896e6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff896e6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff896ea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff896ea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff896ea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff896ea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff896ea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff87b41b88 __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 0x0000ffff87b41b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff87b41b88 void clang::finalize>, 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 0x0000ffff87b41b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff89205600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff891bd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff891bd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff891bd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff892436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaaba259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaaba294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaaba2aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaaba21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8074098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff80740a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaaba220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nonnull.cpp.script: line 1: 37688 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m (955 of 19719) ******************** TEST 'Clang :: Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin8 -analyzer-checker=core,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin8 -analyzer-checker=core,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m 1. parser at end of file #0 0x0000ffff9de4ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9de49180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9de4b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa6e037e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa6100e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa6100e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa6100e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa6100e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa6100e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa6100e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa6100e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa6100e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa5dae018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa5dae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa5dae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa5dae018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa5daeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa5daeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa5daeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa5daeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa5dc1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa5dc1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa5dc1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa5dc2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa5dc2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa5dc2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa5dc24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa5dc24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa5dc24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa5dceb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa5dceb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa5dceb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa5dd8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa5dd8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa5dd8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa5d3c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa5d3c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa5d3c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa5d3c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa5d3cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa5d3cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa5d3cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa5d10400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa5d10400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa5d10400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa5d4cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa5d4cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa5d4cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa5d6ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa5d6ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa5d6ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa60352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa60352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa60352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa60352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa60352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa6036278 llvm::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 0x0000ffffa6036278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa6036278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa603a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa603a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa603a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa603a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa603a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa4491b88 __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 0x0000ffffa4491b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa4491b88 void clang::finalize>, 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 0x0000ffffa4491b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa5b55600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa5b0d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa5b0d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa5b0d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa5b936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaadd6f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaadd6f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaadd6faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaadd6f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9d09098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff9d090a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaadd6f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret-region.m.script: line 1: 37659 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin8 -analyzer-checker=core,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/non-diagnosable-assumptions.c (956 of 19719) ******************** TEST 'Clang :: Analysis/non-diagnosable-assumptions.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core.DivideZero -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/non-diagnosable-assumptions.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core.DivideZero -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/non-diagnosable-assumptions.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_exclamation_mark 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/non-diagnosable-assumptions.c:40:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/non-diagnosable-assumptions.c:40:7: Error evaluating statement #0 0x0000ffff79ddad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff79dd9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff79ddb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff82d907e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff82090e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff82090e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff82090e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff82090e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff82090e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff82090e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff82090e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff82090e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff81d3e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff81d3e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff81d3e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff81d3e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff81d3eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff81d3eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff81d3eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff81d3eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff81d51aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff81d51aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff81d51aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff81d52ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff81d52ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff81d52ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff81d524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff81d524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff81d524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff81d5eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff81d5eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff81d5eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff81d68484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff81d68484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff81d68484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff81ccc9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff81ccc9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff81ccc9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff81ccc9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff821bb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff821bb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff821bb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff81cdfd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff81cdfd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff81cdfd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff81cfa05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff81cfa05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff81cfa05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff81cfa05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff81cfa05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff81cfa2b8 clang::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 0x0000ffff81cfa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff81cfa7cc clang::ento::CoreEngine::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 0x0000ffff81cfab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff81cfab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff81cfab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff81cfab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff81cfab14 clang::ento::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 0x0000ffff81fc52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff81fc52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff81fc52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff81fc52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff81fc52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff81fc6278 llvm::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 0x0000ffff81fc6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff81fc6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff81fca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff81fca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff81fca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff81fca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff81fca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff80421b88 __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 0x0000ffff80421b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff80421b88 void clang::finalize>, 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 0x0000ffff80421b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff81ae5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff81a9d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff81a9d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff81a9d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff81b236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad0f659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad0f694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad0f6aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad0f61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7902098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff79020a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad0f620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/non-diagnosable-assumptions.c.script: line 1: 37681 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core.DivideZero -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/non-diagnosable-assumptions.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/no-return.c (958 of 19719) ******************** TEST 'Clang :: Analysis/no-return.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-return.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-return.c 1. parser at end of file 2. While analyzing stack: #0 Calling return_zero_or_abort_by_fnptr at line 29 #1 Calling caller 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-return.c:13:7: Error evaluating branch #0 0x0000ffff9d68ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9d689180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9d68b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa66447e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa5940e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa5940e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa5940e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa5940e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa5940e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa5940e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa5940e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa5940e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa55ee018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa55ee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa55ee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa55ee018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa55eeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa55eeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa55eeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa55eeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa5602c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa5602c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa5602c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa5602f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa5602f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa5602f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffa56024c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa56024c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa56024c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa560eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa560eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa560eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa5618484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa5618484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa5618484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa557c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa557c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa557c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa557c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa5a6b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa5a6b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa5a6b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa5592bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa5592bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa5592bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa5592bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa5592bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa5592bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa5592bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa5592bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa5592bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa5592bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa5593130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa55aab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa55aab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa55aab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa55aab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa55aab14 clang::ento::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 0x0000ffffa58752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa58752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa58752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa58752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa58752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa5876278 llvm::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 0x0000ffffa5876278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa5876278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa587a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa587a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa587a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa587a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa587a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa3cd1b88 __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 0x0000ffffa3cd1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa3cd1b88 void clang::finalize>, 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 0x0000ffffa3cd1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa5395600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa534d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa534d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa534d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa53d36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac7fd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac7fd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac7fdaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac7fd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9c8d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9c8d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac7fd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/no-return.c.script: line 1: 37670 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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/nonnull-global-constants.mm (959 of 19719) ******************** TEST 'Clang :: Analysis/nonnull-global-constants.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull-global-constants.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull-global-constants.mm 1. parser at end of file 2. While analyzing stack: #0 Calling test_kCFNull() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull-global-constants.mm:122:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull-global-constants.mm:122:23: Error evaluating statement #0 0x0000ffff7bf6ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7bf69180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7bf6b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff84f2c7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff84220e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff84220e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff84220e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff84220e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff84220e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff84220e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff84220e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff84220e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff83ece018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff83ece018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff83ece018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff83ece018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff83eceef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff83eceef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff83eceef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff83eceef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff83ee1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff83ee1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff83ee1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff83ee2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff83ee2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff83ee2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff83ee24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff83ee24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff83ee24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff83eeeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff83eeeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff83eeeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff83ef8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff83ef8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff83ef8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff83e5c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff83e5c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff83e5c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff83e5c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff83e5cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff83e5cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff83e5cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff83e30400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff83e30400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff83e30400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8403f5b0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #46 0x0000ffff8403f5b0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NonnullGlobalConstantsChecker.cpp:88:0 #47 0x0000ffff8403f5b0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::NonnullGlobalConstantsChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:0 #48 0x0000ffff83e46c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #49 0x0000ffff83e6f570 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #50 0x0000ffff83e6f570 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #51 0x0000ffff83e6f7ac llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #52 0x0000ffff83e6f7ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #53 0x0000ffff83e6f7ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #54 0x0000ffff83e6f7ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #55 0x0000ffff83e7f470 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x0000ffff83e7f470 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x0000ffff83e7f470 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #58 0x0000ffff83e88c34 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #59 0x0000ffff83e88c34 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #60 0x0000ffff83e88c34 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #61 0x0000ffff83e8a2b8 clang::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 0x0000ffff83e8a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff83e8a7cc clang::ento::CoreEngine::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 0x0000ffff83e8ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x0000ffff83e8ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x0000ffff83e8ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #67 0x0000ffff83e8ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #68 0x0000ffff83e8ab14 clang::ento::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 0x0000ffff841552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #70 0x0000ffff841552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #71 0x0000ffff841552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #72 0x0000ffff841552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #73 0x0000ffff841552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #74 0x0000ffff84156278 llvm::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 0x0000ffff84156278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #76 0x0000ffff84156278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #77 0x0000ffff8415a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #78 0x0000ffff8415a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #79 0x0000ffff8415a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #80 0x0000ffff8415a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #81 0x0000ffff8415a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #82 0x0000ffff825b1b88 __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 0x0000ffff825b1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #84 0x0000ffff825b1b88 void clang::finalize>, 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 0x0000ffff825b1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #86 0x0000ffff83c75600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #87 0x0000ffff83c2d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #88 0x0000ffff83c2d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #89 0x0000ffff83c2d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #90 0x0000ffff83cb36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #91 0x0000aaaad09459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #92 0x0000aaaad09494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #93 0x0000aaaad094aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #94 0x0000aaaad0941fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #95 0x0000ffff7b1b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #96 0x0000ffff7b1b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #97 0x0000aaaad09420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nonnull-global-constants.mm.script: line 1: 37677 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull-global-constants.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/no-store-suppression.cpp (960 of 19719) ******************** TEST 'Clang :: Analysis/no-store-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-store-suppression.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-store-suppression.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling std::operator>>(istream &, char &) at line 19 #1 Calling value_uninitialized_after_stream_shift::foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/no-store-suppression.h:11:7: Error evaluating branch #0 0x0000ffff9a4fad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9a4f9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9a4fb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa34bc7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa27b0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa27b0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa27b0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa27b0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa27b0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa27b0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa27b0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa27b0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa245e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa245e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa245e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa245e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa245ec90 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa245ec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa245ec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa245ec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffa2472c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa2472c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa2472c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa2472f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa2472f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa2472f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffa24724c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa24724c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa24724c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa247eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa247eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa247eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa2488484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa2488484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa2488484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa23ec9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa23ec9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa23ec9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa23ec9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa28db004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa28db004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa28db004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa2402bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa2402bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa2402bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa2402bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa2402bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa2402bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa2402bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa2402bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa2402bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa2402bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa2403130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa241ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa241ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa241ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa241ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa241ab14 clang::ento::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 0x0000ffffa26e52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa26e52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa26e52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa26e52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa26e52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa26e6278 llvm::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 0x0000ffffa26e6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa26e6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa26ea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa26ea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa26ea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa26ea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa26ea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa0b41b88 __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 0x0000ffffa0b41b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa0b41b88 void clang::finalize>, 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 0x0000ffffa0b41b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa2205600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa21bd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa21bd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa21bd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa22436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac70f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac70f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac70faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac70f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9974098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff99740a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac70f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/no-store-suppression.cpp.script: line 1: 37674 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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/new.cpp (962 of 19719) ******************** TEST 'Clang :: Analysis/new.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -std=c++11 -DTEST_INLINABLE_ALLOCATORS -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_member_invalidation() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new.cpp:341:30: Error evaluating New Allocator Call #0 0x0000ffff9b51ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9b519180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9b51b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa44de7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa37d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa37d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa37d0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa37d0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa37d0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa37d0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa37d0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa37d0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa347e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa347e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa347e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa347e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa347eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa347eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa347eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa347eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa3491aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa3491aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa3491aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa3492ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa3492ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa3492ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa34924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa34924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa34924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa349eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa349eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa349eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa34a8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa34a8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa34a8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa340c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa340c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa340c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa340c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa340cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa340cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa340cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa3436f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffa3436f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffa3436f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffa3436f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffa3436f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffa343735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffa343735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffa343735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffa343735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffa343735c 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 0x0000ffffa343a5dc clang::ento::ExprEngine::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 0x0000ffffa343a6c0 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 0x0000ffffa343a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffa343ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffa343ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffa343ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffa343ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffa343ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffffa37052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffa37052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffa37052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffa37052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffa37052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffa3706278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffffa3706278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffa3706278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffa370a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffa370a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffa370a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffa370a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffa370a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffa1b61b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffffa1b61b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffa1b61b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffffa1b61b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffa3225600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffa31dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffa31dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffa31dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffa32636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaac1e159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaac1e194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaac1e1aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaac1e11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff9a76098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff9a760a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaac1e120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new.cpp.script: line 2: 37656 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m (963 of 19719) ******************** TEST 'Clang :: Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin8 -analyzer-checker=core,alpha.core -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.tmp.1 2>&1 : 'RUN: at line 2'; /usr/bin/FileCheck -input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.tmp.1 -check-prefix=CHECK-darwin8 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.tmp.2 2>&1 : 'RUN: at line 4'; /usr/bin/FileCheck -input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.tmp.2 -check-prefix=CHECK-darwin9 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple thumbv6-apple-ios4.0 -analyzer-checker=core,alpha.core -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.tmp.3 2>&1 : 'RUN: at line 6'; /usr/bin/FileCheck -input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.tmp.3 -check-prefix=CHECK-darwin9 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.script: line 6: 37661 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin8 -analyzer-checker=core,alpha.core -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.tmp.1 2>&1 -- ******************** Testing: 0 FAIL: Clang :: Analysis/no-exit-cfg.c (965 of 19719) ******************** TEST 'Clang :: Analysis/no-exit-cfg.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-exit-cfg.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-config cfg-scopes=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-exit-cfg.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-exit-cfg.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-exit-cfg.c:16:7: Error evaluating branch #0 0x0000ffffa7dcad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa7dc9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa7dcb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb0d8f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb0080e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb0080e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb0080e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb0080e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb0080e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb0080e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb0080e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb0080e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffafd2e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffafd2e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffafd2e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffafd2e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffafd2eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffafd2eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffafd2eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffafd2eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffafd42c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffafd42c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffafd42c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffafd42f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffafd42f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffafd42f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffafd424c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffafd424c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffafd424c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffafd4eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffafd4eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffafd4eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffafd58484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffafd58484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffafd58484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffafcbc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffafcbc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffafcbc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffafcbc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb01ab004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb01ab004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb01ab004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffafcd2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffafcd2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffafcd2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffafcd2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffafcd2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffafcd2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffafcd2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffafcd2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffafcd2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffafcd2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffafcd3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffafceab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffafceab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffafceab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffafceab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffafceab14 clang::ento::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 0x0000ffffaffb52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffaffb52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffaffb52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffaffb52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffaffb52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffaffb6278 llvm::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 0x0000ffffaffb6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffaffb6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffaffba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffaffba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffaffba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffaffba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffaffba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffae411b88 __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 0x0000ffffae411b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffae411b88 void clang::finalize>, 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 0x0000ffffae411b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffafad5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffafa8d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffafa8d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffafa8d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffafb136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab2a159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab2a194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab2a1aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab2a11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa701098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa7010a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab2a120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/no-exit-cfg.c.script: line 2: 37666 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-exit-cfg.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/nonnullparamchecker-crash.cpp (970 of 19719) ******************** TEST 'Clang :: Analysis/nonnullparamchecker-crash.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnullparamchecker-crash.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnullparamchecker-crash.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f(C) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnullparamchecker-crash.cpp:6:17: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnullparamchecker-crash.cpp:6:17: Error evaluating statement #0 0x0000ffff82c1ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff82c19180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff82c1b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8bbdb7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8ab25734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8ab25734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8ab25734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8ab25734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8ab25734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8ab25734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8ab25734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff8ab25734 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 0x0000ffff8ab56660 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffff8ab56804 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffff8ab56804 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffff8ab56804 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffff8ab33514 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffff8ab3920c clang::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 0x0000ffff8ab3920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffff8ab3a2b8 clang::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 0x0000ffff8ab3a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8ab3a7cc clang::ento::CoreEngine::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 0x0000ffff8ab3ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffff8ab3ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffff8ab3ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffff8ab3ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffff8ab3ab14 clang::ento::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 0x0000ffff8ae052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffff8ae052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffff8ae052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffff8ae052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffff8ae052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffff8ae06278 llvm::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 0x0000ffff8ae06278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffff8ae06278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffff8ae0a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff8ae0a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff8ae0a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffff8ae0a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffff8ae0a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffff89261b88 __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 0x0000ffff89261b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffff89261b88 void clang::finalize>, 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 0x0000ffff89261b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffff8a925600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffff8a8dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffff8a8dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffff8a8dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffff8a9636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaae88959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaae88994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaae889aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaae8891fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffff81e6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffff81e60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaae88920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nonnullparamchecker-crash.cpp.script: line 1: 37697 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnullparamchecker-crash.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/null-deref-offsets.c (971 of 19719) ******************** TEST 'Clang :: Analysis/null-deref-offsets.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -triple i386-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-offsets.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -triple i386-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-offsets.c 1. parser at end of file 2. While analyzing stack: #0 Calling testOffsets 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-offsets.c:11:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-offsets.c:11:7: Error evaluating statement #0 0x0000ffff9202ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff92029180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9202b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9afe17e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9a2e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9a2e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9a2e0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9a2e0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9a2e0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9a2e0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9a2e0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9a2e0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff99f8e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff99f8e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff99f8e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff99f8e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff99f8eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff99f8eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff99f8eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff99f8eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff99fa1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff99fa1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff99fa1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff99fa2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff99fa2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff99fa2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff99fa24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff99fa24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff99fa24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff99faeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff99faeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff99faeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff99fb8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff99fb8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff99fb8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff99f1c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff99f1c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff99f1c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff99f1c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9a40b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9a40b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9a40b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff99f2fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff99f2fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff99f2fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff99f4a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff99f4a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff99f4a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff99f4a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff99f4a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff99f4a2b8 clang::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 0x0000ffff99f4a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff99f4a7cc clang::ento::CoreEngine::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 0x0000ffff99f4ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff99f4ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff99f4ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff99f4ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff99f4ab14 clang::ento::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 0x0000ffff9a2152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9a2152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9a2152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9a2152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9a2152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9a216278 llvm::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 0x0000ffff9a216278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9a216278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9a21a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9a21a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9a21a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9a21a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9a21a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff98671b88 __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 0x0000ffff98671b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff98671b88 void clang::finalize>, 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 0x0000ffff98671b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff99d35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff99ced524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff99ced524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff99ced524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff99d736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaadef259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaadef294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaadef2aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaadef21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9127098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff91270a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaadef220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-offsets.c.script: line 1: 37703 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -triple i386-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-offsets.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/nullability_nullonly.mm (972 of 19719) ******************** TEST 'Clang :: Analysis/nullability_nullonly.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -analyzer-checker=core,nullability.NullPassedToNonnull,nullability.NullReturnedFromNonnull -DNOSYSTEMHEADERS=0 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability_nullonly.mm : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -analyzer-checker=core,nullability.NullPassedToNonnull,nullability.NullReturnedFromNonnull -analyzer-config nullability:NoDiagnoseCallsToSystemHeaders=true -DNOSYSTEMHEADERS=1 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability_nullonly.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -analyzer-checker=core,nullability.NullPassedToNonnull,nullability.NullReturnedFromNonnull -DNOSYSTEMHEADERS=0 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability_nullonly.mm 1. parser at end of file 2. While analyzing stack: #0 Calling callMethodInSystemHeader() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability_nullonly.mm:165:23: Error evaluating statement #0 0x0000ffffaf02ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffaf029180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffaf02b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb7fe97e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb6f26124 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb6f26124 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb6f26124 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb6f26124 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb6f26124 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb6f26124 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 0x0000ffffb6f26124 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb6f26124 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffffb72d00f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffb72d00f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffb72d00f8 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffffb72d00f8 (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 0x0000ffffb6f1aae4 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 0x0000ffffb6f352e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffffb6f352e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffffb6f352e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffffb6f352e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffffb6f352e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffffb6f352e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffffb6f352e8 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 0x0000ffffb6f4a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffffb6f4a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffffb6f4a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffffb6f4a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffffb6f4a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffffb6f4a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffffb6f4a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffffb6f4a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffffb6f4a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #33 0x0000ffffb6f4a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb6f4a7cc clang::ento::CoreEngine::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 0x0000ffffb6f4ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffb6f4ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffb6f4ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffb6f4ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffb6f4ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffffb72152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffb72152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffb72152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffb72152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffb72152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffb7216278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffffb7216278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffb7216278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffb721a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffb721a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffb721a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffb721a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffb721a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffb5671b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffffb5671b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffb5671b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffffb5671b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffb6d35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffb6ced524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffb6ced524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffb6ced524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffb6d736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaaaca359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaaaca394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaaaca3aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaaaca31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffffae27098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffffae270a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaaaca320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability_nullonly.mm.script: line 2: 37732 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -analyzer-checker=core,nullability.NullPassedToNonnull,nullability.NullReturnedFromNonnull -DNOSYSTEMHEADERS=0 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability_nullonly.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/null-deref-path-notes.cpp (973 of 19719) ******************** TEST 'Clang :: Analysis/null-deref-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -x c++ -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-path-notes.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -x c++ -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-path-notes.cpp 1. parser at end of file #0 0x0000ffffb3f5ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb3f59180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb3f5b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbcf137e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbc210e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbc210e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbc210e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbc210e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbc210e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbc210e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbc210e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbc210e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbbebe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbbebe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbbebe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbbebe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbbebeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbbebeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbbebeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbbebeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbbed1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbbed1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbbed1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbbed2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbbed2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbbed2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbbed24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbbed24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbbed24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbbedeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbbedeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbbedeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbbee8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbbee8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbbee8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbbe4c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbbe4c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbbe4c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbbe4c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbbe4cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbbe4cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbbe4cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffbbe20400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffbbe20400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffbbe20400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffbbe5ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffbbe5ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffbbe5ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffbbe7ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffbbe7ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffbbe7ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffbc1452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffbc1452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffbc1452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffbc1452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffbc1452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffbc146278 llvm::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 0x0000ffffbc146278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffbc146278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffbc14a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffbc14a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffbc14a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffbc14a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffbc14a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffba5a1b88 __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 0x0000ffffba5a1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffba5a1b88 void clang::finalize>, 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 0x0000ffffba5a1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffbbc65600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffbbc1d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffbbc1d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffbbc1d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffbbca36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac92c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac92c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac92caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac92c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffb31a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffb31a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac92c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-path-notes.cpp.script: line 1: 37711 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -x c++ -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-path-notes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/novoidtypecrash.c (974 of 19719) ******************** TEST 'Clang :: Analysis/novoidtypecrash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c89 -Wno-int-conversion -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c:6:5: warning: incompatible pointer types passing 'int **' to parameter of type 'void **' [-Wincompatible-pointer-types] 6 | y(&w); | ^~ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c:3:10: note: passing argument to parameter 'z' here 3 | y(void **z) { // no-crash | ^ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c:7:3: warning: expression result unused [-Wunused-value] 7 | *w; | ^~ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c:8:1: warning: non-void function does not return a value [-Wreturn-type] 8 | } | ^ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c:11:8: warning: non-void function does not return a value [-Wreturn-type] 11 | b(*c) {} | ^ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c:16:1: warning: non-void function does not return a value [-Wreturn-type] 16 | } | ^ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c:27:1: warning: non-void function does not return a value [-Wreturn-type] 27 | } | ^ PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c89 -Wno-int-conversion -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c 1. parser at end of file 2. While analyzing stack: #0 Calling j 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c:24:7: Error evaluating branch #0 0x0000ffffb659ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb6599180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb659b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbf5577e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbe850e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbe850e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbe850e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbe850e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbe850e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbe850e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbe850e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbe850e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbe4fe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbe4fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbe4fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbe4fe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbe4feef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbe4feef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbe4feef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbe4feef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbe511aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbe511aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbe511aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbe512ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbe512ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbe512ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbe5124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbe5124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbe5124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbe51eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbe51eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbe51eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbe528484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbe528484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbe528484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbe512438 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbe512438 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbe512438 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:91:37 #38 0x0000ffffbe51eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #39 0x0000ffffbe51eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #40 0x0000ffffbe51eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #41 0x0000ffffbe528484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x0000ffffbe528484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x0000ffffbe528484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #44 0x0000ffffbe48c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #45 0x0000ffffbe48c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x0000ffffbe48c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #47 0x0000ffffbe48c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #48 0x0000ffffbe97b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #49 0x0000ffffbe97b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #50 0x0000ffffbe97b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #51 0x0000ffffbe4a2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #52 0x0000ffffbe4a2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #53 0x0000ffffbe4a2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #54 0x0000ffffbe4a2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #55 0x0000ffffbe4a2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #56 0x0000ffffbe4a2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #57 0x0000ffffbe4a2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #58 0x0000ffffbe4a2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #59 0x0000ffffbe4a2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #60 0x0000ffffbe4a2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #61 0x0000ffffbe4a3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #62 0x0000ffffbe4bab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffbe4bab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffbe4bab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffbe4bab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffbe4bab14 clang::ento::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 0x0000ffffbe7852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffbe7852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffbe7852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffbe7852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffbe7852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffbe786278 llvm::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 0x0000ffffbe786278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffbe786278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffbe78a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffbe78a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffbe78a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffbe78a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffbe78a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffbcbe1b88 __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 0x0000ffffbcbe1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffbcbe1b88 void clang::finalize>, 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 0x0000ffffbcbe1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffbe2a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffbe25d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffbe25d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffbe25d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffbe2e36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaabb9b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaabb9b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaabb9baac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaabb9b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffb57e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffb57e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaabb9b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/novoidtypecrash.c.script: line 1: 37702 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c89 -Wno-int-conversion -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/nullability-no-arc.mm (975 of 19719) ******************** TEST 'Clang :: Analysis/nullability-no-arc.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,nullability -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-no-arc.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,nullability -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-no-arc.mm 1. parser at end of file #0 0x0000ffff84fcad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff84fc9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff84fcb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8df867e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8d280e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8d280e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8d280e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8d280e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8d280e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8d280e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8d280e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8d280e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8cf2e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8cf2e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8cf2e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8cf2e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8cf2eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8cf2eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8cf2eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8cf2eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8cf41aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8cf41aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8cf41aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8cf42ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8cf42ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8cf42ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8cf424c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8cf424c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8cf424c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8cf4eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8cf4eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8cf4eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8cf58484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8cf58484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8cf58484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8cebc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8cebc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8cebc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8cebc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8cebcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8cebcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8cebcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8ce90400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8ce90400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8ce90400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8ceccea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8ceccea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8ceccea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff8ceeae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8ceeae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8ceeae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8d1b52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8d1b52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8d1b52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8d1b52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8d1b52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff8d1b6278 llvm::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 0x0000ffff8d1b6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff8d1b6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8d1ba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8d1ba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8d1ba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8d1ba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8d1ba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff8b611b88 __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 0x0000ffff8b611b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff8b611b88 void clang::finalize>, 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 0x0000ffff8b611b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff8ccd5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8cc8d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8cc8d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8cc8d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8cd136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac31259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac31294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac312aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac3121fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8421098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff84210a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac31220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability-no-arc.mm.script: line 1: 37723 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,nullability -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-no-arc.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/null-deref-static.m (976 of 19719) ******************** TEST 'Clang :: Analysis/null-deref-static.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -w -fblocks -analyze -analyzer-checker=core,deadcode,alpha.core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-static.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -w -fblocks -analyze -analyzer-checker=core,deadcode,alpha.core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-static.m 1. parser at end of file 2. While analyzing stack: #0 Calling test_static_control_flow 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-static.m:26:7: Error evaluating branch #0 0x0000ffffb59dad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb59d9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb59db408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbe9937e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbdc90e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbdc90e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbdc90e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbdc90e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbdc90e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbdc90e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbdc90e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbdc90e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbd93e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbd93e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbd93e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbd93e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbd93eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbd93eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbd93eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbd93eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbd952c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbd952c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbd952c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffbd952f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbd952f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbd952f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffbd9524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbd9524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbd9524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbd95eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbd95eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbd95eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbd968484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbd968484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbd968484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbd8cc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbd8cc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbd8cc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbd8cc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbddbb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbddbb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbddbb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbd8e2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffbd8e2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffbd8e2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffbd8e2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffbd8e2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffbd8e2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffbd8e2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffbd8e2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffbd8e2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffbd8e2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffbd8e3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffbd8fab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffbd8fab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffbd8fab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffbd8fab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffbd8fab14 clang::ento::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 0x0000ffffbdbc52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffbdbc52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffbdbc52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffbdbc52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffbdbc52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffbdbc6278 llvm::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 0x0000ffffbdbc6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffbdbc6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffbdbca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffbdbca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffbdbca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffbdbca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffbdbca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffbc021b88 __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 0x0000ffffbc021b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffbc021b88 void clang::finalize>, 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 0x0000ffffbc021b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffbd6e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffbd69d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffbd69d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffbd69d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffbd7236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaacbaa59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaacbaa94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaacbaaaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaacbaa1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb4c2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb4c20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaacbaa20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-static.m.script: line 1: 37718 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -w -fblocks -analyze -analyzer-checker=core,deadcode,alpha.core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-static.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/null-deref-ps.c (977 of 19719) ******************** TEST 'Clang :: Analysis/null-deref-ps.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -Wno-int-conversion -Wno-strict-prototypes -Wno-tautological-constant-compare -Wtautological-unsigned-zero-compare -analyzer-checker=core,deadcode,alpha.core -std=gnu99 -analyzer-purge=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps.c -Wno-error=return-type : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -Wno-int-conversion -Wno-strict-prototypes -Wno-tautological-constant-compare -Wtautological-unsigned-zero-compare -analyzer-checker=core,deadcode,alpha.core -std=gnu99 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps.c -Wno-error=return-type -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -Wno-int-conversion -Wno-strict-prototypes -Wno-tautological-constant-compare -Wtautological-unsigned-zero-compare -analyzer-checker=core,deadcode,alpha.core -std=gnu99 -analyzer-purge=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps.c -Wno-error=return-type 1. parser at end of file 2. While analyzing stack: #0 Calling test_address_space_condition 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps.c:321:8: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps.c:321:8: Error evaluating statement #0 0x0000ffff7cfaad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7cfa9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7cfab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff85f6b7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff85260e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff85260e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff85260e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff85260e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff85260e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff85260e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff85260e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff85260e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff84f0e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff84f0e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff84f0e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff84f0e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff84f0eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff84f0eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff84f0eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff84f0eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff84f21aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff84f21aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff84f21aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff84f22ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff84f22ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff84f22ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff84f224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff84f224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff84f224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff84f2eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff84f2eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff84f2eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff84f38484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff84f38484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff84f38484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff84e9c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff84e9c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff84e9c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff84e9c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8538b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8538b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8538b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff84eafd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff84eafd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff84eafd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff84eca05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff84eca05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff84eca05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff84eca05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff84eca05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff84eca2b8 clang::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 0x0000ffff84eca5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff84eca7cc clang::ento::CoreEngine::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 0x0000ffff84ecab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff84ecab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff84ecab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff84ecab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff84ecab14 clang::ento::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 0x0000ffff851952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff851952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff851952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff851952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff851952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff85196278 llvm::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 0x0000ffff85196278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff85196278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8519a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8519a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8519a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8519a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8519a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff835f1b88 __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 0x0000ffff835f1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff835f1b88 void clang::finalize>, 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 0x0000ffff835f1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff84cb5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff84c6d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff84c6d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff84c6d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff84cf36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabf3059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabf3094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabf30aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabf301fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7c1f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7c1f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabf3020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-ps.c.script: line 2: 37717 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -Wno-int-conversion -Wno-strict-prototypes -Wno-tautological-constant-compare -Wtautological-unsigned-zero-compare -analyzer-checker=core,deadcode,alpha.core -std=gnu99 -analyzer-purge=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps.c -Wno-error=return-type -- ******************** Testing: 0 FAIL: Clang :: Analysis/nullability-notes.m (978 of 19719) ******************** TEST 'Clang :: Analysis/nullability-notes.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -analyzer-checker=debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-notes.m : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability-notes.m.tmp.plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-notes.m : 'RUN: at line 16'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file #0 0x0000ffff9ec3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9ec39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9ec3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa7bf77e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa6ef0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa6ef0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa6ef0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa6ef0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa6ef0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa6ef0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa6ef0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa6ef0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa6b9e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa6b9e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa6b9e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa6b9e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa6b9eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa6b9eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa6b9eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa6b9eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa6bb1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa6bb1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa6bb1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa6bb2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa6bb2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa6bb2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa6bb24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa6bb24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa6bb24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa6bbeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa6bbeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa6bbeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa6bc8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa6bc8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa6bc8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa6b2c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa6b2c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa6b2c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa6b2c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa6b2cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa6b2cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa6b2cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa6b00400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa6b00400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa6b00400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa6b3cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa6b3cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa6b3cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa6b5ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa6b5ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa6b5ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa6e252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa6e252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa6e252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa6e252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa6e252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa6e26278 llvm::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 0x0000ffffa6e26278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa6e26278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa6e2a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa6e2a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa6e2a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa6e2a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa6e2a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa5281b88 __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 0x0000ffffa5281b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa5281b88 void clang::finalize>, 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 0x0000ffffa5281b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa6945600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa68fd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa68fd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa68fd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa69836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac07759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac07794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac077aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac0771fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9de8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff9de80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac07720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability-notes.m.script: line 3: 37725 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -analyzer-checker=debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-notes.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/null-deref-path-notes.m (979 of 19719) ******************** TEST 'Clang :: Analysis/null-deref-path-notes.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-path-notes.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=plist-multi-file -fblocks -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-path-notes.m -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-path-notes.m.tmp : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling testWithArrayPtr 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-path-notes.m:67:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-path-notes.m:67:3: Error evaluating statement #0 0x0000ffff7cdbad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7cdb9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7cdbb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff85d737e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff85070e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff85070e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff85070e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff85070e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff85070e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff85070e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff85070e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff85070e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff84d1e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff84d1e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff84d1e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff84d1e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff84d1eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff84d1eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff84d1eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff84d1eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff84d31aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff84d31aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff84d31aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff84d32ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff84d32ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff84d32ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff84d324c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff84d324c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff84d324c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff84d3eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff84d3eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff84d3eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff84d48484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff84d48484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff84d48484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff84cac9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff84cac9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff84cac9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff84cac9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8519b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8519b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8519b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff84dcc500 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff84dcc500 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff84dcc500 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff84dcc500 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff84c96c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff84cbf570 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff84cbf570 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff84cc4b68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffff84cc4b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff84cc4b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff84cc4b68 clang::ento::ExprEngine::evalStore(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ento::SVal, clang::ProgramPointTag const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3628:15 #53 0x0000ffff84ccdb34 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff84ccdb34 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff84ccdb34 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:74:0 #56 0x0000ffff84cd9f88 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #57 0x0000ffff84cda2b8 clang::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 0x0000ffff84cda5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff84cda7cc clang::ento::CoreEngine::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 0x0000ffff84cdab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffff84cdab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffff84cdab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #63 0x0000ffff84cdab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #64 0x0000ffff84cdab14 clang::ento::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 0x0000ffff84fa52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #66 0x0000ffff84fa52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #67 0x0000ffff84fa52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #68 0x0000ffff84fa52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #69 0x0000ffff84fa52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #70 0x0000ffff84fa6278 llvm::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 0x0000ffff84fa6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x0000ffff84fa6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #73 0x0000ffff84faa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x0000ffff84faa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x0000ffff84faa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x0000ffff84faa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x0000ffff84faa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x0000ffff83401b88 __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 0x0000ffff83401b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x0000ffff83401b88 void clang::finalize>, 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 0x0000ffff83401b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x0000ffff84ac5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #83 0x0000ffff84a7d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #84 0x0000ffff84a7d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #85 0x0000ffff84a7d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #86 0x0000ffff84b036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #87 0x0000aaaac79359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x0000aaaac79394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x0000aaaac793aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x0000aaaac7931fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x0000ffff7c00098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #92 0x0000ffff7c000a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #93 0x0000aaaac79320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-path-notes.m.script: line 3: 37714 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-path-notes.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/nullability.mm (980 of 19719) ******************** TEST 'Clang :: Analysis/nullability.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability.mm -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -DNOSYSTEMHEADERS=0 : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability.mm -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -DNOSYSTEMHEADERS=1 -analyzer-config nullability:NoDiagnoseCallsToSystemHeaders=true : 'RUN: at line 18'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability.mm -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -DNOSYSTEMHEADERS=0 -fobjc-arc : 'RUN: at line 26'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability.mm -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -DNOSYSTEMHEADERS=1 -fobjc-arc -analyzer-config nullability:NoDiagnoseCallsToSystemHeaders=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability.mm -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -DNOSYSTEMHEADERS=0 1. parser at end of file #0 0x0000ffffa379ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa3799180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa379b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffac7527e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffaba50e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaba50e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaba50e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaba50e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaba50e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaba50e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaba50e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaba50e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffab6fe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffab6fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffab6fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffab6fe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffab6feef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffab6feef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffab6feef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffab6feef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffab711aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffab711aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffab711aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffab712ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffab712ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffab712ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffab7124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffab7124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffab7124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffab71eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffab71eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffab71eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffab728484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffab728484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffab728484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffab68c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffab68c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffab68c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffab68c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffab68cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffab68cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffab68cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffab660400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffab660400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffab660400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffab69cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffab69cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffab69cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffab6bae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffab6bae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffab6bae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffab9852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffab9852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffab9852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffab9852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffab9852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffab986278 llvm::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 0x0000ffffab986278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffab986278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffab98a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffab98a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffab98a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffab98a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffab98a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa9de1b88 __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 0x0000ffffa9de1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa9de1b88 void clang::finalize>, 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 0x0000ffffa9de1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffab4a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffab45d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffab45d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffab45d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffab4e36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaab1fe59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaab1fe94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaab1feaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaab1fe1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa29e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa29e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaab1fe20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability.mm.script: line 4: 37734 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability.mm -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -DNOSYSTEMHEADERS=0 -- ******************** Testing: 0 FAIL: Clang :: Analysis/null-deref-ps-region.c (983 of 19719) ******************** TEST 'Clang :: Analysis/null-deref-ps-region.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps-region.c -std=gnu99 -analyzer-checker=core -analyzer-checker=alpha.core -analyzer-checker=unix -analyzer-checker=alpha.unix -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps-region.c -std=gnu99 -analyzer-checker=core -analyzer-checker=alpha.core -analyzer-checker=unix -analyzer-checker=alpha.unix 1. parser at end of file 2. While analyzing stack: #0 Calling testHeapSymbolSameSize 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps-region.c:76:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps-region.c:76:23: Error evaluating statement #0 0x0000ffff8893ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff88939180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8893b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff918f67e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff90bd76d0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff90bd76d0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff90bd76d0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff90bd76d0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff90bd76d0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff90bd76d0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff90bd76d0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff90bd76d0 (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 0x0000ffff909e5990 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff909e5990 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff909e5990 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 0x0000ffff907f95a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff907f95a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff907f95a8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff907f95a8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff908bebf4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff908bebf4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff908bebf4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff908bebf4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff908c8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff908c8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff908c8484 clang::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 0x0000ffff9082cae8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9082cae8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9082cae8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff9082cae8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff90d1b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff90d1b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff90d1b004 clang::ento::ProgramState::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 0x0000ffff909f1ba0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff909f1ba0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff909f1ba0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff909f1ba0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff909f1ba0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff909f1ba0 (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 0x0000ffff909f1ff0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff909f1ff0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff909f1ff0 (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 0x0000ffff909fe4d0 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff909fe4d0 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 0x0000ffff908167b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff908167b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff908167b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff908167b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff908167b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff90876c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff90876c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff90876c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff90876c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff90876c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff90876c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff908774f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff90859250 clang::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 0x0000ffff90859250 clang::ento::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 0x0000ffff9085a2b8 clang::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 0x0000ffff9085a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9085a7cc clang::ento::CoreEngine::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 0x0000ffff9085ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff9085ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff9085ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff9085ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff9085ab14 clang::ento::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 0x0000ffff90b252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff90b252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff90b252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff90b252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff90b252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff90b26278 llvm::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 0x0000ffff90b26278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff90b26278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff90b2a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff90b2a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff90b2a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff90b2a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff90b2a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff8ef81b88 __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 0x0000ffff8ef81b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff8ef81b88 void clang::finalize>, 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 0x0000ffff8ef81b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff90645600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff905fd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff905fd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff905fd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff906836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaacc9359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaacc9394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaacc93aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaacc931fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff87b8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff87b80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaacc9320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-ps-region.c.script: line 1: 37710 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps-region.c -std=gnu99 -analyzer-checker=core -analyzer-checker=alpha.core -analyzer-checker=unix -analyzer-checker=alpha.unix -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-arc.m (984 of 19719) ******************** TEST 'Clang :: Analysis/objc-arc.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.RetainCount,deadcode -verify -fblocks -fobjc-arc -analyzer-output=plist-multi-file -analyzer-config deadcode.DeadStores:ShowFixIts=true -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-arc.m.tmp.plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-arc.m : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling check_bridge_to_non_cf 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-arc.m:259:17: Error evaluating statement #0 0x0000ffff92e5ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff92e59180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff92e5b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9be1d7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9ad56124 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9ad56124 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9ad56124 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9ad56124 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9ad56124 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9ad56124 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 0x0000ffff9ad56124 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9ad56124 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffff9b1000f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff9b1000f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff9b1000f8 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffff9b1000f8 (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 0x0000ffff9ad4aae4 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 0x0000ffff9ad652e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffff9ad652e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffff9ad652e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffff9ad652e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffff9ad652e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffff9ad652e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffff9ad652e8 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 0x0000ffff9ad7a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffff9ad7a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffff9ad7a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffff9ad7a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffff9ad7a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffff9ad7a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffff9ad7a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffff9ad7a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffff9ad7a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #33 0x0000ffff9ad7a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9ad7a7cc clang::ento::CoreEngine::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 0x0000ffff9ad7ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff9ad7ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff9ad7ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff9ad7ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff9ad7ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffff9b0452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff9b0452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff9b0452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff9b0452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff9b0452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff9b046278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffff9b046278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff9b046278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff9b04a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff9b04a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff9b04a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff9b04a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff9b04a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff994a1b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffff994a1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff994a1b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffff994a1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff9ab65600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff9ab1d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff9ab1d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff9ab1d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff9aba36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaab1f659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaab1f694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaab1f6aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaab1f61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff920a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff920a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaab1f620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-arc.m.script: line 2: 37761 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.RetainCount,deadcode -verify -fblocks -fobjc-arc -analyzer-output=plist-multi-file -analyzer-config deadcode.DeadStores:ShowFixIts=true -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-arc.m.tmp.plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-arc.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/nullability-arc.mm (985 of 19719) ******************** TEST 'Clang :: Analysis/nullability-arc.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,nullability -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-arc.mm : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,nullability -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-arc.mm -fobjc-arc -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,nullability -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-arc.mm 1. parser at end of file #0 0x0000ffffad4aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffad4a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffad4ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb64607e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb5760e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb5760e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb5760e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb5760e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb5760e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb5760e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb5760e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb5760e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb540e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb540e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb540e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb540e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb540eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb540eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb540eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb540eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb5421aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb5421aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb5421aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb5422ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb5422ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb5422ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb54224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb54224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb54224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb542eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb542eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb542eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb5438484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb5438484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb5438484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb539c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb539c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb539c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb539c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb539cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb539cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb539cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb5370400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb5370400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb5370400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb53acea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb53acea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb53acea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffb53cae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb53cae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb53cae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb56952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb56952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb56952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb56952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb56952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb5696278 llvm::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 0x0000ffffb5696278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb5696278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb569a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb569a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb569a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb569a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb569a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb3af1b88 __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 0x0000ffffb3af1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb3af1b88 void clang::finalize>, 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 0x0000ffffb3af1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb51b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb516d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb516d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb516d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb51f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaabb5159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaabb5194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaabb51aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaabb511fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffac6f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffac6f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaabb5120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability-arc.mm.script: line 2: 37722 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,nullability -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-arc.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/nonnull.m (988 of 19719) ******************** TEST 'Clang :: Analysis/nonnull.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.m 1. parser at end of file 2. While analyzing stack: #0 Calling testVararg 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.m:181:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.m:181:3: Error evaluating statement #0 0x0000ffff9381ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff93819180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9381b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9c7dd7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9bad0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9bad0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9bad0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9bad0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9bad0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9bad0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9bad0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9bad0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9b77e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9b77e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9b77e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9b77e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9b77eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9b77eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9b77eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9b77eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9b791aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9b791aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9b791aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9b792ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9b792ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9b792ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9b7924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9b7924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9b7924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9b79eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9b79eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9b79eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9b7a8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9b7a8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9b7a8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9b70c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9b70c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9b70c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9b70c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9b8ee09c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #40 0x0000ffff9b8ee09c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1324:0 #41 0x0000ffff9b8ee09c checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp:175:0 #42 0x0000ffff9b8ee09c void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::NonNullParamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:0 #43 0x0000ffff9b6f67b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x0000ffff9b6f67b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff9b6f67b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #46 0x0000ffff9b6f67b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #47 0x0000ffff9b6f67b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #48 0x0000ffff9b756b50 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffff9b756b50 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffff9b756b50 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #51 0x0000ffff9b756b50 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #52 0x0000ffff9b756b50 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #53 0x0000ffff9b756b50 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #54 0x0000ffff9b756b50 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:683:44 #55 0x0000ffff9b7574f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff9b739250 clang::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 0x0000ffff9b739250 clang::ento::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 0x0000ffff9b73a2b8 clang::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 0x0000ffff9b73a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9b73a7cc clang::ento::CoreEngine::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 0x0000ffff9b73ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff9b73ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff9b73ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff9b73ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff9b73ab14 clang::ento::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 0x0000ffff9ba052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff9ba052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff9ba052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff9ba052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff9ba052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff9ba06278 llvm::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 0x0000ffff9ba06278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff9ba06278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff9ba0a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff9ba0a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff9ba0a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff9ba0a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff9ba0a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff99e61b88 __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 0x0000ffff99e61b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff99e61b88 void clang::finalize>, 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 0x0000ffff99e61b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff9b525600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff9b4dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff9b4dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff9b4dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff9b5636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaac15359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaac15394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaac153aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaac1531fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff92a6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff92a60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaac15320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nonnull.m.script: line 1: 37694 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/nullptr.cpp (989 of 19719) ******************** TEST 'Clang :: Analysis/nullptr.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -Wno-conversion-null -analyzer-checker=core,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullptr.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -Wno-conversion-null -analyzer-checker=core,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullptr.cpp 1. parser at end of file #0 0x0000ffff852dad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff852d9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff852db408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8e29d7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8d590e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8d590e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8d590e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8d590e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8d590e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8d590e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8d590e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8d590e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8d23e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8d23e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8d23e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8d23e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8d23eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8d23eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8d23eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8d23eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8d251aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8d251aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8d251aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8d252ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8d252ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8d252ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8d2524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8d2524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8d2524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8d25eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8d25eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8d25eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8d268484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8d268484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8d268484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8d1cc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8d1cc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8d1cc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8d1cc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8d1ccec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8d1ccec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8d1ccec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8d1a0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8d1a0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8d1a0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8d1dce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8d1dce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8d1dce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff8d1fae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8d1fae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8d1fae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8d4c52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8d4c52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8d4c52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8d4c52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8d4c52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff8d4c6278 llvm::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 0x0000ffff8d4c6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff8d4c6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8d4ca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8d4ca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8d4ca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8d4ca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8d4ca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff8b921b88 __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 0x0000ffff8b921b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff8b921b88 void clang::finalize>, 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 0x0000ffff8b921b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff8cfe5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8cf9d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8cf9d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8cf9d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8d0236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaabf8559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaabf8594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaabf85aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaabf851fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8452098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff84520a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaabf8520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullptr.cpp.script: line 1: 37745 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -Wno-conversion-null -analyzer-checker=core,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullptr.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-live-crash.mm (998 of 19719) ******************** TEST 'Clang :: Analysis/objc-live-crash.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang --analyze /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-live-crash.mm -fblocks -- Exit Code: 1 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang --analyze /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-live-crash.mm -fblocks 1. parser at end of file 2. While analyzing stack: #0 Calling foo(Collection *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-live-crash.mm:24:8: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-live-crash.mm:24:8: Error evaluating statement #0 0x0000ffff955dad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff955d9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9553c94c (/usr/lib64/libLLVM-17.so+0x92c94c) #3 0x0000ffff9e5967e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9d4e5734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9d4e5734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9d4e5734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9d4e5734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9d4e5734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9d4e5734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9d4e5734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff9d4e5734 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 0x0000ffff9d4ae1fc std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffff9d4ae1fc std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffff9d4ae1fc clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffff9d4ae1fc 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 0x0000ffff9d4af1fc clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffff9d4af1fc 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 0x0000ffff9d570100 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffff9d570100 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffff9d52b2a8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffff9d52b2a8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffff9d52b458 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffff9d52b458 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff9d52b458 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffff9d52dee0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffff9d52dee0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffff9d52dee0 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffff9d52e7fc llvm::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 0x0000ffff9d52e7fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff9d52e7fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff9d52e7fc clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffff9d4b7268 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffff9d4f33d8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffff9d4f33d8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffff9d4f33d8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffff9d4f33d8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffff9d4f33d8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffff9d4f33d8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffff9d4f33d8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffff9d4f920c clang::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 0x0000ffff9d4f920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffff9d4fa2b8 clang::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 0x0000ffff9d4fa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9d4fa7cc clang::ento::CoreEngine::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 0x0000ffff9d4fab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffff9d4fab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffff9d4fab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffff9d4fab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffff9d4fab14 clang::ento::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 0x0000ffff9d7c52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffff9d7c52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff9d7c52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffff9d7c52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffff9d7c52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffff9d7c6278 llvm::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 0x0000ffff9d7c6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffff9d7c6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffff9d7ca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffff9d7ca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffff9d7ca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffff9d7ca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffff9d7ca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffff9bc21b88 __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 0x0000ffff9bc21b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffff9bc21b88 void clang::finalize>, 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 0x0000ffff9bc21b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffff9d2e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffff9d29d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffff9d29d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffff9d29d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffff9d3236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaaea8359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaaea8394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000ffff9d02d8e4 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Job.cpp:440:32 #75 0x0000ffff9d02d8e4 void llvm::function_ref::callback_fn>, std::__cxx11::basic_string, std::allocator>*, bool*) const::'lambda'()>(long) /usr/include/llvm/ADT/STLFunctionalExtras.h:45:52 #76 0x0000ffff9553c6fc llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib64/libLLVM-17.so+0x92c6fc) #77 0x0000ffff9d036168 clang::driver::CC1Command::Execute(llvm::ArrayRef>, std::__cxx11::basic_string, std::allocator>*, bool*) const (.part.0) /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Job.cpp:440:3 #78 0x0000ffff9d0406d8 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Compilation.cpp:199:22 #79 0x0000ffff9d0409a0 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Compilation.cpp:253:5 #80 0x0000ffff9d04b088 llvm::SmallVectorBase::empty() const /usr/include/llvm/ADT/SmallVector.h:94:0 #81 0x0000ffff9d04b088 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Driver.cpp:1906:0 #82 0x0000aaaaea83b3ec clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:542:39 #83 0x0000aaaaea831fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9482098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff94820a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaea8320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) clang: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 17.0.6 (OpenCloudOS 17.0.6-8.ocs23) Target: aarch64-opencloudos-linux-gnu Thread model: posix InstalledDir: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin clang: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /tmp/lit-tmp-vopkm8_5/objc-live-crash-8223ed.mm clang: note: diagnostic msg: /tmp/lit-tmp-vopkm8_5/objc-live-crash-8223ed.sh clang: note: diagnostic msg: ******************** -- ******************** Testing: 0 FAIL: Clang :: Analysis/objcpp-uninitialized-object.mm (1000 of 19719) ******************** TEST 'Clang :: Analysis/objcpp-uninitialized-object.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objcpp-uninitialized-object.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objcpp-uninitialized-object.mm 1. parser at end of file 2. While analyzing stack: #0 Calling StructWithId::StructWithId() at line 31 #1 Calling warnOnUninitializedId() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objcpp-uninitialized-object.mm:27:22: Error evaluating statement #0 0x0000ffffaf6dad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffaf6d9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffaf6db408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb86967e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb75e50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb75e50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb75e50b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb75e50b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb75e50b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb75e50b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb75e50b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb75e50b8 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 0x0000ffffb75fa244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffb75fa244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffb75fa244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffb75fa244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffb75fa244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffb75fa244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffb75fa244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffb75fa244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffb75fa244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffb75fa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb75fa6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffb75fa98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffb75fab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffb75fab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffb75fab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffb75fab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffb75fab14 clang::ento::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 0x0000ffffb78c52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffb78c52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffb78c52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffb78c52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffb78c52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffb78c6278 llvm::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 0x0000ffffb78c6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffb78c6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffb78ca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffb78ca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffb78ca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffb78ca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffb78ca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffb5d21b88 __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 0x0000ffffb5d21b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffb5d21b88 void clang::finalize>, 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 0x0000ffffb5d21b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffb73e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffb739d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffb739d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffb739d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffb74236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaae9af59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaae9af94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaae9afaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaae9af1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffae92098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffae920a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaae9af20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objcpp-uninitialized-object.mm.script: line 1: 37793 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objcpp-uninitialized-object.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/operator-calls.cpp (1001 of 19719) ******************** TEST 'Clang :: Analysis/operator-calls.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,alpha.core,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/operator-calls.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,alpha.core,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/operator-calls.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling SynthesizedAssignment::B::B() at line 152 #1 Calling SynthesizedAssignment::testConsistencyMove() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/operator-calls.cpp:107:10: Error evaluating statement #0 0x0000ffff8bf7ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8bf79180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8bf7b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff94f337e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff93e850b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff93e850b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff93e850b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff93e850b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff93e850b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff93e850b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff93e850b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff93e850b8 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 0x0000ffff93e9a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff93e9a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff93e9a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff93e9a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff93e9a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff93e9a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff93e9a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff93e9a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff93e9a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff93e9a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff93e9a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff93e9a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff93e9ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff93e9ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff93e9ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff93e9ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff93e9ab14 clang::ento::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 0x0000ffff941652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff941652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff941652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff941652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff941652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff94166278 llvm::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 0x0000ffff94166278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff94166278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff9416a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff9416a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff9416a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff9416a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff9416a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff925c1b88 __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 0x0000ffff925c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff925c1b88 void clang::finalize>, 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 0x0000ffff925c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff93c85600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff93c3d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff93c3d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff93c3d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff93cc36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaab4c359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaab4c394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaab4c3aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaab4c31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff8b1c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff8b1c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaab4c320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/operator-calls.cpp.script: line 1: 37804 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,alpha.core,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/operator-calls.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-message.m (1002 of 19719) ******************** TEST 'Clang :: Analysis/objc-message.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-message.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-message.m 1. parser at end of file 2. While analyzing stack: #0 Calling nilReceiverIsStillNilAfterMessage 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-message.m:32:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-message.m:32:7: Error evaluating statement #0 0x0000ffff7eebad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7eeb9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7eebb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff87e757e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff87170e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff87170e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff87170e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff87170e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff87170e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff87170e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff87170e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff87170e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff86e1e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff86e1e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff86e1e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff86e1e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff86e1eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff86e1eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff86e1eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff86e1eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff86e31aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff86e31aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff86e31aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff86e32ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff86e32ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff86e32ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff86e324c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff86e324c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff86e324c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff86e3eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff86e3eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff86e3eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff86e48484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff86e48484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff86e48484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff86dac9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff86dac9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff86dac9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff86dac9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8729b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8729b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8729b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff86dbfd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff86dbfd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff86dbfd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff86dda05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff86dda05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff86dda05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff86dda05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff86dda05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff86dda2b8 clang::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 0x0000ffff86dda5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff86dda7cc clang::ento::CoreEngine::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 0x0000ffff86ddab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff86ddab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff86ddab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff86ddab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff86ddab14 clang::ento::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 0x0000ffff870a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff870a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff870a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff870a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff870a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff870a6278 llvm::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 0x0000ffff870a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff870a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff870aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff870aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff870aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff870aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff870aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff85501b88 __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 0x0000ffff85501b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff85501b88 void clang::finalize>, 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 0x0000ffff85501b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff86bc5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff86b7d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff86b7d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff86b7d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff86c036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaacd7c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaacd7c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaacd7caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaacd7c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7e10098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7e100a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaacd7c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-message.m.script: line 1: 37776 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-message.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-for.m (1003 of 19719) ******************** TEST 'Clang :: Analysis/objc-for.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.Loops,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-for.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.Loops,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-for.m 1. parser at end of file 2. While analyzing stack: #0 Calling not_reachable_on_iteration_through_nil 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-for.m:350:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-for.m:350:3: Error evaluating statement #0 0x0000ffff7d44ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7d449180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7d44b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff864097e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff853f0cc4 llvm::ImutAVLTree, bool>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff853f0cc4 llvm::IntrusiveRefCntPtrInfo, bool>>>::retain(llvm::ImutAVLTree, bool>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff853f0cc4 llvm::IntrusiveRefCntPtr, bool>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff853f0cc4 llvm::IntrusiveRefCntPtr, bool>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree, bool>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff853f0cc4 llvm::ImmutableMap, bool, llvm::ImutKeyValueInfo, bool>>::ImmutableMap(llvm::ImutAVLTree, bool>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff853f0cc4 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 0x0000ffff853f0cc4 get<(anonymous namespace)::ObjCForHasMoreIterations> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff853f0cc4 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 0x0000ffff853f0cc4 checkPostStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp:990:0 #13 0x0000ffff853f0cc4 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 0x0000ffff85325308 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #15 0x0000ffff85325308 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #16 0x0000ffff8539be60 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 0x0000ffff85369b18 clang::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 0x0000ffff85369b18 clang::ento::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 0x0000ffff8536a2b8 clang::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 0x0000ffff8536a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8536a7cc clang::ento::CoreEngine::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 0x0000ffff8536ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffff8536ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffff8536ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffff8536ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffff8536ab14 clang::ento::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 0x0000ffff856352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffff856352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffff856352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffff856352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffff856352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffff85636278 llvm::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 0x0000ffff85636278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffff85636278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffff8563a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff8563a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff8563a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffff8563a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffff8563a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffff83a91b88 __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 0x0000ffff83a91b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffff83a91b88 void clang::finalize>, 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 0x0000ffff83a91b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffff85155600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffff8510d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffff8510d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffff8510d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffff851936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaaaf3159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaaaf3194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaaaf31aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaaaf311fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffff7c69098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffff7c690a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaaaf3120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-for.m.script: line 1: 37770 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.Loops,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-for.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-indirect-copy-restore.m (1004 of 19719) ******************** TEST 'Clang :: Analysis/objc-indirect-copy-restore.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-indirect-copy-restore.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-indirect-copy-restore.m 1. parser at end of file 2. While analyzing stack: #0 Calling +[SomeClass doSomethingWithError:] at line 57 #1 Calling testAutoreleasingOutParam 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-indirect-copy-restore.m:35:22: Error evaluating statement #0 0x0000ffffaffdad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffaffd9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffaffdb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb8f917e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb7ed6124 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb7ed6124 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb7ed6124 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb7ed6124 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb7ed6124 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb7ed6124 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 0x0000ffffb7ed6124 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb7ed6124 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffffb82800f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffb82800f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffb82800f8 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffffb82800f8 (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 0x0000ffffb7ecaae4 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 0x0000ffffb7ee52e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffffb7ee52e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffffb7ee52e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffffb7ee52e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffffb7ee52e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffffb7ee52e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffffb7ee52e8 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 0x0000ffffb7efa244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffffb7efa244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffffb7efa244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffffb7efa244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffffb7efa244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffffb7efa244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffffb7efa244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffffb7efa244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffffb7efa244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #33 0x0000ffffb7efa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb7efa7cc clang::ento::CoreEngine::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 0x0000ffffb7efab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffb7efab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffb7efab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffb7efab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffb7efab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffffb81c52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffb81c52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffb81c52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffb81c52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffb81c52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffb81c6278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffffb81c6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffb81c6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffb81ca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffb81ca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffb81ca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffb81ca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffb81ca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffb6621b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffffb6621b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffb6621b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffffb6621b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffb7ce5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffb7c9d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffb7c9d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffb7c9d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffb7d236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaade1159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaade1194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaade11aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaade111fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffffaf22098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffffaf220a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaade1120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-indirect-copy-restore.m.script: line 1: 37772 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-indirect-copy-restore.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/out-of-bounds-new.cpp (1005 of 19719) ******************** TEST 'Clang :: Analysis/out-of-bounds-new.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -Wno-array-bounds -analyzer-checker=unix,core,alpha.security.ArrayBoundV2 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds-new.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -Wno-array-bounds -analyzer-checker=unix,core,alpha.security.ArrayBoundV2 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds-new.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_dynamic_size2(unsigned int, unsigned int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds-new.cpp:155:7: Error evaluating New Allocator Call #0 0x0000ffff96a7ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff96a79180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff96a7b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9fa3e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9ed30e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9ed30e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9ed30e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9ed30e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9ed30e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9ed30e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9ed30e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9ed30e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9e9de018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9e9de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9e9de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9e9de018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9e9deef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9e9deef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9e9deef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9e9deef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9e9f1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9e9f1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9e9f1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9e9f2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9e9f2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9e9f2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9e9f24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9e9f24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9e9f24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9e9feb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9e9feb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9e9feb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9ea08484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9ea08484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9ea08484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9e96c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9e96c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9e96c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9e96c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9e96cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9e96cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9e96cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9e996f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff9e996f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff9e996f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff9e996f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff9e996f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff9e99735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff9e99735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff9e99735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff9e99735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff9e99735c 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 0x0000ffff9e99a5dc clang::ento::ExprEngine::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 0x0000ffff9e99a7cc clang::ento::CoreEngine::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 0x0000ffff9e99ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff9e99ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff9e99ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff9e99ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff9e99ab14 clang::ento::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 0x0000ffff9ec652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff9ec652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff9ec652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff9ec652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff9ec652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff9ec66278 llvm::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 0x0000ffff9ec66278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff9ec66278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff9ec6a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff9ec6a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff9ec6a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff9ec6a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff9ec6a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff9d0c1b88 __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 0x0000ffff9d0c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff9d0c1b88 void clang::finalize>, 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 0x0000ffff9d0c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff9e785600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff9e73d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff9e73d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff9e73d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff9e7c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaab78359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaab78394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaab783aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaab7831fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff95cc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff95cc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaab78320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/out-of-bounds-new.cpp.script: line 1: 37817 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -Wno-array-bounds -analyzer-checker=unix,core,alpha.security.ArrayBoundV2 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds-new.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-radar17039661.m (1006 of 19719) ******************** TEST 'Clang :: Analysis/objc-radar17039661.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-radar17039661.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -fblocks -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-radar17039661.m -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-radar17039661.m.tmp : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling anonymous code at line 24 Invoking block defined at line 30 #1 Calling reallyPerformAction at line 30 #2 Calling performAction at line 50 #3 Calling runTest 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-radar17039661.m:32:9: Error evaluating branch #0 0x0000ffff8d35ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8d359180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8d35b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff963177e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff95610e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff95610e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff95610e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff95610e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff95610e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff95610e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff95610e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff95610e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff952be018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff952be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff952be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff952be018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff952beef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff952beef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff952beef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff952beef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff952d2c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff952d2c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff952d2c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff952d2f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff952d2f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff952d2f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff952d24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff952d24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff952d24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff952deb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff952deb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff952deb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff952e8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff952e8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff952e8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9524c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9524c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9524c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9524c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9573b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9573b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9573b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff95262bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff95262bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff95262bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff95262bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff95262bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff95262bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff95262bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff95262bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff95262bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff95262bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff95263130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff9527ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9527ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9527ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9527ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9527ab14 clang::ento::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 0x0000ffff955452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff955452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff955452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff955452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff955452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff95546278 llvm::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 0x0000ffff95546278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff95546278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9554a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9554a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9554a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9554a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9554a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff939a1b88 __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 0x0000ffff939a1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff939a1b88 void clang::finalize>, 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 0x0000ffff939a1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff95065600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9501d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9501d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9501d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff950a36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaace9a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaace9a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaace9aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaace9a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8c5a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8c5a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaace9a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-radar17039661.m.script: line 3: 37783 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-radar17039661.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc/direct-ivar-assignment-in-annotated-functions.m (1007 of 19719) ******************** TEST 'Clang :: Analysis/objc/direct-ivar-assignment-in-annotated-functions.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc/direct-ivar-assignment-in-annotated-functions.m -analyzer-checker=core -analyzer-checker=alpha.osx.cocoa.DirectIvarAssignment -analyzer-config alpha.osx.cocoa.DirectIvarAssignment:AnnotatedFunctions=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc/direct-ivar-assignment-in-annotated-functions.m -analyzer-checker=core -analyzer-checker=alpha.osx.cocoa.DirectIvarAssignment -analyzer-config alpha.osx.cocoa.DirectIvarAssignment:AnnotatedFunctions=true 1. parser at end of file #0 0x0000ffff99e9ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff99e99180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff99e9b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa2e507e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa2150e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa2150e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa2150e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa2150e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa2150e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa2150e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa2150e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa2150e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa1dfe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa1dfe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa1dfe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa1dfe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa1dfeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa1dfeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa1dfeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa1dfeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa1e11aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa1e11aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa1e11aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa1e12ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa1e12ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa1e12ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa1e124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa1e124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa1e124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa1e1eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa1e1eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa1e1eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa1e28484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa1e28484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa1e28484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa1d8c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa1d8c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa1d8c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa1d8c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa1d8cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa1d8cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa1d8cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa1d60400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa1d60400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa1d60400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa1d9cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa1d9cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa1d9cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa1dbae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa1dbae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa1dbae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa20852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa20852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa20852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa20852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa20852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa2086278 llvm::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 0x0000ffffa2086278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa2086278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa208a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa208a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa208a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa208a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa208a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa04e1b88 __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 0x0000ffffa04e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa04e1b88 void clang::finalize>, 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 0x0000ffffa04e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa1ba5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa1b5d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa1b5d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa1b5d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa1be36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae2d259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae2d294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae2d2aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae2d21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff990e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff990e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae2d220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/objc/Output/direct-ivar-assignment-in-annotated-functions.m.script: line 1: 37789 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc/direct-ivar-assignment-in-annotated-functions.m -analyzer-checker=core -analyzer-checker=alpha.osx.cocoa.DirectIvarAssignment -analyzer-config alpha.osx.cocoa.DirectIvarAssignment:AnnotatedFunctions=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/osobject-retain-release.cpp (1008 of 19719) ******************** TEST 'Clang :: Analysis/osobject-retain-release.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -fblocks -analyze -analyzer-output=text -analyzer-checker=core,osx,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/osobject-retain-release.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -fblocks -analyze -analyzer-output=text -analyzer-checker=core,osx,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/osobject-retain-release.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling weird_result::testOutParamWithWeirdResult() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/osobject-retain-release.cpp:804:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/osobject-retain-release.cpp:804:10: Error evaluating statement #0 0x0000ffff9748ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff97489180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9748b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa04497e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9f39b9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff9f39b9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9f39b9a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9f39b9a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9f39b9a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9f39b9a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9f39b9a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9f39b9a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff9f39bd94 llvm::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 0x0000ffff9f39bd94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff9f39bd94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff9f39bd94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff9f39bd94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff9f39c52c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffff9f39c52c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffff9f39c52c clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:472:0 #20 0x0000ffff9f3dd82c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffff9f3dd82c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffff9f3dd82c 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 0x0000ffff9f3dd82c clang::ento::ExprEngine::bindReturnValue(clang::ento::CallEvent const&, clang::LocationContext const*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:773:0 #24 0x0000ffff9f3ddcc8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #25 0x0000ffff9f3ddcc8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #26 0x0000ffff9f3ddcc8 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:834:0 #27 0x0000ffff9f3de684 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x0000ffff9f3de684 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x0000ffff9f3de684 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #30 0x0000ffff9f367268 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #31 0x0000ffff9f3c6bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #32 0x0000ffff9f3c6bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #33 0x0000ffff9f3c6bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #34 0x0000ffff9f3c6bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #35 0x0000ffff9f3c74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #36 0x0000ffff9f3a9250 clang::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 0x0000ffff9f3a9250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #38 0x0000ffff9f3aa2b8 clang::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 0x0000ffff9f3aa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9f3aa7cc clang::ento::CoreEngine::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 0x0000ffff9f3aab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x0000ffff9f3aab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x0000ffff9f3aab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #44 0x0000ffff9f3aab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #45 0x0000ffff9f3aab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #46 0x0000ffff9f6752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #47 0x0000ffff9f6752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #48 0x0000ffff9f6752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #49 0x0000ffff9f6752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #50 0x0000ffff9f6752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #51 0x0000ffff9f676278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #52 0x0000ffff9f676278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #53 0x0000ffff9f676278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #54 0x0000ffff9f67a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff9f67a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff9f67a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #57 0x0000ffff9f67a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #58 0x0000ffff9f67a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #59 0x0000ffff9dad1b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #60 0x0000ffff9dad1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #61 0x0000ffff9dad1b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #62 0x0000ffff9dad1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #63 0x0000ffff9f195600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #64 0x0000ffff9f14d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #65 0x0000ffff9f14d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #66 0x0000ffff9f14d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #67 0x0000ffff9f1d36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #68 0x0000aaaac0fe59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #69 0x0000aaaac0fe94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #70 0x0000aaaac0feaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #71 0x0000aaaac0fe1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #72 0x0000ffff966d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #73 0x0000ffff966d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #74 0x0000aaaac0fe20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/osobject-retain-release.cpp.script: line 1: 37809 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -fblocks -analyze -analyzer-output=text -analyzer-checker=core,osx,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/osobject-retain-release.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc_invalidation.m (1009 of 19719) ******************** TEST 'Clang :: Analysis/objc_invalidation.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.osx.cocoa.InstanceVariableInvalidation -DRUN_IVAR_INVALIDATION -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc_invalidation.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.osx.cocoa.MissingInvalidationMethod -DRUN_MISSING_INVALIDATION_METHOD -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc_invalidation.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.osx.cocoa.InstanceVariableInvalidation -DRUN_IVAR_INVALIDATION -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc_invalidation.m 1. parser at end of file #0 0x0000ffff8bdfad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8bdf9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8bdfb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff94db87e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff940b0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff940b0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff940b0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff940b0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff940b0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff940b0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff940b0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff940b0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff93d5e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff93d5e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff93d5e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff93d5e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff93d5eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff93d5eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff93d5eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff93d5eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff93d71aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff93d71aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff93d71aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff93d72ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff93d72ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff93d72ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff93d724c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff93d724c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff93d724c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff93d7eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff93d7eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff93d7eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff93d88484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff93d88484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff93d88484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff93cec9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff93cec9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff93cec9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff93cec9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff93cecec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff93cecec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff93cecec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff93cc0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff93cc0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff93cc0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff93cfcea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff93cfcea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff93cfcea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff93d1ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff93d1ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff93d1ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff93fe52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff93fe52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff93fe52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff93fe52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff93fe52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff93fe6278 llvm::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 0x0000ffff93fe6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff93fe6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff93fea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff93fea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff93fea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff93fea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff93fea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff92441b88 __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 0x0000ffff92441b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff92441b88 void clang::finalize>, 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 0x0000ffff92441b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff93b05600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff93abd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff93abd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff93abd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff93b436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaacf4659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaacf4694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaacf46aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaacf461fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8b04098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff8b040a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaacf4620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc_invalidation.m.script: line 2: 37790 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.osx.cocoa.InstanceVariableInvalidation -DRUN_IVAR_INVALIDATION -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc_invalidation.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-subscript.m (1010 of 19719) ******************** TEST 'Clang :: Analysis/objc-subscript.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-subscript.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-subscript.m 1. parser at end of file #0 0x0000ffff87fbad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff87fb9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff87fbb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff90f747e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff90270e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff90270e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff90270e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff90270e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff90270e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff90270e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff90270e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff90270e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8ff1e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8ff1e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8ff1e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8ff1e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8ff1eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8ff1eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8ff1eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8ff1eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8ff31aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8ff31aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8ff31aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8ff32ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8ff32ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8ff32ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8ff324c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8ff324c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8ff324c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8ff3eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8ff3eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8ff3eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8ff48484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8ff48484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8ff48484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8feac9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8feac9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8feac9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8feac9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8feacec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8feacec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8feacec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8fe80400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8fe80400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8fe80400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8febcea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8febcea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8febcea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff8fedae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8fedae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8fedae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff901a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff901a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff901a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff901a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff901a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff901a6278 llvm::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 0x0000ffff901a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff901a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff901aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff901aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff901aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff901aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff901aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff8e601b88 __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 0x0000ffff8e601b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff8e601b88 void clang::finalize>, 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 0x0000ffff8e601b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff8fcc5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8fc7d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8fc7d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8fc7d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8fd036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaacb3c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaacb3c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaacb3caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaacb3c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8720098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff87200a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaacb3c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-subscript.m.script: line 1: 37782 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-subscript.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/outofbound.c (1011 of 19719) ******************** TEST 'Clang :: Analysis/outofbound.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-array-bounds -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/outofbound.c -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=alpha.security.ArrayBound -analyzer-config unix.DynamicMemoryModeling:Optimistic=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-array-bounds -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/outofbound.c -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=alpha.security.ArrayBound -analyzer-config unix.DynamicMemoryModeling:Optimistic=true 1. parser at end of file 2. While analyzing stack: #0 Calling symbolic_index2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/outofbound.c:91:10: Error evaluating statement #0 0x0000ffff7e25ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7e259180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7e25b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8721e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff861ba104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff861ba104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff861ba104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff861ba104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff861ba104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff861ba104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff861653bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff861653bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff861653bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8617a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff8617a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff8617a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff8617a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff8617a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff8617a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff8617a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff8617a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff8617a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff8617a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8617a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff8617a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff8617ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff8617ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff8617ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff8617ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff8617ab14 clang::ento::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 0x0000ffff864452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff864452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff864452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff864452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff864452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff86446278 llvm::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 0x0000ffff86446278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff86446278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff8644a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff8644a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff8644a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff8644a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff8644a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff848a1b88 __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 0x0000ffff848a1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff848a1b88 void clang::finalize>, 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 0x0000ffff848a1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff85f65600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff85f1d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff85f1d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff85f1d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff85fa36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaaae0359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaaae0394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaaae03aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaaae031fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff7d4a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff7d4a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaaae0320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/outofbound.c.script: line 1: 37824 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-array-bounds -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/outofbound.c -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=alpha.security.ArrayBound -analyzer-config unix.DynamicMemoryModeling:Optimistic=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-boxing.m (1012 of 19719) ******************** TEST 'Clang :: Analysis/objc-boxing.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-literal-conversion -analyzer-checker=core,unix.Malloc,osx.cocoa.NonNilReturnValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-boxing.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-literal-conversion -analyzer-checker=core,unix.Malloc,osx.cocoa.NonNilReturnValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-boxing.m 1. parser at end of file 2. While analyzing stack: #0 Calling checkNonNil 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-boxing.m:84:25: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-boxing.m:84:25: Error evaluating statement #0 0x0000ffffad38ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffad389180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffad38b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb63437e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb5640e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb5640e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb5640e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb5640e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb5640e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb5640e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb5640e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb5640e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb52ee018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb52ee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb52ee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb52ee018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb52eeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb52eeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb52eeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb52eeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb5301aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb5301aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb5301aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb5302ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb5302ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb5302ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb53024c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb53024c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb53024c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb530eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb530eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb530eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb5318484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb5318484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb5318484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb527c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb527c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb527c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb527c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb527cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb527cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb527cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb5728414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb5728414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb5728414 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb5728414 (anonymous namespace)::ObjCNonNilReturnValueChecker::assumeExprIsNonNull(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&) const (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp:1184:0 #46 0x0000ffffb532ae2c llvm::IntrusiveRefCntPtr::operator bool() const /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:201:0 #47 0x0000ffffb532ae2c clang::ento::CheckerContext::addTransition(llvm::IntrusiveRefCntPtr, clang::ProgramPointTag const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:171:0 #48 0x0000ffffb532ae2c assumeExprIsNonNull /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp:1160:0 #49 0x0000ffffb532ae2c checkPostStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp:1170:0 #50 0x0000ffffb532ae2c void clang::ento::check::PostStmt::_checkStmt<(anonymous namespace)::ObjCNonNilReturnValueChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:104:0 #51 0x0000ffffb5265308 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #52 0x0000ffffb5265308 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #53 0x0000ffffb52a9e7c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #54 0x0000ffffb52a9e7c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2034:0 #55 0x0000ffffb52aa2b8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #56 0x0000ffffb52aa5a0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #57 0x0000ffffb52aa7cc clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #58 0x0000ffffb52aab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffffb52aab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffffb52aab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #61 0x0000ffffb52aab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #62 0x0000ffffb52aab14 clang::ento::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 0x0000ffffb55752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #64 0x0000ffffb55752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #65 0x0000ffffb55752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #66 0x0000ffffb55752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #67 0x0000ffffb55752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #68 0x0000ffffb5576278 llvm::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 0x0000ffffb5576278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #70 0x0000ffffb5576278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #71 0x0000ffffb557a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffffb557a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffffb557a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #74 0x0000ffffb557a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #75 0x0000ffffb557a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #76 0x0000ffffb39d1b88 __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 0x0000ffffb39d1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #78 0x0000ffffb39d1b88 void clang::finalize>, 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 0x0000ffffb39d1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #80 0x0000ffffb5095600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #81 0x0000ffffb504d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #82 0x0000ffffb504d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #83 0x0000ffffb504d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #84 0x0000ffffb50d36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #85 0x0000aaaadaa159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #86 0x0000aaaadaa194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #87 0x0000aaaadaa1aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #88 0x0000aaaadaa11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #89 0x0000ffffac5d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #90 0x0000ffffac5d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #91 0x0000aaaadaa120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-boxing.m.script: line 1: 37766 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-literal-conversion -analyzer-checker=core,unix.Malloc,osx.cocoa.NonNilReturnValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-boxing.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/out-of-bounds.c (1014 of 19719) ******************** TEST 'Clang :: Analysis/out-of-bounds.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-array-bounds -analyzer-checker=core,alpha.security.ArrayBoundV2,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-array-bounds -analyzer-checker=core,alpha.security.ArrayBoundV2,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_assume_after_access2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds.c:173:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds.c:173:3: Error evaluating statement #0 0x0000ffff8490ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff84909180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8490b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8d8ce7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8c847cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff8c847cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8c847cb0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8c847cb0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8c847cb0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8c847cb0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8c847cb0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff8c847cb0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff8c847cb0 (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 0x0000ffff8c847d8c (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffff8c88ef58 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::VisitSymbolData(clang::ento::SymbolData const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1259:54 #15 0x0000ffff8cca82f4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #16 0x0000ffff8cca82f4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #17 0x0000ffff8cca82f4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #18 0x0000ffff8c8827b4 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #19 0x0000ffff8c8827b4 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #20 0x0000ffff8c899748 (anonymous namespace)::SimpleSValBuilder::evalBinOpNN(llvm::IntrusiveRefCntPtr, clang::BinaryOperatorKind, clang::ento::NonLoc, clang::ento::NonLoc, clang::QualType) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:416:0 #21 0x0000ffff8c896d50 compareValueToThreshold(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, clang::ento::NonLoc, clang::ento::SValBuilder&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp:135:0 #22 0x0000ffff8cbbe850 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #23 0x0000ffff8cbbe850 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffff8cbbe850 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff8cbbe850 (anonymous namespace)::ArrayBoundCheckerV2::checkLocation(clang::ento::SVal, bool, clang::Stmt const*, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp:201:0 #26 0x0000ffff8c7e6c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffff8c80f570 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #28 0x0000ffff8c80f570 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #29 0x0000ffff8c814b68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #30 0x0000ffff8c814b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #31 0x0000ffff8c814b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8c814b68 clang::ento::ExprEngine::evalStore(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ento::SVal, clang::ProgramPointTag const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3628:15 #33 0x0000ffff8c81db34 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x0000ffff8c81db34 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x0000ffff8c81db34 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:74:0 #36 0x0000ffff8c829f88 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #37 0x0000ffff8c82a2b8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #38 0x0000ffff8c82a5a0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #39 0x0000ffff8c82a7cc clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #40 0x0000ffff8c82ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #41 0x0000ffff8c82ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #42 0x0000ffff8c82ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #43 0x0000ffff8c82ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #44 0x0000ffff8c82ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #45 0x0000ffff8caf52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #46 0x0000ffff8caf52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x0000ffff8caf52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #48 0x0000ffff8caf52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #49 0x0000ffff8caf52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #50 0x0000ffff8caf6278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #51 0x0000ffff8caf6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #52 0x0000ffff8caf6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #53 0x0000ffff8cafa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8cafa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8cafa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #56 0x0000ffff8cafa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #57 0x0000ffff8cafa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #58 0x0000ffff8af51b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #59 0x0000ffff8af51b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #60 0x0000ffff8af51b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #61 0x0000ffff8af51b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #62 0x0000ffff8c615600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #63 0x0000ffff8c5cd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #64 0x0000ffff8c5cd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #65 0x0000ffff8c5cd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #66 0x0000ffff8c6536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #67 0x0000aaaaded159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #68 0x0000aaaaded194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #69 0x0000aaaaded1aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #70 0x0000aaaaded11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #71 0x0000ffff83b5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #72 0x0000ffff83b50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #73 0x0000aaaaded120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/out-of-bounds.c.script: line 1: 37816 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-array-bounds -analyzer-checker=core,alpha.security.ArrayBoundV2,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/print-ranges.cpp (1018 of 19719) ******************** TEST 'Clang :: Analysis/print-ranges.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/print-ranges.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/print-ranges.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test6(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/print-ranges.cpp:44:7: Error evaluating branch #0 0x0000ffff81baad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff81ba9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff81bab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8ab607e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff89e60e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff89e60e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff89e60e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff89e60e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff89e60e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff89e60e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff89e60e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff89e60e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff89b0e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff89b0e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff89b0e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff89b0e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff89b0eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff89b0eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff89b0eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff89b0eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff89b21aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff89b21aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff89b21aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff89b22ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff89b22ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff89b22ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff89b224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff89b224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff89b224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff89b2eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff89b2eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff89b2eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff89b38484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff89b38484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff89b38484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff89a9c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff89a9c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff89a9c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff89a9c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff89f8b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff89f8b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff89f8b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff89ab2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff89ab2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff89ab2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff89ab2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff89ab2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff89ab2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff89ab2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff89ab2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff89ab2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff89ab2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff89ab3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff89acab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff89acab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff89acab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff89acab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff89acab14 clang::ento::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 0x0000ffff89d952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff89d952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff89d952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff89d952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff89d952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff89d96278 llvm::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 0x0000ffff89d96278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff89d96278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff89d9a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff89d9a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff89d9a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff89d9a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff89d9a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff881f1b88 __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 0x0000ffff881f1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff881f1b88 void clang::finalize>, 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 0x0000ffff881f1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff898b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8986d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8986d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8986d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff898f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad3ea59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad3ea94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad3eaaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad3ea1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff80df098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff80df0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad3ea20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/print-ranges.cpp.script: line 1: 37915 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/print-ranges.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/pointer-to-member.cpp (1019 of 19719) ******************** TEST 'Clang :: Analysis/pointer-to-member.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pointer-to-member.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pointer-to-member.cpp 1. parser at end of file #0 0x0000ffff9dabad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9dab9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9dabb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa6a737e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa59c9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa59c9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa59c9f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa59c9f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa59c9f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa59c9f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa59c9f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa59c9f54 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 0x0000ffffa59ca878 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 0x0000ffffa59da954 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 0x0000ffffa59dab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffa59dab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffa59dab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffa59dab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffa59dab14 clang::ento::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 0x0000ffffa5ca52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffa5ca52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffa5ca52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffa5ca52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffa5ca52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffa5ca6278 llvm::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 0x0000ffffa5ca6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffa5ca6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffa5caa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffa5caa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffa5caa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffa5caa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffa5caa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffa4101b88 __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 0x0000ffffa4101b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffa4101b88 void clang::finalize>, 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 0x0000ffffa4101b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffa57c5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffa577d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffa577d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffa577d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffa58036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaacf2159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaacf2194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaacf21aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaacf211fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff9cd0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff9cd00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaacf2120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pointer-to-member.cpp.script: line 1: 37887 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pointer-to-member.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/path-notes-impl-param.m (1020 of 19719) ******************** TEST 'Clang :: Analysis/path-notes-impl-param.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/path-notes-impl-param.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/path-notes-impl-param.m 1. parser at end of file 2. While analyzing stack: #0 Calling baz 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/path-notes-impl-param.m:23:3: Error evaluating statement #0 0x0000ffff8385ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff83859180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8385b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8c8157e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8b756124 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8b756124 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8b756124 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8b756124 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8b756124 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8b756124 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 0x0000ffff8b756124 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8b756124 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffff8bb000f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff8bb000f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff8bb000f8 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffff8bb000f8 (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 0x0000ffff8b74aae4 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 0x0000ffff8b7652e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffff8b7652e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffff8b7652e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffff8b7652e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffff8b7652e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffff8b7652e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffff8b7652e8 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 0x0000ffff8b77a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffff8b77a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffff8b77a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffff8b77a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffff8b77a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffff8b77a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffff8b77a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffff8b77a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffff8b77a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #33 0x0000ffff8b77a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8b77a7cc clang::ento::CoreEngine::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 0x0000ffff8b77ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff8b77ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff8b77ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff8b77ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff8b77ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffff8ba452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff8ba452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff8ba452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff8ba452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff8ba452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff8ba46278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffff8ba46278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff8ba46278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff8ba4a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff8ba4a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff8ba4a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff8ba4a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff8ba4a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff89ea1b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffff89ea1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff89ea1b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffff89ea1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff8b565600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff8b51d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff8b51d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff8b51d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff8b5a36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaae71e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaae71e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaae71eaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaae71e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff82aa098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff82aa0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaae71e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/path-notes-impl-param.m.script: line 1: 37840 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/path-notes-impl-param.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/override-werror.c (1021 of 19719) ******************** TEST 'Clang :: Analysis/override-werror.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -Werror /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/override-werror.c -verify : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -Werror /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/override-werror.c -analyzer-werror -verify=werror -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -Werror /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/override-werror.c -verify 1. parser at end of file 2. While analyzing stack: #0 Calling g 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/override-werror.c:14:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/override-werror.c:14:7: Error evaluating statement #0 0x0000ffff85d1ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff85d19180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff85d1b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8ecdf7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8dfd0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8dfd0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8dfd0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8dfd0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8dfd0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8dfd0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8dfd0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8dfd0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8dc7e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8dc7e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8dc7e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8dc7e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8dc7eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8dc7eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8dc7eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8dc7eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8dc91aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8dc91aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8dc91aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8dc92ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8dc92ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8dc92ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8dc924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8dc924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8dc924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8dc9eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8dc9eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8dc9eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8dca8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8dca8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8dca8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8dc0c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8dc0c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8dc0c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8dc0c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8e0fb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8e0fb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8e0fb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8dc1fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8dc1fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8dc1fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8dc3a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8dc3a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8dc3a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8dc3a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8dc3a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8dc3a2b8 clang::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 0x0000ffff8dc3a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8dc3a7cc clang::ento::CoreEngine::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 0x0000ffff8dc3ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8dc3ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8dc3ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8dc3ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8dc3ab14 clang::ento::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 0x0000ffff8df052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8df052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8df052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8df052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8df052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8df06278 llvm::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 0x0000ffff8df06278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8df06278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8df0a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8df0a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8df0a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8df0a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8df0a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8c361b88 __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 0x0000ffff8c361b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8c361b88 void clang::finalize>, 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 0x0000ffff8c361b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8da25600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8d9dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8d9dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8d9dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8da636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac6c459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac6c494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac6c4aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac6c41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff84f6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff84f60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac6c420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/override-werror.c.script: line 2: 37827 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -Werror /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/override-werror.c -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/placement-new.cpp (1022 of 19719) ******************** TEST 'Clang :: Analysis/placement-new.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/placement-new.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.PlacementNew -analyzer-output=text -verify -triple x86_64-unknown-linux-gnu -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/placement-new.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.PlacementNew -analyzer-output=text -verify -triple x86_64-unknown-linux-gnu 1. parser at end of file 2. While analyzing stack: #0 Calling testStructAlign::test22()::X::X() at line 455 #1 Calling testStructAlign::test22() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/placement-new.cpp:453:10: Error evaluating statement #0 0x0000ffff985ead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff985e9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff985eb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa15a17e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa04f50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa04f50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa04f50b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa04f50b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa04f50b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa04f50b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa04f50b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa04f50b8 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 0x0000ffffa050a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffa050a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffa050a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffa050a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffa050a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffa050a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffa050a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffa050a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffa050a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffa050a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa050a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffa050a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffa050ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffa050ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffa050ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffa050ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffa050ab14 clang::ento::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 0x0000ffffa07d52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffa07d52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffa07d52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffa07d52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffa07d52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffa07d6278 llvm::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 0x0000ffffa07d6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffa07d6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffa07da900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffa07da900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffa07da900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffa07da900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffa07da900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff9ec31b88 __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 0x0000ffff9ec31b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff9ec31b88 void clang::finalize>, 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 0x0000ffff9ec31b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffa02f5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffa02ad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffa02ad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffa02ad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffa03336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaadbdd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaadbdd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaadbddaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaadbdd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff9783098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff97830a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaadbdd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/placement-new.cpp.script: line 1: 37847 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/placement-new.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.PlacementNew -analyzer-output=text -verify -triple x86_64-unknown-linux-gnu -- ******************** Testing: 0 FAIL: Clang :: Analysis/placement-new-user-defined.cpp (1023 of 19719) ******************** TEST 'Clang :: Analysis/placement-new-user-defined.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/placement-new-user-defined.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.PlacementNew -analyzer-output=text -verify -triple x86_64-unknown-linux-gnu -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/placement-new-user-defined.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.PlacementNew -analyzer-output=text -verify -triple x86_64-unknown-linux-gnu 1. parser at end of file 2. While analyzing stack: #0 Calling X::operator new(std::size_t, void *) at line 20 #1 Calling f() #0 0x0000ffffb48bad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb48b9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb48bb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbd8737e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbc7c50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffbc7c50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbc7c50b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbc7c50b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbc7c50b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffbc7c50b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffbc7c50b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffbc7c50b8 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 0x0000ffffbc80d19c clang::ento::ExprEngine::processCallExit(clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:372:0 #13 0x0000ffffbc7dab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #14 0x0000ffffbc7dab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #15 0x0000ffffbc7dab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #16 0x0000ffffbc7dab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #17 0x0000ffffbc7dab14 clang::ento::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 0x0000ffffbcaa52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #19 0x0000ffffbcaa52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #20 0x0000ffffbcaa52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #21 0x0000ffffbcaa52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #22 0x0000ffffbcaa52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #23 0x0000ffffbcaa6278 llvm::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 0x0000ffffbcaa6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x0000ffffbcaa6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #26 0x0000ffffbcaaa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x0000ffffbcaaa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x0000ffffbcaaa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x0000ffffbcaaa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x0000ffffbcaaa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x0000ffffbaf01b88 __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 0x0000ffffbaf01b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x0000ffffbaf01b88 void clang::finalize>, 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 0x0000ffffbaf01b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x0000ffffbc5c5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #36 0x0000ffffbc57d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #37 0x0000ffffbc57d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #38 0x0000ffffbc57d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #39 0x0000ffffbc6036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #40 0x0000aaaad0cb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x0000aaaad0cb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x0000aaaad0cbaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000aaaad0cb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x0000ffffb3b0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #45 0x0000ffffb3b00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #46 0x0000aaaad0cb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/placement-new-user-defined.cpp.script: line 1: 37851 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/placement-new-user-defined.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.PlacementNew -analyzer-output=text -verify -triple x86_64-unknown-linux-gnu -- ******************** Testing: 0 FAIL: Clang :: Analysis/plist-html-macros.c (1024 of 19719) ******************** TEST 'Clang :: Analysis/plist-html-macros.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-html-macros.c : 'RUN: at line 4'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-html-macros.c.tmp.dir : 'RUN: at line 5'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-html-macros.c.tmp.dir : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-html-macros.c.tmp.dir/index.plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-html-macros.c -analyzer-checker=core -analyzer-output=plist-html : 'RUN: at line 10'; ls /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-html-macros.c.tmp.dir | grep '\.html' | /usr/bin/count 1 : 'RUN: at line 11'; grep '\.html' /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-html-macros.c.tmp.dir/index.plist | /usr/bin/count 1 -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-html-macros.c 1. parser at end of file 2. While analyzing stack: #0 Calling null_deref at line /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-html-macros.c:32:3 #1 Calling test2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-html-macros.c:22:7: Error evaluating branch #0 0x0000ffffab7cad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffab7c9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffab7cb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb47807e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb3a80e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb3a80e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb3a80e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb3a80e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb3a80e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb3a80e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb3a80e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb3a80e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb372e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb372e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb372e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb372e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb372eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb372eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb372eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb372eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb3741aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb3741aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb3741aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb3742ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb3742ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb3742ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb37424c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb37424c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb37424c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb374eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb374eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb374eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb3758484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb3758484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb3758484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb36bc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb36bc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb36bc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb36bc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb3bab004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb3bab004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb3bab004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb36d2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb36d2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb36d2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb36d2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb36d2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb36d2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb36d2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb36d2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb36d2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb36d2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb36d3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb36eab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb36eab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb36eab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb36eab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb36eab14 clang::ento::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 0x0000ffffb39b52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb39b52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb39b52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb39b52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb39b52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb39b6278 llvm::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 0x0000ffffb39b6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb39b6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb39ba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb39ba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb39ba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb39ba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb39ba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb1e11b88 __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 0x0000ffffb1e11b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb1e11b88 void clang::finalize>, 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 0x0000ffffb1e11b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb34d5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb348d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb348d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb348d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb35136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad82f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad82f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad82faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad82f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffaaa1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffaaa10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad82f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-html-macros.c.script: line 6: 37859 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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-diagnostics-template-function.cpp (1025 of 19719) ******************** TEST 'Clang :: Analysis/plist-diagnostics-template-function.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-function.cpp.tmp.plist -std=c++11 -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-function.cpp : 'RUN: at line 2'; /usr/bin/FileCheck --input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-function.cpp.tmp.plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-function.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-function.cpp.tmp.plist -std=c++11 -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-function.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f(int) at line 31 #1 Calling main() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-function.cpp:14:7: Error evaluating branch #0 0x0000ffffa465ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa4659180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa465b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffad61a7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffac910e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffac910e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffac910e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffac910e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffac910e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffac910e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffac910e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffac910e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffac5be018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffac5be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffac5be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffac5be018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffac5bec90 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffac5bec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffac5bec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffac5bec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffac5d2c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffac5d2c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffac5d2c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffac5d2f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffac5d2f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffac5d2f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffac5d24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffac5d24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffac5d24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffac5deb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffac5deb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffac5deb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffac5e8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffac5e8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffac5e8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffac54c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffac54c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffac54c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffac54c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffaca3b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaca3b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaca3b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffac562bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffac562bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffac562bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffac562bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffac562bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffac562bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffac562bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffac562bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffac562bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffac562bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffac563130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffac57ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffac57ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffac57ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffac57ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffac57ab14 clang::ento::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 0x0000ffffac8452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffac8452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffac8452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffac8452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffac8452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffac846278 llvm::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 0x0000ffffac846278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffac846278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffac84a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffac84a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffac84a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffac84a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffac84a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffaaca1b88 __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 0x0000ffffaaca1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffaaca1b88 void clang::finalize>, 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 0x0000ffffaaca1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffac365600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffac31d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffac31d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffac31d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffac3a36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaaee259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaaee294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaaee2aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaaee21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa38a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa38a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaaee220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-function.cpp.script: line 2: 37852 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-function.cpp.tmp.plist -std=c++11 -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-function.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/plist-macros.cpp (1026 of 19719) ******************** TEST 'Clang :: Analysis/plist-macros.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-macros.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-macros.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-macros.cpp.tmp.plist : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling null_deref(int *) at line /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-macros.cpp:87:3 #1 Calling test2(int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-macros.cpp:77:7: Error evaluating branch #0 0x0000ffff7842ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff78429180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7842b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff813e17e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff806e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff806e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff806e0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff806e0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff806e0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff806e0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff806e0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff806e0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8038e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8038e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8038e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8038e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8038eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8038eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8038eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8038eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff803a1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff803a1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff803a1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff803a2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff803a2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff803a2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff803a24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff803a24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff803a24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff803aeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff803aeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff803aeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff803b8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff803b8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff803b8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8031c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8031c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8031c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8031c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8080b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8080b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8080b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff80332bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff80332bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff80332bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff80332bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff80332bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff80332bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff80332bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff80332bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff80332bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff80332bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff80333130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8034ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8034ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8034ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8034ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8034ab14 clang::ento::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 0x0000ffff806152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff806152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff806152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff806152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff806152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff80616278 llvm::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 0x0000ffff80616278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff80616278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8061a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8061a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8061a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8061a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8061a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff7ea71b88 __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 0x0000ffff7ea71b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff7ea71b88 void clang::finalize>, 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 0x0000ffff7ea71b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff80135600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff800ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff800ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff800ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff801736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaaf6c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaaf6c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaaf6caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaaf6c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7767098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff77670a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaaf6c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-macros.cpp.script: line 3: 37866 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-macros.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/plist-output-alternate.m (1027 of 19719) ******************** TEST 'Clang :: Analysis/plist-output-alternate.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -fblocks -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output-alternate.m.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-output-alternate.m : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling rdar8331641 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-output-alternate.m:54:3: Error evaluating statement #0 0x0000ffffa02fad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa02f9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa02fb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa92bd7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa8438138 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa8438138 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa8438138 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa8438138 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa8438138 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa8438138 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 0x0000ffffa8438138 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa8438138 clang::ento::retaincountchecker::RetainCountChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp:1417:47 #12 0x0000ffffa81eaae4 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 0x0000ffffa82052e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffa82052e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffa82052e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffa82052e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffa82052e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffa82052e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffa82052e8 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 0x0000ffffa821a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffa821a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffa821a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffa821a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffa821a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffa821a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffa821a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffa821a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffa821a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffa821a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa821a7cc clang::ento::CoreEngine::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 0x0000ffffa821ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffa821ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffa821ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffa821ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffa821ab14 clang::ento::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 0x0000ffffa84e52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffa84e52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffa84e52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffa84e52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffa84e52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffa84e6278 llvm::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 0x0000ffffa84e6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffa84e6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffa84ea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffa84ea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffa84ea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffa84ea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffa84ea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffa6941b88 __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 0x0000ffffa6941b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffa6941b88 void clang::finalize>, 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 0x0000ffffa6941b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffa8005600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffa7fbd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffa7fbd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffa7fbd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffa80436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaabd7d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaabd7d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaabd7daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaabd7d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff9f54098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff9f540a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaabd7d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output-alternate.m.script: line 2: 37870 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -fblocks -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output-alternate.m.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-output-alternate.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/plist-output.m (1028 of 19719) ******************** TEST 'Clang :: Analysis/plist-output.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-output.m -analyzer-checker=osx.cocoa.RetainCount,deadcode.DeadStores,core -analyzer-output=plist -analyzer-config deadcode.DeadStores:ShowFixIts=true -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output.m.tmp.plist : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling testFoo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-output.m:193:12: Error evaluating statement #0 0x0000ffff7ec1ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7ec19180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7ec1b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff87bdc7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff86b7a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff86b7a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff86b7a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff86b7a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff86b7a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff86b7a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff86b253bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff86b253bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff86b253bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff86b3a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff86b3a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff86b3a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff86b3a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff86b3a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff86b3a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff86b3a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff86b3a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff86b3a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff86b3a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff86b3a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff86b3a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff86b3ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff86b3ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff86b3ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff86b3ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff86b3ab14 clang::ento::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 0x0000ffff86e052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff86e052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff86e052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff86e052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff86e052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff86e06278 llvm::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 0x0000ffff86e06278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff86e06278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff86e0a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff86e0a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff86e0a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff86e0a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff86e0a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff85261b88 __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 0x0000ffff85261b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff85261b88 void clang::finalize>, 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 0x0000ffff85261b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff86925600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff868dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff868dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff868dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff869636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaad35059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaad35094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaad350aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaad3501fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff7de6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff7de60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaad35020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output.m.script: line 2: 37872 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-output.m -analyzer-checker=osx.cocoa.RetainCount,deadcode.DeadStores,core -analyzer-output=plist -analyzer-config deadcode.DeadStores:ShowFixIts=true -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output.m.tmp.plist -- ******************** Testing: 0 FAIL: Clang :: Analysis/pr22954.c (1029 of 19719) ******************** TEST 'Clang :: Analysis/pr22954.c' FAILED ******************** Script: -- : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,unix.Malloc,debug.ExprInspection -Wno-error=int-conversion -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr22954.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,unix.Malloc,debug.ExprInspection -Wno-error=int-conversion -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr22954.c 1. parser at end of file 2. While analyzing stack: #0 Calling f39 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr22954.c:885:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr22954.c:885:3: Error evaluating statement #0 0x0000ffffa4b1ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa4b19180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa4b1b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffadadd7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffacdd0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffacdd0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffacdd0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffacdd0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffacdd0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffacdd0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffacdd0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffacdd0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaca7e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaca7e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaca7e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaca7e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaca7eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaca7eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaca7eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaca7eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaca91aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaca91aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaca91aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffaca92ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaca92ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaca92ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffaca924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaca924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaca924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaca9eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaca9eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaca9eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffacaa8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffacaa8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffacaa8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaca0c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaca0c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaca0c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaca0c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffacefb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffacefb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffacefb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffacb2c500 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffacb2c500 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffacb2c500 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffacb2c500 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffac9f6c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffaca1f570 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffaca1f570 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffaca24b68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffffaca24b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffaca24b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffaca24b68 clang::ento::ExprEngine::evalStore(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ento::SVal, clang::ProgramPointTag const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3628:15 #53 0x0000ffffaca2db34 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffaca2db34 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffaca2db34 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:74:0 #56 0x0000ffffaca39f88 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #57 0x0000ffffaca3a2b8 clang::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 0x0000ffffaca3a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffaca3a7cc clang::ento::CoreEngine::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 0x0000ffffaca3ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffffaca3ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffffaca3ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #63 0x0000ffffaca3ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #64 0x0000ffffaca3ab14 clang::ento::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 0x0000ffffacd052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #66 0x0000ffffacd052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #67 0x0000ffffacd052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #68 0x0000ffffacd052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #69 0x0000ffffacd052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #70 0x0000ffffacd06278 llvm::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 0x0000ffffacd06278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x0000ffffacd06278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #73 0x0000ffffacd0a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x0000ffffacd0a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x0000ffffacd0a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x0000ffffacd0a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x0000ffffacd0a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x0000ffffab161b88 __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 0x0000ffffab161b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x0000ffffab161b88 void clang::finalize>, 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 0x0000ffffab161b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x0000ffffac825600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #83 0x0000ffffac7dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #84 0x0000ffffac7dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #85 0x0000ffffac7dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #86 0x0000ffffac8636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #87 0x0000aaaae5ad59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x0000aaaae5ad94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x0000aaaae5adaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x0000aaaae5ad1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x0000ffffa3d6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #92 0x0000ffffa3d60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #93 0x0000aaaae5ad20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pr22954.c.script: line 1: 37893 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,unix.Malloc,debug.ExprInspection -Wno-error=int-conversion -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr22954.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/pr37802.cpp (1030 of 19719) ******************** TEST 'Clang :: Analysis/pr37802.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr37802.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr37802.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling pr37802_v2::g() at line 102 #1 Calling pr37802_v2::g() at line 102 #2 Calling pr37802_v2::g() at line 102 #3 Calling pr37802_v2::g() at line 102 #4 Calling pr37802_v2::g() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr37802.cpp:102:3: Error evaluating statement #0 0x0000ffff92edad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff92ed9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff92edb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9be987e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9ade50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9ade50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9ade50b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9ade50b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9ade50b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9ade50b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9ade50b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9ade50b8 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 0x0000ffff9adfa244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff9adfa244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff9adfa244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff9adfa244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff9adfa244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff9adfa244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff9adfa244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff9adfa244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff9adfa244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff9adfa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9adfa7cc clang::ento::CoreEngine::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 0x0000ffff9adfab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffff9adfab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffff9adfab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffff9adfab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffff9adfab14 clang::ento::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 0x0000ffff9b0c52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffff9b0c52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffff9b0c52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffff9b0c52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffff9b0c52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffff9b0c6278 llvm::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 0x0000ffff9b0c6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffff9b0c6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffff9b0ca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffff9b0ca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffff9b0ca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffff9b0ca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffff9b0ca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffff99521b88 __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 0x0000ffff99521b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffff99521b88 void clang::finalize>, 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 0x0000ffff99521b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffff9abe5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffff9ab9d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffff9ab9d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffff9ab9d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffff9ac236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaad75c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaad75c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaad75caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaad75c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffff9212098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffff92120a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaad75c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pr37802.cpp.script: line 1: 37896 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr37802.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/pr4209.m (1032 of 19719) ******************** TEST 'Clang :: Analysis/pr4209.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core -Wno-incomplete-implementation -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr4209.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core -Wno-incomplete-implementation -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr4209.m 1. parser at end of file #0 0x0000ffff8b80ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8b809180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8b80b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff947c27e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff93ac0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff93ac0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff93ac0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff93ac0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff93ac0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff93ac0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff93ac0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff93ac0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9376e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9376e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9376e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9376e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9376eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9376eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9376eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9376eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff93781aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff93781aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff93781aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff93782ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff93782ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff93782ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff937824c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff937824c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff937824c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9378eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9378eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9378eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff93798484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff93798484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff93798484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff936fc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff936fc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff936fc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff936fc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff936fcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff936fcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff936fcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff936d0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff936d0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff936d0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9370cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9370cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9370cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff9372ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9372ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9372ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff939f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff939f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff939f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff939f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff939f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff939f6278 llvm::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 0x0000ffff939f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff939f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff939fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff939fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff939fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff939fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff939fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff91e51b88 __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 0x0000ffff91e51b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff91e51b88 void clang::finalize>, 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 0x0000ffff91e51b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff93515600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff934cd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff934cd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff934cd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff935536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae9e059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae9e094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae9e0aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae9e01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8aa5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff8aa50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae9e020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pr4209.m.script: line 1: 37898 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core -Wno-incomplete-implementation -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr4209.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/pr_4164.c (1033 of 19719) ******************** TEST 'Clang :: Analysis/pr_4164.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr_4164.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr_4164.c 1. parser at end of file 2. While analyzing stack: #0 Calling test2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr_4164.c:37:7: Error evaluating branch #0 0x0000ffff767dad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff767d9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff767db408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff7f79d7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff7ea90e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7ea90e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7ea90e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7ea90e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff7ea90e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff7ea90e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff7ea90e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff7ea90e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff7e73e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff7e73e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff7e73e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff7e73e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff7e73eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff7e73eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff7e73eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff7e73eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff7e752c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff7e752c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff7e752c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff7e752f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff7e752f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff7e752f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff7e7524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7e7524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7e7524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff7e75eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff7e75eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff7e75eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff7e768484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff7e768484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff7e768484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff7e6cc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff7e6cc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff7e6cc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff7e6cc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff7ebbb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff7ebbb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff7ebbb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff7e6e2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff7e6e2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff7e6e2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff7e6e2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff7e6e2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff7e6e2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff7e6e2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff7e6e2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff7e6e2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff7e6e2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff7e6e3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff7e6fab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff7e6fab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff7e6fab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff7e6fab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff7e6fab14 clang::ento::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 0x0000ffff7e9c52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff7e9c52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff7e9c52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff7e9c52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff7e9c52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff7e9c6278 llvm::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 0x0000ffff7e9c6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff7e9c6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff7e9ca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff7e9ca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff7e9ca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff7e9ca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff7e9ca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff7ce21b88 __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 0x0000ffff7ce21b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff7ce21b88 void clang::finalize>, 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 0x0000ffff7ce21b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff7e4e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff7e49d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff7e49d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff7e49d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff7e5236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae8a159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae8a194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae8a1aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae8a11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff75a2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff75a20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae8a120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pr_4164.c.script: line 1: 37908 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr_4164.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/pr_2542_rdar_6793404.m (1034 of 19719) ******************** TEST 'Clang :: Analysis/pr_2542_rdar_6793404.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -pedantic -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr_2542_rdar_6793404.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -pedantic -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr_2542_rdar_6793404.m 1. parser at end of file #0 0x0000ffffa125ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa1259180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa125b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffaa2197e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa9510e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa9510e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa9510e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa9510e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa9510e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa9510e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa9510e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa9510e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa91be018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa91be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa91be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa91be018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa91beef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa91beef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa91beef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa91beef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa91d1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa91d1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa91d1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa91d2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa91d2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa91d2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa91d24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa91d24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa91d24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa91deb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa91deb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa91deb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa91e8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa91e8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa91e8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa914c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa914c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa914c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa914c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa914cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa914cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa914cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa9120400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa9120400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa9120400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa915cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa915cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa915cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa917ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa917ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa917ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa94452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa94452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa94452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa94452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa94452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa9446278 llvm::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 0x0000ffffa9446278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa9446278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa944a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa944a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa944a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa944a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa944a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa78a1b88 __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 0x0000ffffa78a1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa78a1b88 void clang::finalize>, 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 0x0000ffffa78a1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa8f65600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa8f1d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa8f1d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa8f1d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa8fa36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaab3fd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaab3fd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaab3fdaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaab3fd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa04a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa04a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaab3fd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pr_2542_rdar_6793404.m.script: line 1: 37905 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -pedantic -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr_2542_rdar_6793404.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/plist-diagnostics-template-record.cpp (1035 of 19719) ******************** TEST 'Clang :: Analysis/plist-diagnostics-template-record.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-record.cpp.tmp.plist -std=c++11 -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-record.cpp : 'RUN: at line 2'; /usr/bin/FileCheck --input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-record.cpp.tmp.plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-record.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-record.cpp.tmp.plist -std=c++11 -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-record.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling main() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-record.cpp:34:36: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-record.cpp:34:36: Error evaluating statement #0 0x0000ffff7e71ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7e719180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7e71b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff876da7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff86625734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff86625734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff86625734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff86625734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff86625734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff86625734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff86625734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff86625734 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 0x0000ffff865ee1fc std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffff865ee1fc std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffff865ee1fc clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffff865ee1fc 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 0x0000ffff865ef1fc clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffff865ef1fc 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 0x0000ffff866b0100 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffff866b0100 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffff8666b2a8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffff8666b2a8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffff8666b458 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffff8666b458 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff8666b458 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffff8666dee0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffff8666dee0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffff8666dee0 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffff8666e7fc llvm::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 0x0000ffff8666e7fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff8666e7fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff8666e7fc clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffff865f7268 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffff866333d8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffff866333d8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffff866333d8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffff866333d8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffff866333d8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffff866333d8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffff866333d8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffff8663920c clang::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 0x0000ffff8663920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffff8663a2b8 clang::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 0x0000ffff8663a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8663a7cc clang::ento::CoreEngine::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 0x0000ffff8663ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffff8663ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffff8663ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffff8663ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffff8663ab14 clang::ento::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 0x0000ffff869052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffff869052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff869052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffff869052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffff869052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffff86906278 llvm::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 0x0000ffff86906278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffff86906278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffff8690a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffff8690a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffff8690a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffff8690a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffff8690a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffff84d61b88 __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 0x0000ffff84d61b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffff84d61b88 void clang::finalize>, 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 0x0000ffff84d61b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffff86425600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffff863dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffff863dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffff863dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffff864636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaae0e359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaae0e394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaae0e3aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaae0e31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff7d96098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff7d960a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaae0e320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-record.cpp.script: line 2: 37853 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-record.cpp.tmp.plist -std=c++11 -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-record.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/reinterpret-cast-pointer-to-member.cpp (1037 of 19719) ******************** TEST 'Clang :: Analysis/reinterpret-cast-pointer-to-member.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reinterpret-cast-pointer-to-member.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reinterpret-cast-pointer-to-member.cpp 1. parser at end of file #0 0x0000ffffab2aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffab2a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffab2ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb426f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb31b9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb31b9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb31b9f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb31b9f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb31b9f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb31b9f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb31b9f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb31b9f54 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 0x0000ffffb31ba878 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 0x0000ffffb31ca954 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 0x0000ffffb31cab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffb31cab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffb31cab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffb31cab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffb31cab14 clang::ento::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 0x0000ffffb34952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb34952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb34952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffb34952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffb34952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffb3496278 llvm::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 0x0000ffffb3496278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffb3496278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffb349a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffb349a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffb349a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffb349a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffb349a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffb18f1b88 __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 0x0000ffffb18f1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffb18f1b88 void clang::finalize>, 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 0x0000ffffb18f1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffb2fb5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffb2f6d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffb2f6d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffb2f6d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffb2ff36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaacc9959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaacc9994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaacc99aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaacc991fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffaa4f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffaa4f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaacc9920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/reinterpret-cast-pointer-to-member.cpp.script: line 1: 37994 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reinterpret-cast-pointer-to-member.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/pthreadlock_state_nottracked.c (1038 of 19719) ******************** TEST 'Clang :: Analysis/pthreadlock_state_nottracked.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.PthreadLock,debug.ExprInspection 2>&1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state_nottracked.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state_nottracked.c -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state_nottracked.c:12:12: error: CHECK: expected string not found in input // CHECK: { "checker": "alpha.core.PthreadLockBase", "messages": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :3:300: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.PthreadLock,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state_nottracked.c ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state_nottracked.c -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:12'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:12'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.PthreadLock,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state_nottracked.c check:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:12'1 ? possible intended match 4: 1. parser at end of file check:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling test check:12'0 ~~~~~~~~~~~~~~~~~ 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state_nottracked.c:10:3: Error evaluating statement check:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: #0 0x0000ffffb04bad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) check:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/pthreadlock.c (1039 of 19719) ******************** TEST 'Clang :: Analysis/pthreadlock.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.PthreadLock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.PthreadLock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock.c 1. parser at end of file 2. While analyzing stack: #0 Calling nocrash1 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock.c:518:3: Error evaluating statement #0 0x0000ffffaaa8ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffaaa89180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffaaa8b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb3a437e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb2e6cbec llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb2e6cbec llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb2e6cbec llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb2e6cbec llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb2e6cbec llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb2e6cbec 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 0x0000ffffb2e6cbec get<(anonymous namespace)::DestroyRetVal> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb2e6cbec (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 0x0000ffffb297aae4 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 0x0000ffffb29952e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffb29952e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffb29952e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffb29952e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffb29952e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffb29952e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffb29952e8 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 0x0000ffffb29aa244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffb29aa244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffb29aa244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffb29aa244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffb29aa244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffb29aa244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffb29aa244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffb29aa244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffb29aa244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffb29aa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb29aa7cc clang::ento::CoreEngine::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 0x0000ffffb29aab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffb29aab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffb29aab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffb29aab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffb29aab14 clang::ento::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 0x0000ffffb2c752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffb2c752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffb2c752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffb2c752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffb2c752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffb2c76278 llvm::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 0x0000ffffb2c76278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffb2c76278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffb2c7a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffb2c7a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffb2c7a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffb2c7a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffb2c7a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffb10d1b88 __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 0x0000ffffb10d1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffb10d1b88 void clang::finalize>, 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 0x0000ffffb10d1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffb2795600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffb274d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffb274d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffb274d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffb27d36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaad71e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaad71e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaad71eaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaad71e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffa9cd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffa9cd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaad71e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pthreadlock.c.script: line 1: 37926 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.PthreadLock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/ptr-cmp-const-trunc.cl (1040 of 19719) ******************** TEST 'Clang :: Analysis/ptr-cmp-const-trunc.cl' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple amdgcn-unknown-unknown -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-cmp-const-trunc.cl -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple amdgcn-unknown-unknown -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-cmp-const-trunc.cl 1. parser at end of file 2. While analyzing stack: #0 Calling foo #0 0x0000ffff81f3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff81f39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff81f3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8aefe7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff89e9a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff89e9a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff89e9a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff89e9a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff89e9a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff89e9a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff89e453bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff89e453bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff89e453bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff89e70e2c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #14 0x0000ffff89e70e2c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #15 0x0000ffff89e4a3e8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #16 0x0000ffff89e4a3e8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #17 0x0000ffff89e4a3e8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #18 0x0000ffff89e4a3e8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #19 0x0000ffff89e4a878 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #20 0x0000ffff89e5a954 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #21 0x0000ffff89e5ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffff89e5ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffff89e5ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffff89e5ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffff89e5ab14 clang::ento::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 0x0000ffff8a1252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8a1252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8a1252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffff8a1252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffff8a1252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffff8a126278 llvm::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 0x0000ffff8a126278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffff8a126278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffff8a12a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffff8a12a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffff8a12a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffff8a12a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffff8a12a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffff88581b88 __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 0x0000ffff88581b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffff88581b88 void clang::finalize>, 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 0x0000ffff88581b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffff89c45600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffff89bfd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffff89bfd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffff89bfd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffff89c836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaac89859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaac89894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaac898aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaac8981fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffff8118098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffff81180a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaac89820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ptr-cmp-const-trunc.cl.script: line 1: 37943 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple amdgcn-unknown-unknown -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-cmp-const-trunc.cl -- ******************** Testing: 0 FAIL: Clang :: Analysis/range_casts.c (1041 of 19719) ******************** TEST 'Clang :: Analysis/range_casts.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/range_casts.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/range_casts.c 1. parser at end of file 2. While analyzing stack: #0 Calling f15 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/range_casts.c:151:22: Error evaluating statement #0 0x0000ffffa3caad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa3ca9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa3cab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffacc667e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffabc0a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffabc0a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffabc0a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffabc0a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffabc0a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffabc0a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffabbb53bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffabbb53bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffabbb53bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffabbca244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffabbca244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffabbca244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffabbca244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffabbca244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffabbca244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffabbca244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffabbca244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffabbca244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffabbca5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffabbca6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffabbca98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffabbcab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffabbcab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffabbcab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffabbcab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffabbcab14 clang::ento::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 0x0000ffffabe952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffabe952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffabe952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffabe952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffabe952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffabe96278 llvm::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 0x0000ffffabe96278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffabe96278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffabe9a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffabe9a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffabe9a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffabe9a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffabe9a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffaa2f1b88 __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 0x0000ffffaa2f1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffaa2f1b88 void clang::finalize>, 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 0x0000ffffaa2f1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffab9b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffab96d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffab96d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffab96d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffab9f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaad8c559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaad8c594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaad8c5aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaad8c51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffa2ef098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffa2ef0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaad8c520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/range_casts.c.script: line 1: 37951 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/range_casts.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/ptr-iter.cpp (1042 of 19719) ******************** TEST 'Clang :: Analysis/ptr-iter.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-iter.cpp -std=c++14 -analyzer-output=text -verify -analyzer-checker=core,alpha.nondeterminism.PointerIteration -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-iter.cpp -std=c++14 -analyzer-output=text -verify -analyzer-checker=core,alpha.nondeterminism.PointerIteration 1. parser at end of file 2. While analyzing stack: #0 Calling PointerIteration() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-iter.cpp:12:35: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-iter.cpp:12:35: Error evaluating statement #0 0x0000ffff9b63ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9b639180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9b63b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa45f87e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa3545734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa3545734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa3545734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa3545734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa3545734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa3545734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa3545734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffa3545734 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 0x0000ffffa350d914 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffa350d914 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffa350d914 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 0x0000ffffa350d914 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 0x0000ffffa358dc70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #17 0x0000ffffa358dc70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #18 0x0000ffffa358dc70 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 0x0000ffffa358e684 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x0000ffffa358e684 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x0000ffffa358e684 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 0x0000ffffa3517268 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 0x0000ffffa35533d8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #24 0x0000ffffa35533d8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #25 0x0000ffffa35533d8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #26 0x0000ffffa35533d8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #27 0x0000ffffa35533d8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #28 0x0000ffffa35533d8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #29 0x0000ffffa35533d8 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 0x0000ffffa355920c clang::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 0x0000ffffa355920c clang::ento::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 0x0000ffffa355a2b8 clang::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 0x0000ffffa355a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa355a7cc clang::ento::CoreEngine::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 0x0000ffffa355ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffa355ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffa355ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffa355ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffa355ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffffa38252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffa38252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffa38252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffa38252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffa38252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffa3826278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffffa3826278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffa3826278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffa382a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffa382a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffa382a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffa382a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffa382a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffa1c81b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffffa1c81b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffa1c81b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffffa1c81b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffa3345600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffa32fd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffa32fd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffa32fd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffa33836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaac81959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaac81994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaac819aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaac8191fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff9a88098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff9a880a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaac81920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ptr-iter.cpp.script: line 1: 37942 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-iter.cpp -std=c++14 -analyzer-output=text -verify -analyzer-checker=core,alpha.nondeterminism.PointerIteration -- ******************** Testing: 0 FAIL: Clang :: Analysis/ptr-sort.cpp (1043 of 19719) ******************** TEST 'Clang :: Analysis/ptr-sort.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-sort.cpp -std=c++14 -analyzer-output=text -verify -analyzer-checker=core,alpha.nondeterminism.PointerSorting -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-sort.cpp -std=c++14 -analyzer-output=text -verify -analyzer-checker=core,alpha.nondeterminism.PointerSorting 1. parser at end of file 2. While analyzing stack: #0 Calling PointerSorting() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-sort.cpp:12:27: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-sort.cpp:12:27: Error evaluating statement #0 0x0000ffff7cadad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7cad9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7cadb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff85a937e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff849e5734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff849e5734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff849e5734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff849e5734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff849e5734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff849e5734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff849e5734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff849e5734 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 0x0000ffff849ad914 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff849ad914 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff849ad914 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 0x0000ffff849ad914 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 0x0000ffff84a2dc70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #17 0x0000ffff84a2dc70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #18 0x0000ffff84a2dc70 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 0x0000ffff84a2e684 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x0000ffff84a2e684 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x0000ffff84a2e684 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 0x0000ffff849b7268 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 0x0000ffff849f33d8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #24 0x0000ffff849f33d8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #25 0x0000ffff849f33d8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #26 0x0000ffff849f33d8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #27 0x0000ffff849f33d8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #28 0x0000ffff849f33d8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #29 0x0000ffff849f33d8 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 0x0000ffff849f920c clang::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 0x0000ffff849f920c clang::ento::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 0x0000ffff849fa2b8 clang::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 0x0000ffff849fa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff849fa7cc clang::ento::CoreEngine::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 0x0000ffff849fab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff849fab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff849fab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff849fab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff849fab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffff84cc52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff84cc52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff84cc52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff84cc52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff84cc52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff84cc6278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffff84cc6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff84cc6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff84cca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff84cca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff84cca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff84cca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff84cca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff83121b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffff83121b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff83121b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffff83121b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff847e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff8479d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff8479d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff8479d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff848236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaabb8b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaabb8b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaabb8baac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaabb8b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff7bd2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff7bd20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaabb8b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ptr-sort.cpp.script: line 1: 37944 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-sort.cpp -std=c++14 -analyzer-output=text -verify -analyzer-checker=core,alpha.nondeterminism.PointerSorting -- ******************** Testing: 0 FAIL: Clang :: Analysis/qt_malloc.cpp (1044 of 19719) ******************** TEST 'Clang :: Analysis/qt_malloc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,alpha.deadcode.UnreachableCode,alpha.core.CastSize,unix.Malloc,cplusplus -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/qt_malloc.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,alpha.deadcode.UnreachableCode,alpha.core.CastSize,unix.Malloc,cplusplus -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/qt_malloc.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling singleShot(QTimer *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/qt_malloc.cpp:25:25: Error evaluating New Allocator Call #0 0x0000ffff7789ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff77899180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7789b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff808567e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff7fb50e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7fb50e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7fb50e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7fb50e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff7fb50e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff7fb50e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff7fb50e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff7fb50e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff7f7fe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff7f7fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff7f7fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff7f7fe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff7f7feef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff7f7feef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff7f7feef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff7f7feef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff7f811aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff7f811aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff7f811aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff7f812ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff7f812ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff7f812ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff7f8124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7f8124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7f8124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff7f81eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff7f81eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff7f81eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff7f828484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff7f828484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff7f828484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff7f78c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff7f78c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff7f78c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff7f78c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff7f78cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff7f78cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff7f78cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff7f7b6f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff7f7b6f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff7f7b6f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff7f7b6f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff7f7b6f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff7f7b735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff7f7b735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff7f7b735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff7f7b735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff7f7b735c 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 0x0000ffff7f7ba5dc clang::ento::ExprEngine::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 0x0000ffff7f7ba7cc clang::ento::CoreEngine::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 0x0000ffff7f7bab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff7f7bab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff7f7bab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff7f7bab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff7f7bab14 clang::ento::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 0x0000ffff7fa852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff7fa852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff7fa852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff7fa852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff7fa852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff7fa86278 llvm::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 0x0000ffff7fa86278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff7fa86278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff7fa8a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff7fa8a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff7fa8a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff7fa8a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff7fa8a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff7dee1b88 __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 0x0000ffff7dee1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff7dee1b88 void clang::finalize>, 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 0x0000ffff7dee1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff7f5a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff7f55d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff7f55d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff7f55d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff7f5e36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaadf2f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaadf2f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaadf2faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaadf2f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff76ae098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff76ae0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaadf2f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/qt_malloc.cpp.script: line 1: 37946 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,alpha.deadcode.UnreachableCode,alpha.core.CastSize,unix.Malloc,cplusplus -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/qt_malloc.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ptr-arith.c (1045 of 19719) ******************** TEST 'Clang :: Analysis/ptr-arith.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.FixedAddr,alpha.core.PointerArithm,alpha.core.PointerSub,debug.ExprInspection -Wno-pointer-to-int-cast -verify -triple x86_64-apple-darwin9 -Wno-tautological-pointer-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.FixedAddr,alpha.core.PointerArithm,alpha.core.PointerSub,debug.ExprInspection -Wno-pointer-to-int-cast -verify -triple i686-apple-darwin9 -Wno-tautological-pointer-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.FixedAddr,alpha.core.PointerArithm,alpha.core.PointerSub,debug.ExprInspection -Wno-pointer-to-int-cast -verify -triple x86_64-apple-darwin9 -Wno-tautological-pointer-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.c 1. parser at end of file 2. While analyzing stack: #0 Calling 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 0x0000ffff8ef9ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8ef99180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8ef9b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff97f537e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff97250e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff97250e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff97250e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff97250e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff97250e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff97250e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff97250e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff97250e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff96efe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff96efe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff96efe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff96efe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff96efeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff96efeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff96efeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff96efeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff96f11aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff96f11aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff96f11aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff96f12ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff96f12ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff96f12ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff96f124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff96f124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff96f124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff96f1eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff96f1eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff96f1eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff96f28484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff96f28484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff96f28484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff96e8c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff96e8c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff96e8c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff96e8c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9737f5b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9737f5b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9737f5b4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9737f5b4 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #43 0x0000ffff96f99ff0 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #44 0x0000ffff96f99ff0 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #45 0x0000ffff96f99ff0 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #46 0x0000ffff96fcd7c0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #47 0x0000ffff96fcd7c0 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #48 0x0000ffff96e7719c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #49 0x0000ffff96ed6bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #50 0x0000ffff96ed6bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #51 0x0000ffff96ed6bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #52 0x0000ffff96ed6bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #53 0x0000ffff96ed74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #54 0x0000ffff96eb9250 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #55 0x0000ffff96eb9250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #56 0x0000ffff96eba2b8 clang::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 0x0000ffff96eba5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff96eba7cc clang::ento::CoreEngine::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 0x0000ffff96ebab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff96ebab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff96ebab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff96ebab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff96ebab14 clang::ento::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 0x0000ffff971852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff971852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff971852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff971852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff971852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff97186278 llvm::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 0x0000ffff97186278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffff97186278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffff9718a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffff9718a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffff9718a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffff9718a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffff9718a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffff955e1b88 __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 0x0000ffff955e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffff955e1b88 void clang::finalize>, 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 0x0000ffff955e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffff96ca5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffff96c5d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffff96c5d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffff96c5d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffff96ce36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaae45d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaae45d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaae45daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaae45d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff8e1e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff8e1e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaae45d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ptr-arith.c.script: line 2: 37934 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.FixedAddr,alpha.core.PointerArithm,alpha.core.PointerSub,debug.ExprInspection -Wno-pointer-to-int-cast -verify -triple x86_64-apple-darwin9 -Wno-tautological-pointer-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/ptr-arith.cpp (1046 of 19719) ******************** TEST 'Clang :: Analysis/ptr-arith.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused-value -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.cpp -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection,alpha.core.PointerArithm : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused-value -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.cpp -triple x86_64-pc-linux-gnu -analyzer-config support-symbolic-integer-casts=true -analyzer-checker=core,debug.ExprInspection,alpha.core.PointerArithm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused-value -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.cpp -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection,alpha.core.PointerArithm 1. parser at end of file 2. While analyzing stack: #0 Calling Bug_55934::parse(parse_t *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.cpp:140:19: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.cpp:140:19: Error evaluating statement #0 0x0000ffffb3fead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb3fe9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb3feb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbcfaf7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbc2a0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbc2a0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbc2a0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbc2a0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbc2a0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbc2a0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbc2a0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbc2a0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbbf4e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbbf4e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbbf4e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbbf4e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbbf4eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbbf4eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbbf4eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbbf4eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbbf61aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbbf61aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbbf61aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbbf62ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbbf62ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbbf62ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbbf624c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbbf624c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbbf624c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbbf6eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbbf6eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbbf6eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbbf78484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbbf78484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbbf78484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbbedc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbbedc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbbedc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbbedc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbc3cb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbc3cb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbc3cb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbbffc500 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffbbffc500 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffbbffc500 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffbbffc500 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffbbec6c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffbbeef570 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffbbeef570 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffbbeef7ac llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffffbbeef7ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffbbeef7ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffbbeef7ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffbbeff470 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffbbeff470 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffbbeff470 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffbbf08c34 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffbbf08c34 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffbbf08c34 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffbbf0a2b8 clang::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 0x0000ffffbbf0a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbbf0a7cc clang::ento::CoreEngine::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 0x0000ffffbbf0ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffbbf0ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffbbf0ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffbbf0ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffbbf0ab14 clang::ento::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 0x0000ffffbc1d52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffbc1d52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffbc1d52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffbc1d52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffbc1d52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffbc1d6278 llvm::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 0x0000ffffbc1d6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffbc1d6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffbc1da900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffbc1da900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffbc1da900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffbc1da900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffbc1da900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffba631b88 __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 0x0000ffffba631b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffba631b88 void clang::finalize>, 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 0x0000ffffba631b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffbbcf5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffbbcad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffbbcad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffbbcad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffbbd336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaadf6859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaadf6894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaadf68aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaadf681fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffb323098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffb3230a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaadf6820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ptr-arith.cpp.script: line 2: 37936 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused-value -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.cpp -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection,alpha.core.PointerArithm -- ******************** Testing: 0 FAIL: Clang :: Analysis/properties.m (1047 of 19719) ******************** TEST 'Clang :: Analysis/properties.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.Dealloc,debug.ExprInspection -verify -Wno-objc-root-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.Dealloc,debug.ExprInspection -verify -Wno-objc-root-class -fobjc-arc -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.Dealloc,debug.ExprInspection -verify -Wno-objc-root-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.m 1. parser at end of file #0 0x0000ffff8908ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff89089180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8908b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9204a7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff91340e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff91340e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff91340e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff91340e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff91340e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff91340e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff91340e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff91340e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff90fee018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff90fee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff90fee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff90fee018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff90feeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff90feeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff90feeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff90feeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff91001aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff91001aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff91001aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff91002ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff91002ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff91002ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff910024c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff910024c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff910024c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9100eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9100eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9100eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff91018484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff91018484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff91018484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff90f7c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff90f7c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff90f7c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff90f7c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff90f7cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff90f7cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff90f7cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff90f50400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff90f50400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff90f50400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff90f8cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff90f8cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff90f8cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff90faae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff90faae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff90faae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff912752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff912752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff912752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff912752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff912752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff91276278 llvm::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 0x0000ffff91276278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff91276278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9127a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9127a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9127a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9127a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9127a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff8f6d1b88 __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 0x0000ffff8f6d1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff8f6d1b88 void clang::finalize>, 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 0x0000ffff8f6d1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff90d95600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff90d4d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff90d4d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff90d4d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff90dd36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae2a159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae2a194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae2a1aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae2a11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff882d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff882d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae2a120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/properties.m.script: line 2: 37922 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.Dealloc,debug.ExprInspection -verify -Wno-objc-root-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/rdar-6540084.m (1048 of 19719) ******************** TEST 'Clang :: Analysis/rdar-6540084.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=deadcode.DeadStores -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6540084.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=deadcode.DeadStores -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6540084.m 1. parser at end of file #0 0x0000ffffaefcad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffaefc9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffaefcb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb7f837e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb7280e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb7280e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb7280e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb7280e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb7280e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb7280e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb7280e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb7280e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb6f2e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb6f2e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb6f2e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb6f2e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb6f2eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb6f2eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb6f2eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb6f2eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb6f41aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb6f41aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb6f41aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb6f42ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb6f42ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb6f42ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb6f424c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb6f424c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb6f424c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb6f4eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb6f4eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb6f4eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb6f58484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb6f58484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb6f58484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb6ebc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb6ebc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb6ebc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb6ebc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb6ebcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb6ebcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb6ebcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb6e90400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb6e90400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb6e90400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb6eccea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb6eccea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb6eccea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffb6eeae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb6eeae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb6eeae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb71b52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb71b52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb71b52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb71b52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb71b52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb71b6278 llvm::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 0x0000ffffb71b6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb71b6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb71ba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb71ba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb71ba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb71ba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb71ba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb5611b88 __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 0x0000ffffb5611b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb5611b88 void clang::finalize>, 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 0x0000ffffb5611b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb6cd5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb6c8d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb6c8d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb6c8d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb6d136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad0ca59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad0ca94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad0caaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad0ca1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffae21098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffae210a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad0ca20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/rdar-6540084.m.script: line 1: 37963 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=deadcode.DeadStores -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6540084.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/rdar-6442306-1.m (1049 of 19719) ******************** TEST 'Clang :: Analysis/rdar-6442306-1.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-disable-checker=alpha.core.PointerArithm /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6442306-1.m -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-disable-checker=alpha.core.PointerArithm /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6442306-1.m -verify 1. parser at end of file 2. While analyzing stack: #0 Calling __Beeble_check__Request__SetPortalSize_t 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6442306-1.m:20:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6442306-1.m:20:7: Error evaluating statement #0 0x0000ffff9f67ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9f679180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9f67b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa863b7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa7930e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa7930e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa7930e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa7930e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa7930e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa7930e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa7930e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa7930e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa75de018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa75de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa75de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa75de018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa75deef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa75deef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa75deef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa75deef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa75f1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa75f1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa75f1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa75f2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa75f2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa75f2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa75f24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa75f24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa75f24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa75feb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa75feb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa75feb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa7608484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa7608484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa7608484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa756c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa756c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa756c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa756c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa7a5b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa7a5b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa7a5b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa768c500 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa768c500 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa768c500 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffa768c500 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffa7556c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffa757f570 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffa757f570 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffa757f7ac llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffffa757f7ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffa757f7ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffa757f7ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffa758f470 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffa758f470 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffa758f470 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffa7598c34 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffa7598c34 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffa7598c34 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffa759a2b8 clang::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 0x0000ffffa759a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa759a7cc clang::ento::CoreEngine::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 0x0000ffffa759ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffa759ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffa759ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffa759ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffa759ab14 clang::ento::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 0x0000ffffa78652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffa78652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffa78652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffa78652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffa78652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffa7866278 llvm::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 0x0000ffffa7866278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffa7866278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffa786a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffa786a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffa786a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffa786a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffa786a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffa5cc1b88 __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 0x0000ffffa5cc1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffa5cc1b88 void clang::finalize>, 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 0x0000ffffa5cc1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffa7385600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffa733d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffa733d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffa733d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffa73c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaabe0c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaabe0c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaabe0caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaabe0c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff9e8c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff9e8c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaabe0c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/rdar-6442306-1.m.script: line 1: 37952 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-disable-checker=alpha.core.PointerArithm /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6442306-1.m -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m (1050 of 19719) ******************** TEST 'Clang :: Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m 1. parser at end of file #0 0x0000ffff8d2fad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8d2f9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8d2fb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff962b77e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff955b0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff955b0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff955b0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff955b0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff955b0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff955b0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff955b0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff955b0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9525e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9525e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9525e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9525e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9525eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9525eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9525eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9525eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff95271aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff95271aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff95271aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff95272ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff95272ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff95272ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff952724c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff952724c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff952724c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9527eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9527eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9527eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff95288484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff95288484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff95288484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff951ec9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff951ec9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff951ec9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff951ec9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff951ecec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff951ecec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff951ecec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff951c0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff951c0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff951c0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff951fcea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff951fcea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff951fcea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff9521ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9521ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9521ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff954e52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff954e52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff954e52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff954e52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff954e52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff954e6278 llvm::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 0x0000ffff954e6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff954e6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff954ea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff954ea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff954ea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff954ea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff954ea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff93941b88 __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 0x0000ffff93941b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff93941b88 void clang::finalize>, 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 0x0000ffff93941b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff95005600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff94fbd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff94fbd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff94fbd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff950436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad3ec59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad3ec94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad3ecaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad3ec1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8c54098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff8c540a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad3ec20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/rdar-6600344-nil-receiver-undefined-struct-ret.m.script: line 1: 37970 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/rdar-6562655.m (1051 of 19719) ******************** TEST 'Clang :: Analysis/rdar-6562655.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6562655.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6562655.m 1. parser at end of file #0 0x0000ffff7c37ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7c379180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7c37b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff853357e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff84630e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff84630e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff84630e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff84630e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff84630e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff84630e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff84630e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff84630e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff842de018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff842de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff842de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff842de018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff842deef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff842deef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff842deef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff842deef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff842f1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff842f1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff842f1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff842f2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff842f2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff842f2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff842f24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff842f24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff842f24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff842feb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff842feb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff842feb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff84308484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff84308484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff84308484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8426c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8426c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8426c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8426c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8426cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8426cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8426cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff84240400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff84240400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff84240400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8427cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8427cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8427cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff8429ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8429ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8429ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff845652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff845652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff845652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff845652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff845652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff84566278 llvm::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 0x0000ffff84566278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff84566278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8456a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8456a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8456a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8456a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8456a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff829c1b88 __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 0x0000ffff829c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff829c1b88 void clang::finalize>, 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 0x0000ffff829c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff84085600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8403d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8403d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8403d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff840c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaaaea259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaaaea294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaaaea2aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaaaea21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff7b5c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff7b5c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaaaea220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/rdar-6562655.m.script: line 1: 37968 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6562655.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/properties.mm (1052 of 19719) ******************** TEST 'Clang :: Analysis/properties.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,debug.ExprInspection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.mm : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,debug.ExprInspection -verify -Wno-objc-root-class -fobjc-arc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,debug.ExprInspection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.mm 1. parser at end of file 2. While analyzing stack: #0 Calling testNoDirectPropertyDecl(NoDirectPropertyDecl *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.mm:92:25: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.mm:92:25: Error evaluating statement #0 0x0000ffffb320ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb3209180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb320b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbc1ce7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbb4c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbb4c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbb4c0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbb4c0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbb4c0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbb4c0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbb4c0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbb4c0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbb16e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbb16e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbb16e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbb16e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbb16eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbb16eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbb16eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbb16eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbb181aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbb181aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbb181aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbb182ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbb182ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbb182ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbb1824c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbb1824c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbb1824c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbb18eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbb18eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbb18eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbb198484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbb198484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbb198484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbb0fc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbb0fc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbb0fc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbb0fc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbb5eb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbb5eb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbb5eb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbb15eafc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffbb15eafc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffbb15eafc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffbb15eafc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffbb15eafc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffbb15eafc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffffbb128de8 clang::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 0x0000ffffbb128de8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffffbb12a2b8 clang::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 0x0000ffffbb12a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbb12a7cc clang::ento::CoreEngine::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 0x0000ffffbb12ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffbb12ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffbb12ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffbb12ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffbb12ab14 clang::ento::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 0x0000ffffbb3f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffbb3f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffbb3f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffbb3f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffbb3f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffbb3f6278 llvm::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 0x0000ffffbb3f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffbb3f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffbb3fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffbb3fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffbb3fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffbb3fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffbb3fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb9851b88 __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 0x0000ffffb9851b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb9851b88 void clang::finalize>, 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 0x0000ffffb9851b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffbaf15600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffbaecd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffbaecd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffbaecd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffbaf536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaddb459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaddb494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaddb4aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaddb41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb245098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb2450a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaddb420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/properties.mm.script: line 2: 37925 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,debug.ExprInspection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/pthreadlock_state.c (1053 of 19719) ******************** TEST 'Clang :: Analysis/pthreadlock_state.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.PthreadLock,debug.ExprInspection 2>&1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state.c -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state.c:17:12: error: CHECK: expected string not found in input // CHECK: { "checker": "alpha.core.PthreadLockBase", "messages": [ ^ :13:26: note: scanning from here "checker_messages": null ^ :16:300: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.PthreadLock,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state.c ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state.c -dump-input=help explains the following input dump. Input was: <<<<<< . . . 8: "constraints": null, 9: "equivalence_classes": null, 10: "disequality_info": null, 11: "dynamic_types": null, 12: "dynamic_casts": null, 13: "checker_messages": null check:17'0 X error: no match found 14: }PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15: Stack dump: check:17'0 ~~~~~~~~~~~~ 16: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.PthreadLock,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state.c check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:17'1 ? possible intended match 17: 1. parser at end of file check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18: 2. While analyzing stack: check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19: #0 Calling test check:17'0 ~~~~~~~~~~~~~~~~~ 20: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state.c:16:3: Error evaluating statement check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21: #0 0x0000ffff9dc3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/region-store.cpp (1062 of 19719) ******************** TEST 'Clang :: Analysis/region-store.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling radar13445834(Derived *, Loc) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.cpp:25:19: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.cpp:25:19: Error evaluating statement #0 0x0000ffff8fe1ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8fe19180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8fe1b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff98dd07e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff97d25734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff97d25734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff97d25734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff97d25734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff97d25734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff97d25734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff97d25734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff97d25734 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 0x0000ffff97d56660 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffff97d56804 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffff97d56804 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffff97d56804 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffff97d33514 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffff97d3920c clang::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 0x0000ffff97d3920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffff97d3a2b8 clang::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 0x0000ffff97d3a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff97d3a7cc clang::ento::CoreEngine::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 0x0000ffff97d3ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffff97d3ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffff97d3ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffff97d3ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffff97d3ab14 clang::ento::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 0x0000ffff980052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffff980052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffff980052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffff980052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffff980052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffff98006278 llvm::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 0x0000ffff98006278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffff98006278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffff9800a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff9800a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff9800a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffff9800a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffff9800a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffff96461b88 __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 0x0000ffff96461b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffff96461b88 void clang::finalize>, 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 0x0000ffff96461b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffff97b25600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffff97add524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffff97add524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffff97add524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffff97b636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaadace59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaadace94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaadaceaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaadace1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffff8f06098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffff8f060a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaadace20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/region-store.cpp.script: line 1: 37991 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-cpp-classes.cpp (1063 of 19719) ******************** TEST 'Clang :: Analysis/retain-release-cpp-classes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cpp-classes.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cpp-classes.cpp 1. parser at end of file #0 0x0000ffffa91ead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa91e9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa91eb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb21a27e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb10f9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb10f9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb10f9f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb10f9f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb10f9f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb10f9f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb10f9f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb10f9f54 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 0x0000ffffb10fa878 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 0x0000ffffb110a954 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 0x0000ffffb110ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffb110ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffb110ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffb110ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffb110ab14 clang::ento::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 0x0000ffffb13d52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb13d52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb13d52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffb13d52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffb13d52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffb13d6278 llvm::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 0x0000ffffb13d6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffb13d6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffb13da900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffb13da900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffb13da900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffb13da900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffb13da900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffaf831b88 __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 0x0000ffffaf831b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffaf831b88 void clang::finalize>, 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 0x0000ffffaf831b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffb0ef5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffb0ead524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffb0ead524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffb0ead524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffb0f336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaaccf059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaaccf094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaaccf0aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaaccf01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffa843098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffa8430a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaaccf020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-cpp-classes.cpp.script: line 1: 38023 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cpp-classes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-cf-audited.m (1064 of 19719) ******************** TEST 'Clang :: Analysis/retain-release-cf-audited.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cf-audited.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cf-audited.m -x objective-c++ -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cf-audited.m 1. parser at end of file 2. While analyzing stack: #0 Calling testUnaudited 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cf-audited.m:27:3: Error evaluating statement #0 0x0000ffffb204ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb2049180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb204b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbb00e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffba188138 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffba188138 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffba188138 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffba188138 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffba188138 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffba188138 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 0x0000ffffba188138 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffba188138 clang::ento::retaincountchecker::RetainCountChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp:1417:47 #12 0x0000ffffb9f3aae4 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 0x0000ffffb9f552e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffb9f552e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffb9f552e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffb9f552e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffb9f552e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffb9f552e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffb9f552e8 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 0x0000ffffb9f6a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffb9f6a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffb9f6a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffb9f6a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffb9f6a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffb9f6a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffb9f6a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffb9f6a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffb9f6a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffb9f6a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb9f6a7cc clang::ento::CoreEngine::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 0x0000ffffb9f6ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffb9f6ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffb9f6ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffb9f6ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffb9f6ab14 clang::ento::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 0x0000ffffba2352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffba2352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffba2352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffba2352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffba2352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffba236278 llvm::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 0x0000ffffba236278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffba236278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffba23a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffba23a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffba23a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffba23a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffba23a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffb8691b88 __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 0x0000ffffb8691b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffb8691b88 void clang::finalize>, 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 0x0000ffffb8691b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffb9d55600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffb9d0d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffb9d0d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffb9d0d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffb9d936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaab32d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaab32d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaab32daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaab32d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffb129098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffb1290a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaab32d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-cf-audited.m.script: line 2: 38007 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cf-audited.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-cache-out.m (1065 of 19719) ******************** TEST 'Clang :: Analysis/retain-release-cache-out.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cache-out.m -analyzer-checker=core,osx.cocoa.RetainCount -fblocks -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cache-out.m -analyzer-checker=core,osx.cocoa.RetainCount -fblocks -verify 1. parser at end of file 2. While analyzing stack: #0 Calling testDoubleRelease2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cache-out.m:20:10: Error evaluating statement #0 0x0000ffffa840ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa8409180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa840b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb13c67e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb0306124 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb0306124 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb0306124 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb0306124 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb0306124 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb0306124 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 0x0000ffffb0306124 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb0306124 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffffb06b00f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffb06b00f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffb06b00f8 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffffb06b00f8 (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 0x0000ffffb02faae4 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 0x0000ffffb03152e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffffb03152e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffffb03152e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffffb03152e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffffb03152e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffffb03152e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffffb03152e8 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 0x0000ffffb032a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffffb032a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffffb032a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffffb032a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffffb032a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffffb032a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffffb032a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffffb032a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffffb032a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #33 0x0000ffffb032a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb032a7cc clang::ento::CoreEngine::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 0x0000ffffb032ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffb032ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffb032ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffb032ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffb032ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffffb05f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffb05f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffb05f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffb05f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffb05f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffb05f6278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffffb05f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffb05f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffb05fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffb05fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffb05fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffb05fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffb05fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffaea51b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffffaea51b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffaea51b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffffaea51b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffb0115600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffb00cd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffb00cd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffb00cd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffb01536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaadd9759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaadd9794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaadd97aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaadd971fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffffa765098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffffa7650a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaadd9720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-cache-out.m.script: line 1: 38006 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cache-out.m -analyzer-checker=core,osx.cocoa.RetainCount -fblocks -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/region-1.m (1066 of 19719) ******************** TEST 'Clang :: Analysis/region-1.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-1.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-1.m 1. parser at end of file #0 0x0000ffff99c9ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff99c99180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff99c9b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa2c5b7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa1f50e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa1f50e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa1f50e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa1f50e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa1f50e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa1f50e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa1f50e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa1f50e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa1bfe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa1bfe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa1bfe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa1bfe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa1bfeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa1bfeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa1bfeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa1bfeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa1c11aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa1c11aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa1c11aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa1c12ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa1c12ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa1c12ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa1c124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa1c124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa1c124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa1c1eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa1c1eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa1c1eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa1c28484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa1c28484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa1c28484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa1b8c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa1b8c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa1b8c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa1b8c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa1b8cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa1b8cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa1b8cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa1b60400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa1b60400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa1b60400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa1b9cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa1b9cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa1b9cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa1bbae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa1bbae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa1bbae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa1e852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa1e852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa1e852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa1e852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa1e852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa1e86278 llvm::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 0x0000ffffa1e86278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa1e86278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa1e8a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa1e8a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa1e8a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa1e8a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa1e8a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa02e1b88 __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 0x0000ffffa02e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa02e1b88 void clang::finalize>, 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 0x0000ffffa02e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa19a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa195d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa195d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa195d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa19e36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae68e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae68e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae68eaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae68e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff98ee098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff98ee0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae68e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/region-1.m.script: line 1: 37982 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-1.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/reference.cpp (1067 of 19719) ******************** TEST 'Clang :: Analysis/reference.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -Wno-null-dereference -Wno-tautological-undefined-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reference.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -Wno-null-dereference -Wno-tautological-undefined-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reference.cpp 1. parser at end of file #0 0x0000ffff81eead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff81ee9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff81eeb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8aeaa7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8a1a0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8a1a0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8a1a0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8a1a0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8a1a0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8a1a0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8a1a0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8a1a0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff89e4e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff89e4e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff89e4e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff89e4e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff89e4eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff89e4eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff89e4eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff89e4eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff89e61aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff89e61aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff89e61aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff89e62ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff89e62ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff89e62ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff89e624c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff89e624c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff89e624c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff89e6eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff89e6eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff89e6eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff89e78484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff89e78484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff89e78484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff89ddc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff89ddc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff89ddc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff89ddc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff89ddcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff89ddcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff89ddcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff89db0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff89db0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff89db0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff89dece5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff89dece5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff89dece5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff89e0ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff89e0ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff89e0ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8a0d52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8a0d52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8a0d52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8a0d52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8a0d52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff8a0d6278 llvm::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 0x0000ffff8a0d6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff8a0d6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8a0da900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8a0da900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8a0da900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8a0da900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8a0da900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff88531b88 __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 0x0000ffff88531b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff88531b88 void clang::finalize>, 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 0x0000ffff88531b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff89bf5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff89bad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff89bad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff89bad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff89c336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaadbe059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaadbe094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaadbe0aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaadbe01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8113098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff81130a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaadbe020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/reference.cpp.script: line 1: 37985 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -Wno-null-dereference -Wno-tautological-undefined-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reference.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/region-store.c (1068 of 19719) ******************** TEST 'Clang :: Analysis/region-store.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix,debug.ExprInspection -verify -analyzer-config eagerly-assume=false -std=c99 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.c -Wno-implicit-function-declaration -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix,debug.ExprInspection -verify -analyzer-config eagerly-assume=false -std=c99 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.c -Wno-implicit-function-declaration 1. parser at end of file 2. While analyzing stack: #0 Calling testConstraintOnRegionOffsetStack 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.c:56:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.c:56:7: Error evaluating statement #0 0x0000ffff8153ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff81539180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8153b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8a4fb7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff897f0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff897f0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff897f0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff897f0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff897f0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff897f0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff897f0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff897f0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8949e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8949e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8949e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8949e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8949eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8949eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8949eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8949eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff894b1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff894b1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff894b1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff894b2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff894b2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff894b2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff894b24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff894b24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff894b24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff894beb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff894beb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff894beb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff894c8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff894c8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff894c8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8942c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8942c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8942c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8942c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8991b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8991b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8991b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8954c500 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8954c500 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8954c500 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff8954c500 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff89416c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff8943f570 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff8943f570 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff8943f7ac llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffff8943f7ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff8943f7ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff8943f7ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffff8944f470 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff8944f470 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff8944f470 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffff89458c34 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffff89458c34 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffff89458c34 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffff8945a2b8 clang::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 0x0000ffff8945a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8945a7cc clang::ento::CoreEngine::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 0x0000ffff8945ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff8945ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff8945ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff8945ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff8945ab14 clang::ento::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 0x0000ffff897252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff897252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff897252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff897252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff897252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff89726278 llvm::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 0x0000ffff89726278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff89726278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff8972a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff8972a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff8972a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff8972a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff8972a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff87b81b88 __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 0x0000ffff87b81b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff87b81b88 void clang::finalize>, 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 0x0000ffff87b81b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff89245600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff891fd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff891fd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff891fd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff892836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaab2cb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaab2cb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaab2cbaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaab2cb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff8078098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff80780a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaab2cb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/region-store.c.script: line 1: 37990 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix,debug.ExprInspection -verify -analyzer-config eagerly-assume=false -std=c99 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.c -Wno-implicit-function-declaration -- ******************** Testing: 0 FAIL: Clang :: Analysis/refcnt_naming.m (1069 of 19719) ******************** TEST 'Clang :: Analysis/refcnt_naming.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -analyzer-config ipa=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/refcnt_naming.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -analyzer-config ipa=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/refcnt_naming.m 1. parser at end of file 2. While analyzing stack: #0 Calling testNames 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/refcnt_naming.m:60:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/refcnt_naming.m:60:3: Error evaluating statement #0 0x0000ffffb053ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb0539180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb053b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb94fc7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb87f0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb87f0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb87f0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb87f0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb87f0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb87f0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb87f0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb87f0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb849e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb849e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb849e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb849e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb849eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb849eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb849eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb849eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb84b1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb84b1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb84b1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb84b2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb84b2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb84b2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb84b24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb84b24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb84b24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb84beb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb84beb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb84beb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb84c8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb84c8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb84c8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb842c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb842c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb842c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb842c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb891b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb891b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb891b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb848eafc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffb848eafc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffb848eafc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffb848eafc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffb848eafc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffb848eafc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffffb8458de8 clang::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 0x0000ffffb8458de8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffffb845a2b8 clang::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 0x0000ffffb845a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb845a7cc clang::ento::CoreEngine::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 0x0000ffffb845ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb845ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb845ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb845ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb845ab14 clang::ento::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 0x0000ffffb87252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb87252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb87252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb87252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb87252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb872a1d4 VisitFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:319:0 #64 0x0000ffffb872a1d4 WalkUpFromFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:433:0 #65 0x0000ffffb872a1d4 TraverseFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/RecursiveASTVisitor.h:2226:0 #66 0x0000ffffb872a1d4 clang::RecursiveASTVisitor<(anonymous namespace)::AnalysisConsumer>::TraverseDecl(clang::Decl*) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:433:0 #67 0x0000ffffb872a824 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:552:0 #68 0x0000ffffb872a824 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x0000ffffb6b81b88 __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 0x0000ffffb6b81b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x0000ffffb6b81b88 void clang::finalize>, 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 0x0000ffffb6b81b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x0000ffffb8245600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #74 0x0000ffffb81fd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #75 0x0000ffffb81fd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #76 0x0000ffffb81fd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #77 0x0000ffffb82836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #78 0x0000aaaad6e559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x0000aaaad6e594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x0000aaaad6e5aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x0000aaaad6e51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x0000ffffaf78098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #83 0x0000ffffaf780a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #84 0x0000aaaad6e520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/refcnt_naming.m.script: line 1: 37980 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -analyzer-config ipa=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/refcnt_naming.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-compound-literal.m (1070 of 19719) ******************** TEST 'Clang :: Analysis/retain-release-compound-literal.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-compound-literal.m -analyzer-checker=core,osx.cocoa.RetainCount -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-compound-literal.m -analyzer-checker=core,osx.cocoa.RetainCount 1. parser at end of file 2. While analyzing stack: #0 Calling test1 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-compound-literal.m:21:7: Error evaluating statement #0 0x0000ffffb09fad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb09f9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb09fb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb99b57e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb8b38138 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb8b38138 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb8b38138 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb8b38138 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb8b38138 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb8b38138 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 0x0000ffffb8b38138 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb8b38138 clang::ento::retaincountchecker::RetainCountChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp:1417:47 #12 0x0000ffffb88eaae4 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 0x0000ffffb89052e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffb89052e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffb89052e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffb89052e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffb89052e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffb89052e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffb89052e8 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 0x0000ffffb891a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffb891a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffb891a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffb891a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffb891a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffb891a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffb891a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffb891a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffb891a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffb891a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb891a7cc clang::ento::CoreEngine::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 0x0000ffffb891ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffb891ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffb891ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffb891ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffb891ab14 clang::ento::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 0x0000ffffb8be52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffb8be52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffb8be52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffb8be52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffb8be52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffb8be6278 llvm::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 0x0000ffffb8be6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffb8be6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffb8bea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffb8bea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffb8bea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffb8bea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffb8bea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffb7041b88 __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 0x0000ffffb7041b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffb7041b88 void clang::finalize>, 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 0x0000ffffb7041b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffb8705600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffb86bd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffb86bd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffb86bd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffb87436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaac5b859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaac5b894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaac5b8aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaac5b81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffafc4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffafc40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaac5b820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-compound-literal.m.script: line 1: 38014 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-compound-literal.m -analyzer-checker=core,osx.cocoa.RetainCount -- ******************** Testing: 0 FAIL: Clang :: Analysis/reinterpret-cast.cpp (1071 of 19719) ******************** TEST 'Clang :: Analysis/reinterpret-cast.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reinterpret-cast.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reinterpret-cast.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling radar_13146953() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reinterpret-cast.cpp:100:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reinterpret-cast.cpp:100:10: Error evaluating statement #0 0x0000ffffaac7ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffaac79180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffaac7b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb3c3d7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb2f30e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb2f30e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb2f30e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb2f30e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb2f30e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb2f30e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb2f30e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb2f30e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb2bde018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb2bde018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb2bde018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb2bde018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb2bdeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb2bdeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb2bdeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb2bdeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb2bf1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb2bf1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb2bf1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb2bf2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb2bf2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb2bf2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb2bf24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb2bf24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb2bf24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb2bfeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb2bfeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb2bfeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb2c08484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb2c08484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb2c08484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb2b6c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb2b6c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb2b6c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb2b6c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb305b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb305b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb305b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb2c8c500 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb2c8c500 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb2c8c500 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffb2c8c500 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffb2b56c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffb2b7f570 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffb2b7f570 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffb2b7f7ac llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffffb2b7f7ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffb2b7f7ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffb2b7f7ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffb2b8f470 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffb2b8f470 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffb2b8f470 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffb2b98c34 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffb2b98c34 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffb2b98c34 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffb2b9a2b8 clang::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 0x0000ffffb2b9a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb2b9a7cc clang::ento::CoreEngine::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 0x0000ffffb2b9ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffb2b9ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffb2b9ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffb2b9ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffb2b9ab14 clang::ento::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 0x0000ffffb2e652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffb2e652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffb2e652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffb2e652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffb2e652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffb2e66278 llvm::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 0x0000ffffb2e66278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffb2e66278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffb2e6a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffb2e6a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffb2e6a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffb2e6a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffb2e6a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffb12c1b88 __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 0x0000ffffb12c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffb12c1b88 void clang::finalize>, 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 0x0000ffffb12c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffb2985600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffb293d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffb293d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffb293d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffb29c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaabe2f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaabe2f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaabe2faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaabe2f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffa9ec098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffa9ec0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaabe2f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/reinterpret-cast.cpp.script: line 1: 37997 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reinterpret-cast.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/region_store_overflow.c (1072 of 19719) ******************** TEST 'Clang :: Analysis/region_store_overflow.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region_store_overflow.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region_store_overflow.c 1. parser at end of file 2. While analyzing stack: #0 Calling rdar39593879 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region_store_overflow.c:14:11: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region_store_overflow.c:14:11: Error evaluating statement #0 0x0000ffffadbfad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffadbf9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffadbfb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb6bbf7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb5eb0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb5eb0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb5eb0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb5eb0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb5eb0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb5eb0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb5eb0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb5eb0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb5b5e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb5b5e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb5b5e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb5b5e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb5b5eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb5b5eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb5b5eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb5b5eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb5b71aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb5b71aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb5b71aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb5b72ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb5b72ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb5b72ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb5b724c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb5b724c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb5b724c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb5b7eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb5b7eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb5b7eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb5b88484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb5b88484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb5b88484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb5aec9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb5aec9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb5aec9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb5aec9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb5fdb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb5fdb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb5fdb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb5c0c500 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb5c0c500 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb5c0c500 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffb5c0c500 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffb5ad6c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffb5aff570 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffb5aff570 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffb5aff7ac llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffffb5aff7ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffb5aff7ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffb5aff7ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffb5b0f470 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffb5b0f470 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffb5b0f470 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffb5b18c34 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffb5b18c34 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffb5b18c34 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffb5b1a2b8 clang::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 0x0000ffffb5b1a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb5b1a7cc clang::ento::CoreEngine::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 0x0000ffffb5b1ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffb5b1ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffb5b1ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffb5b1ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffb5b1ab14 clang::ento::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 0x0000ffffb5de52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffb5de52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffb5de52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffb5de52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffb5de52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffb5de6278 llvm::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 0x0000ffffb5de6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffb5de6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffb5dea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffb5dea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffb5dea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffb5dea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffb5dea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffb4241b88 __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 0x0000ffffb4241b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffb4241b88 void clang::finalize>, 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 0x0000ffffb4241b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffb5905600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffb58bd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffb58bd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffb58bd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffb59436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaac39859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaac39894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaac398aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaac3981fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000fffface4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000fffface40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaac39820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/region_store_overflow.c.script: line 1: 37992 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region_store_overflow.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/redefined_system.c (1073 of 19719) ******************** TEST 'Clang :: Analysis/redefined_system.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx,unix,core,alpha.security.taint -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/redefined_system.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx,unix,core,alpha.security.taint -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/redefined_system.c 1. parser at end of file 2. While analyzing stack: #0 Calling foo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/redefined_system.c:16:22: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/redefined_system.c:16:22: Error evaluating statement #0 0x0000ffff7f81ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7f819180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7f81b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff887df7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff87ab4e10 llvm::ImutKeyValueInfo::isEqual(clang::ento::SymExpr const* const&, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableMap.h:45:0 #5 0x0000ffff87ab4e10 llvm::ImutAVLFactory>::remove_internal(clang::ento::SymExpr const* const&, llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:558:0 #6 0x0000ffff87ab4e10 llvm::ImutAVLFactory>::remove(llvm::ImutAVLTree>*, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableSet.h:403:0 #7 0x0000ffff87ab4e10 llvm::ImmutableMap>::Factory::remove(llvm::ImmutableMap>, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableMap.h:105:0 #8 0x0000ffff87ab4e10 clang::ento::ProgramStatePartialTrait>, void>::Remove(llvm::ImmutableMap>, clang::ento::SymExpr const*, llvm::ImmutableMap>::Factory&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:175:0 #9 0x0000ffff87ab4e10 remove<(anonymous namespace)::ArraySizeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:669:0 #10 0x0000ffff87ab4e10 remove<(anonymous namespace)::ArraySizeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:854:0 #11 0x0000ffff87ab4e10 (anonymous namespace)::ObjCContainersChecker::checkPointerEscape(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp:167:0 #12 0x0000ffff8790b0fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff8790b0fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff8790b0fc llvm::IntrusiveRefCntPtr clang::ento::check::PointerEscape::_checkPointerEscape<(anonymous namespace)::ObjCContainersChecker>(void*, llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:386:0 #15 0x0000ffff876d9454 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff876d9454 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff876d9454 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff876d9454 clang::ento::CheckerManager::runCheckersForPointerEscape(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:630:0 #19 0x0000ffff87720c7c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #20 0x0000ffff87720c7c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #21 0x0000ffff87720c7c clang::ento::ExprEngine::notifyCheckersOfPointerEscape(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, clang::ento::CallEvent const*, clang::ento::RegionAndSymbolInvalidationTraits&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3553:79 #22 0x0000ffff8776a7d4 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #23 0x0000ffff8776a7d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffff8776a7d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff8776a7d4 clang::ento::ProgramState::invalidateRegionsImpl(llvm::ArrayRef, clang::Expr const*, unsigned int, clang::LocationContext const*, bool, llvm::DenseSet>*, clang::ento::RegionAndSymbolInvalidationTraits*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:208:0 #26 0x0000ffff876ed9f4 std::_Rb_tree, std::less, std::allocator>::~_Rb_tree() /usr/include/c++/12/bits/stl_tree.h:986:0 #27 0x0000ffff876ed9f4 std::set, std::allocator>::~set() /usr/include/c++/12/bits/stl_set.h:281:0 #28 0x0000ffff876ed9f4 llvm::SmallSet>::~SmallSet() /usr/include/llvm/ADT/SmallSet.h:135:0 #29 0x0000ffff876ed9f4 clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:286:0 #30 0x0000ffff8776dc70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #31 0x0000ffff8776dc70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x0000ffff8776dc70 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:833:0 #33 0x0000ffff8776e684 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x0000ffff8776e684 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x0000ffff8776e684 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #36 0x0000ffff876f7268 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #37 0x0000ffff87756bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #38 0x0000ffff87756bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #39 0x0000ffff87756bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #40 0x0000ffff87756bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #41 0x0000ffff877574f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #42 0x0000ffff87739250 clang::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 0x0000ffff87739250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #44 0x0000ffff8773a2b8 clang::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 0x0000ffff8773a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8773a7cc clang::ento::CoreEngine::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 0x0000ffff8773ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #48 0x0000ffff8773ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #49 0x0000ffff8773ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #50 0x0000ffff8773ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #51 0x0000ffff8773ab14 clang::ento::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 0x0000ffff87a052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #53 0x0000ffff87a052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #54 0x0000ffff87a052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #55 0x0000ffff87a052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #56 0x0000ffff87a052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #57 0x0000ffff87a06278 llvm::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 0x0000ffff87a06278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #59 0x0000ffff87a06278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #60 0x0000ffff87a0a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffff87a0a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffff87a0a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #63 0x0000ffff87a0a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #64 0x0000ffff87a0a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #65 0x0000ffff85e61b88 __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 0x0000ffff85e61b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #67 0x0000ffff85e61b88 void clang::finalize>, 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 0x0000ffff85e61b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #69 0x0000ffff87525600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #70 0x0000ffff874dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #71 0x0000ffff874dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #72 0x0000ffff874dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #73 0x0000ffff875636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #74 0x0000aaaad6b059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #75 0x0000aaaad6b094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #76 0x0000aaaad6b0aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #77 0x0000aaaad6b01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #78 0x0000ffff7ea6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #79 0x0000ffff7ea60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #80 0x0000aaaad6b020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/redefined_system.c.script: line 1: 37977 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx,unix,core,alpha.security.taint -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/redefined_system.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-count-alloc.cpp (1074 of 19719) ******************** TEST 'Clang :: Analysis/retain-count-alloc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-count-alloc.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-count-alloc.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling useAfterFree(Object *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-count-alloc.cpp:29:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-count-alloc.cpp:29:7: Error evaluating statement #0 0x0000ffffa2adad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa2ad9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa2adb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffaba957e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffaad90e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaad90e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaad90e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaad90e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaad90e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaad90e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaad90e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaad90e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaaa3e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaaa3e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaaa3e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaaa3e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaaa3eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaaa3eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaaa3eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaaa3eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaaa51aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaaa51aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaaa51aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffaaa52ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaaa52ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaaa52ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffaaa524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaaa524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaaa524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaaa5eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaaa5eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaaa5eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaaa68484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaaa68484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaaa68484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaa9cc9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaa9cc9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaa9cc9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaa9cc9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffaaebb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaaebb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaaebb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffaa9dfd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffaa9dfd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffaa9dfd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffaa9fa05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffaa9fa05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffaa9fa05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffaa9fa05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffaa9fa05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffaa9fa2b8 clang::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 0x0000ffffaa9fa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffaa9fa7cc clang::ento::CoreEngine::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 0x0000ffffaa9fab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffaa9fab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffaa9fab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffaa9fab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffaa9fab14 clang::ento::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 0x0000ffffaacc52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffaacc52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffaacc52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffaacc52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffaacc52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffaacc6278 llvm::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 0x0000ffffaacc6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffaacc6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffaacca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffaacca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffaacca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffaacca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffaacca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa9121b88 __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 0x0000ffffa9121b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa9121b88 void clang::finalize>, 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 0x0000ffffa9121b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffaa7e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffaa79d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffaa79d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffaa79d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffaa8236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaacb2459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaacb2494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaacb24aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaacb241fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa1d2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa1d20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaacb2420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-count-alloc.cpp.script: line 1: 38002 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-count-alloc.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/rdar-7168531.m (1075 of 19719) ******************** TEST 'Clang :: Analysis/rdar-7168531.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -triple i386-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-7168531.m -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-7168531.m:6:12: warning: class 'Foo' defined without specifying a base class [-Wobjc-root-class] 6 | @interface Foo { | ^ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-7168531.m:6:15: note: add a super class to fix this problem 6 | @interface Foo { | ^ PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -triple i386-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-7168531.m 1. parser at end of file 2. While analyzing stack: #0 Calling bar 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-7168531.m:13:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-7168531.m:13:7: Error evaluating statement #0 0x0000ffff94f3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff94f39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff94f3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9def57e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9d1f0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9d1f0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9d1f0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9d1f0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9d1f0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9d1f0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9d1f0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9d1f0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9ce9e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9ce9e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9ce9e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9ce9e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9ce9eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9ce9eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9ce9eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9ce9eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9ceb1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9ceb1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9ceb1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9ceb2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9ceb2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9ceb2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9ceb24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9ceb24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9ceb24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9cebeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9cebeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9cebeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9cec8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9cec8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9cec8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9ce2c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9ce2c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9ce2c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9ce2c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9d31b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9d31b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9d31b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9cf4c500 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9cf4c500 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9cf4c500 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff9cf4c500 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff9ce16c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff9ce3f570 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff9ce3f570 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff9ce3f7ac llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffff9ce3f7ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff9ce3f7ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff9ce3f7ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffff9ce4f470 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff9ce4f470 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff9ce4f470 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffff9ce58c34 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffff9ce58c34 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffff9ce58c34 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffff9ce5a2b8 clang::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 0x0000ffff9ce5a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9ce5a7cc clang::ento::CoreEngine::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 0x0000ffff9ce5ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff9ce5ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff9ce5ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff9ce5ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff9ce5ab14 clang::ento::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 0x0000ffff9d1252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff9d1252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff9d1252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff9d1252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff9d1252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff9d126278 llvm::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 0x0000ffff9d126278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff9d126278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff9d12a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff9d12a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff9d12a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff9d12a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff9d12a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff9b581b88 __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 0x0000ffff9b581b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff9b581b88 void clang::finalize>, 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 0x0000ffff9b581b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff9cc45600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff9cbfd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff9cbfd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff9cbfd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff9cc836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaad95659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaad95694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaad956aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaad9561fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff9418098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff94180a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaad95620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/rdar-7168531.m.script: line 1: 37974 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -triple i386-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-7168531.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-arc.m (1076 of 19719) ******************** TEST 'Clang :: Analysis/retain-release-arc.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fobjc-arc -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-arc.m -analyzer-output=text : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-arc.m -analyzer-output=text -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fobjc-arc -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-arc.m -analyzer-output=text 1. parser at end of file 2. While analyzing stack: #0 Calling libdispatch_dispatch_released_data 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-arc.m:136:26: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-arc.m:136:26: Error evaluating statement #0 0x0000ffff988cad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff988c9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff988cb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa18877e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa09ff9b8 llvm::ImutKeyValueInfo::isEqual(clang::ento::SymExpr const* const&, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableMap.h:45:41 #5 0x0000ffffa09ff9b8 llvm::ImutAVLFactory>::remove_internal(clang::ento::SymExpr const* const&, llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:558:26 #6 0x0000ffffa09ff9b8 llvm::ImutAVLFactory>::remove(llvm::ImutAVLTree>*, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableSet.h:403:24 #7 0x0000ffffa09ff9b8 llvm::ImmutableMap>::Factory::remove(llvm::ImmutableMap>, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableMap.h:105:27 #8 0x0000ffffa09ff9b8 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 0x0000ffffa09ff9b8 remove<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:669:89 #10 0x0000ffffa09ff9b8 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::remove<(anonymous namespace)::RefBindings>(clang::ento::ProgramStateTrait<(anonymous namespace)::RefBindings>::key_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:854:63 #11 0x0000ffffa0a0007c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #12 0x0000ffffa0a0007c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #13 0x0000ffffa0a0007c 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 0x0000ffffa0a001f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #15 0x0000ffffa0a001f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #16 0x0000ffffa0a001f8 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 0x0000ffffa07892f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x0000ffffa07892f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa07892f4 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #20 0x0000ffffa07892f4 clang::ento::CheckerManager::runCheckersForRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:608:0 #21 0x0000ffffa081a6c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #22 0x0000ffffa081a6c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #23 0x0000ffffa081a6c0 clang::ento::ExprEngine::processRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:681:0 #24 0x0000ffffa081a6c0 clang::ento::ProgramState::invalidateRegionsImpl(llvm::ArrayRef, clang::Expr const*, unsigned int, clang::LocationContext const*, bool, llvm::DenseSet>*, clang::ento::RegionAndSymbolInvalidationTraits*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:215:0 #25 0x0000ffffa079d9f4 std::_Rb_tree, std::less, std::allocator>::~_Rb_tree() /usr/include/c++/12/bits/stl_tree.h:986:0 #26 0x0000ffffa079d9f4 std::set, std::allocator>::~set() /usr/include/c++/12/bits/stl_set.h:281:0 #27 0x0000ffffa079d9f4 llvm::SmallSet>::~SmallSet() /usr/include/llvm/ADT/SmallSet.h:135:0 #28 0x0000ffffa079d9f4 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 0x0000ffffa081dc70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #30 0x0000ffffa081dc70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #31 0x0000ffffa081dc70 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 0x0000ffffa081e684 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa081e684 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa081e684 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 0x0000ffffa07a7268 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 0x0000ffffa0806bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #37 0x0000ffffa0806bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #38 0x0000ffffa0806bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #39 0x0000ffffa0806bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #40 0x0000ffffa08074f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #41 0x0000ffffa07e9250 clang::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 0x0000ffffa07e9250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #43 0x0000ffffa07ea2b8 clang::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 0x0000ffffa07ea5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa07ea7cc clang::ento::CoreEngine::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 0x0000ffffa07eab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #47 0x0000ffffa07eab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #48 0x0000ffffa07eab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #49 0x0000ffffa07eab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #50 0x0000ffffa07eab14 clang::ento::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 0x0000ffffa0ab52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa0ab52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa0ab52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa0ab52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa0ab52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa0ab6278 llvm::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 0x0000ffffa0ab6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa0ab6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa0aba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa0aba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa0aba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa0aba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa0aba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff9ef11b88 __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 0x0000ffff9ef11b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff9ef11b88 void clang::finalize>, 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 0x0000ffff9ef11b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa05d5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa058d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa058d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa058d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa06136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae8b059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae8b094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae8b0aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae8b01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff97b1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff97b10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae8b020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-arc.m.script: line 2: 38008 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fobjc-arc -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-arc.m -analyzer-output=text -- ******************** Testing: 0 FAIL: Clang :: Analysis/return-value-guaranteed.cpp (1085 of 19719) ******************** TEST 'Clang :: Analysis/return-value-guaranteed.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,apiModeling.llvm.ReturnValue -analyzer-output=text -verify=class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-value-guaranteed.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,apiModeling.llvm.ReturnValue -analyzer-output=text -verify=class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-value-guaranteed.cpp 1. parser at end of file #0 0x0000ffff782aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff782a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff782ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8126f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff801b9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff801b9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff801b9f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff801b9f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff801b9f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff801b9f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff801b9f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff801b9f54 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 0x0000ffff801ba878 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 0x0000ffff801ca954 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 0x0000ffff801cab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff801cab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff801cab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff801cab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff801cab14 clang::ento::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 0x0000ffff804952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff804952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff804952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff804952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff804952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff80496278 llvm::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 0x0000ffff80496278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff80496278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff8049a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff8049a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff8049a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff8049a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff8049a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff7e8f1b88 __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 0x0000ffff7e8f1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff7e8f1b88 void clang::finalize>, 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 0x0000ffff7e8f1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff7ffb5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff7ff6d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff7ff6d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff7ff6d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff7fff36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaab9b359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaab9b394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaab9b3aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaab9b31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff774f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff774f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaab9b320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/return-value-guaranteed.cpp.script: line 1: 38049 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,apiModeling.llvm.ReturnValue -analyzer-output=text -verify=class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-value-guaranteed.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release.mm (1087 of 19719) ******************** TEST 'Clang :: Analysis/retain-release.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.mm 1. parser at end of file 2. While analyzing stack: #0 Calling reinterpret_casts::fooBar() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.mm:541:3: Error evaluating statement #0 0x0000ffff7affad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7aff9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7affb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff83fb77e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff83138138 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff83138138 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff83138138 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff83138138 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff83138138 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff83138138 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 0x0000ffff83138138 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff83138138 clang::ento::retaincountchecker::RetainCountChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp:1417:47 #12 0x0000ffff82eeaae4 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 0x0000ffff82f052e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff82f052e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff82f052e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff82f052e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff82f052e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff82f052e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff82f052e8 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 0x0000ffff82f1a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff82f1a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff82f1a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff82f1a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff82f1a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff82f1a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff82f1a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff82f1a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff82f1a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffff82f1a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff82f1a7cc clang::ento::CoreEngine::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 0x0000ffff82f1ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff82f1ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff82f1ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff82f1ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff82f1ab14 clang::ento::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 0x0000ffff831e52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff831e52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff831e52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff831e52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff831e52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff831e6278 llvm::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 0x0000ffff831e6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff831e6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff831ea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff831ea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff831ea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff831ea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff831ea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff81641b88 __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 0x0000ffff81641b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff81641b88 void clang::finalize>, 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 0x0000ffff81641b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff82d05600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff82cbd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff82cbd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff82cbd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff82d436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaab88959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaab88994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaab889aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaab8891fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff7a24098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff7a240a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaab88920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.mm.script: line 1: 38035 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-inline.m (1088 of 19719) ******************** TEST 'Clang :: Analysis/retain-release-inline.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-inline.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-inline.m 1. parser at end of file #0 0x0000ffffa2a4ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa2a49180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa2a4b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffaba077e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffaad00e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaad00e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaad00e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaad00e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaad00e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaad00e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaad00e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaad00e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaa9ae018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaa9ae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaa9ae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaa9ae018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaa9aeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaa9aeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaa9aeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaa9aeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaa9c1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaa9c1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaa9c1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffaa9c2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaa9c2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaa9c2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffaa9c24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaa9c24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaa9c24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaa9ceb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaa9ceb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaa9ceb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaa9d8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaa9d8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaa9d8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaa93c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaa93c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaa93c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaa93c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffaa93cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaa93cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaa93cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffaa910400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffaa910400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffaa910400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffaa94cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffaa94cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffaa94cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffaa96ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffaa96ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffaa96ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffaac352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffaac352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffaac352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffaac352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffaac352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffaac36278 llvm::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 0x0000ffffaac36278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffaac36278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffaac3a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffaac3a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffaac3a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffaac3a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffaac3a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa9091b88 __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 0x0000ffffa9091b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa9091b88 void clang::finalize>, 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 0x0000ffffa9091b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffaa755600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffaa70d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffaa70d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffaa70d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffaa7936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaabc9459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaabc9494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaabc94aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaabc941fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa1c9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa1c90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaabc9420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-inline.m.script: line 1: 38026 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-inline.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/return-stmt-merge.cpp (1089 of 19719) ******************** TEST 'Clang :: Analysis/return-stmt-merge.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder,debug.ExprInspection -analyzer-config debug.AnalysisOrder:PreCall=true,debug.AnalysisOrder:PostCall=true,debug.AnalysisOrder:LiveSymbols=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-stmt-merge.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-stmt-merge.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-stmt-merge.cpp:33:16: error: CHECK-NEXT: is not on the line after the previous match // CHECK-NEXT: LiveSymbols ^ :12:456: note: 'next' match was here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder,debug.ExprInspection -analyzer-config debug.AnalysisOrder:PreCall=true,debug.AnalysisOrder:PostCall=true,debug.AnalysisOrder:LiveSymbols=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-stmt-merge.cpp ^ :9:12: note: previous match ended here LiveSymbols ^ :10:1: note: non-matching line after previous match is here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-stmt-merge.cpp -dump-input=help explains the following input dump. Input was: <<<<<< . . . 7: PostCall (coin) [SimpleFunctionCall] 8: LiveSymbols 9: LiveSymbols 10: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. 11: Stack dump: 12: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder,debug.ExprInspection -analyzer-config debug.AnalysisOrder:PreCall=true,debug.AnalysisOrder:PostCall=true,debug.AnalysisOrder:LiveSymbols=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-stmt-merge.cpp next:33 !~~~~~~~~~~ error: match on wrong line 13: 1. parser at end of file 14: 2. While analyzing stack: 15: #0 Calling foo() at line 21 16: #1 Calling bar() 17: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-stmt-merge.cpp:17:5: Error evaluating statement . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release.m (1090 of 19719) ******************** TEST 'Clang :: Analysis/retain-release.m' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -f /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.tmp.objc.plist /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.tmp.objcpp.plist : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease -analyzer-checker=osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-checker=debug.ExprInspection -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.m -Wno-objc-root-class -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.tmp.objc.plist : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease -analyzer-checker=osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-checker=debug.ExprInspection -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.m -Wno-objc-root-class -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.tmp.objcpp.plist -x objective-c++ -std=gnu++98 : 'RUN: at line 13'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease -analyzer-checker=osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-checker=debug.ExprInspection -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.m -Wno-objc-root-class -x objective-c++ -std=gnu++98 -analyzer-config osx.cocoa.RetainCount:TrackNSCFStartParam=true -DTRACK_START_PARAM : 'RUN: at line 20'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' .* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling testCFReturnsRetainedError 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.m:2397:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.m:2397:7: Error evaluating statement #0 0x0000ffff8004ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff80049180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8004b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff890097e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff88300e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff88300e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff88300e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff88300e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff88300e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff88300e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff88300e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff88300e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff87fae018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff87fae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff87fae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff87fae018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff87faeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff87faeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff87faeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff87faeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff87fc1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff87fc1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff87fc1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff87fc2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff87fc2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff87fc2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff87fc24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff87fc24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff87fc24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff87fceb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff87fceb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff87fceb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff87fd8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff87fd8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff87fd8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff87f3c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff87f3c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff87f3c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff87f3c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8842b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8842b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8842b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff87f4fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff87f4fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff87f4fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff87f6a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff87f6a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff87f6a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff87f6a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff87f6a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff87f6a2b8 clang::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 0x0000ffff87f6a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff87f6a7cc clang::ento::CoreEngine::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 0x0000ffff87f6ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff87f6ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff87f6ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff87f6ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff87f6ab14 clang::ento::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 0x0000ffff882352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff882352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff882352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff882352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff882352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff88236278 llvm::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 0x0000ffff88236278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff88236278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8823a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8823a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8823a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8823a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8823a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff86691b88 __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 0x0000ffff86691b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff86691b88 void clang::finalize>, 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 0x0000ffff86691b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff87d55600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff87d0d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff87d0d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff87d0d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff87d936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad36c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad36c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad36caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad36c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7f29098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7f290a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad36c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.script: line 6: 38042 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease -analyzer-checker=osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-checker=debug.ExprInspection -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.m -Wno-objc-root-class -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.tmp.objc.plist -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-path-notes.m (1091 of 19719) ******************** TEST 'Clang :: Analysis/retain-release-path-notes.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-path-notes.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-path-notes.m -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-path-notes.m.tmp : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file #0 0x0000ffff8c97ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8c979180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8c97b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff959327e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff94c30e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff94c30e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff94c30e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff94c30e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff94c30e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff94c30e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff94c30e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff94c30e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff948de018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff948de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff948de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff948de018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff948deef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff948deef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff948deef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff948deef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff948f1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff948f1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff948f1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff948f2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff948f2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff948f2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff948f24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff948f24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff948f24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff948feb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff948feb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff948feb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff94908484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff94908484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff94908484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9486c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9486c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9486c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9486c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9486cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9486cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9486cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff94840400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff94840400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff94840400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9487cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9487cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9487cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff9489ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9489ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9489ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff94b652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff94b652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff94b652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff94b652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff94b652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff94b66278 llvm::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 0x0000ffff94b66278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff94b66278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff94b6a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff94b6a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff94b6a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff94b6a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff94b6a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff92fc1b88 __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 0x0000ffff92fc1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff92fc1b88 void clang::finalize>, 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 0x0000ffff92fc1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff94685600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9463d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9463d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9463d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff946c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaaab0459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaaab0494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaaab04aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaaab041fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8bbc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff8bbc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaaab0420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-path-notes.m.script: line 3: 38029 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-path-notes.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/return-ptr-range.cpp (1093 of 19719) ******************** TEST 'Clang :: Analysis/return-ptr-range.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.ReturnPtrRange -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-ptr-range.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.ReturnPtrRange -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-ptr-range.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_array_of_struct::test_struct_array() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-ptr-range.cpp:108:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-ptr-range.cpp:108:7: Error evaluating statement #0 0x0000ffff8b3cad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8b3c9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8b3cb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff943807e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff93680e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff93680e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff93680e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff93680e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff93680e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff93680e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff93680e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff93680e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9332e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9332e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9332e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9332e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9332eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9332eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9332eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9332eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff93341aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff93341aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff93341aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff93342ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff93342ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff93342ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff933424c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff933424c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff933424c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9334eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9334eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9334eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff93358484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff93358484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff93358484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff932bc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff932bc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff932bc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff932bc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff937ab004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff937ab004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff937ab004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff932cfd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff932cfd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff932cfd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff932ea05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff932ea05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff932ea05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff932ea05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff932ea05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff932ea2b8 clang::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 0x0000ffff932ea5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff932ea7cc clang::ento::CoreEngine::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 0x0000ffff932eab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff932eab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff932eab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff932eab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff932eab14 clang::ento::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 0x0000ffff935b52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff935b52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff935b52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff935b52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff935b52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff935b6278 llvm::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 0x0000ffff935b6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff935b6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff935ba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff935ba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff935ba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff935ba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff935ba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff91a11b88 __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 0x0000ffff91a11b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff91a11b88 void clang::finalize>, 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 0x0000ffff91a11b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff930d5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9308d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9308d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9308d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff931136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab22c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab22c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab22caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab22c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8a61098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8a610a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab22c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/return-ptr-range.cpp.script: line 1: 38043 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.ReturnPtrRange -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-ptr-range.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-safe.c (1094 of 19719) ******************** TEST 'Clang :: Analysis/retain-release-safe.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-safe.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.RetainCount -analyzer-inline-max-stack-depth=0 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-safe.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-safe.c 1. parser at end of file 2. While analyzing stack: #0 Calling releaseCFType at line 91 #1 Calling testTheOtherNamingConvention 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-safe.c:48:7: Error evaluating branch #0 0x0000ffff95aaad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff95aa9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff95aab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9ea657e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9dd60e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9dd60e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9dd60e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9dd60e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9dd60e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9dd60e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9dd60e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9dd60e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9da0e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9da0e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9da0e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9da0e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9da0eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9da0eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9da0eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9da0eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9da21aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9da21aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9da21aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9da22ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9da22ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9da22ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9da224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9da224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9da224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9da2eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9da2eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9da2eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9da38484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9da38484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9da38484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9d99c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9d99c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9d99c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9d99c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9de8b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9de8b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9de8b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9d9b2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff9d9b2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff9d9b2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff9d9b2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff9d9b2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff9d9b2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff9d9b2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff9d9b2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff9d9b2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff9d9b2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff9d9b3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff9d9cab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9d9cab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9d9cab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9d9cab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9d9cab14 clang::ento::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 0x0000ffff9dc952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9dc952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9dc952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9dc952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9dc952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9dc96278 llvm::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 0x0000ffff9dc96278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9dc96278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9dc9a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9dc9a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9dc9a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9dc9a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9dc9a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9c0f1b88 __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 0x0000ffff9c0f1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9c0f1b88 void clang::finalize>, 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 0x0000ffff9c0f1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9d7b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9d76d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9d76d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9d76d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9d7f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabe7759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabe7794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabe77aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabe771fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff94cf098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff94cf0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabe7720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-safe.c.script: line 2: 38033 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-safe.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/retaincountchecker-compoundregion.m (1095 of 19719) ******************** TEST 'Clang :: Analysis/retaincountchecker-compoundregion.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retaincountchecker-compoundregion.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retaincountchecker-compoundregion.m 1. parser at end of file 2. While analyzing stack: #0 Calling foo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retaincountchecker-compoundregion.m:23:20: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retaincountchecker-compoundregion.m:23:20: Error evaluating statement #0 0x0000ffff97c2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff97c29180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff97c2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa0be37e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9fd5f1a0 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9fd5f1a0 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9fd5f1a0 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9fd5f1a0 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9fd5f1a0 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9fd5f1a0 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 0x0000ffff9fd5f1a0 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9fd5f1a0 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 0x0000ffff9fd5f8b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff9fd5f8b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff9fd5f8b8 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 0x0000ffff9fae95a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff9fae95a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff9fae95a8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff9fae95a8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff9fbaebf4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff9fbaebf4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff9fbaebf4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff9fbaebf4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff9fbb8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff9fbb8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff9fbb8484 clang::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 0x0000ffff9fb1c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9fb1c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9fb1c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff9fb1c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffffa000b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa000b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa000b004 clang::ento::ProgramState::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 0x0000ffff9fc3c500 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #34 0x0000ffff9fc3c500 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #35 0x0000ffff9fc3c500 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #36 0x0000ffff9fc3c500 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #37 0x0000ffff9fb06c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #38 0x0000ffff9fb2f570 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 0x0000ffff9fb2f570 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 0x0000ffff9fb2f7ac llvm::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 0x0000ffff9fb2f7ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #42 0x0000ffff9fb2f7ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #43 0x0000ffff9fb2f7ac 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 0x0000ffff9fb3f470 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff9fb3f470 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff9fb3f470 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #47 0x0000ffff9fb48c34 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #48 0x0000ffff9fb48c34 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #49 0x0000ffff9fb48c34 clang::ento::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 0x0000ffff9fb4a2b8 clang::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 0x0000ffff9fb4a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9fb4a7cc clang::ento::CoreEngine::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 0x0000ffff9fb4ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9fb4ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9fb4ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9fb4ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9fb4ab14 clang::ento::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 0x0000ffff9fe152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9fe152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9fe152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9fe152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9fe152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9fe16278 llvm::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 0x0000ffff9fe16278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9fe16278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9fe1a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9fe1a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9fe1a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9fe1a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9fe1a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9e271b88 __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 0x0000ffff9e271b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9e271b88 void clang::finalize>, 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 0x0000ffff9e271b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9f935600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9f8ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9f8ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9f8ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9f9736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae52959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae52994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae529aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae5291fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff96e7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff96e70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae52920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retaincountchecker-compoundregion.m.script: line 1: 38041 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retaincountchecker-compoundregion.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-region-store.m (1096 of 19719) ******************** TEST 'Clang :: Analysis/retain-release-region-store.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple aarch64-opencloudos-linux-gnu -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-max-loop 6 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-region-store.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple aarch64-opencloudos-linux-gnu -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-max-loop 6 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-region-store.m 1. parser at end of file 2. While analyzing stack: #0 Calling R8261992_test 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-region-store.m:243:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-region-store.m:243:14: Error evaluating statement #0 0x0000ffffa99ead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa99e9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa99eb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb29a07e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb1ca0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb1ca0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb1ca0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb1ca0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb1ca0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb1ca0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb1ca0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb1ca0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb194e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb194e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb194e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb194e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb194eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb194eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb194eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb194eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb1961aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb1961aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb1961aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb1962ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb1962ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb1962ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb19624c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb19624c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb19624c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb196eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb196eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb196eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb1978484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb1978484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb1978484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb18dc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb18dc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb18dc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb18dc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb1dcb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb1dcb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb1dcb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb19fc500 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb19fc500 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb19fc500 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffb19fc500 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffb18c6c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffb18ef570 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffb18ef570 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffb18ef7ac llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffffb18ef7ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffb18ef7ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffb18ef7ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffb18ff470 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffb18ff470 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffb18ff470 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffb1908c34 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffb1908c34 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffb1908c34 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffb190a2b8 clang::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 0x0000ffffb190a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb190a7cc clang::ento::CoreEngine::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 0x0000ffffb190ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffb190ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffb190ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffb190ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffb190ab14 clang::ento::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 0x0000ffffb1bd52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffb1bd52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffb1bd52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffb1bd52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffb1bd52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffb1bd6278 llvm::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 0x0000ffffb1bd6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffb1bd6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffb1bda900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffb1bda900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffb1bda900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffb1bda900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffb1bda900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffb0031b88 __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 0x0000ffffb0031b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffb0031b88 void clang::finalize>, 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 0x0000ffffb0031b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffb16f5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffb16ad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffb16ad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffb16ad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffb17336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaaddf959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaaddf994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaaddf9aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaaddf91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffa8c3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffa8c30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaaddf920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-region-store.m.script: line 1: 38031 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple aarch64-opencloudos-linux-gnu -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-max-loop 6 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-region-store.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/runtime-regression.c (1097 of 19719) ******************** TEST 'Clang :: Analysis/runtime-regression.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/runtime-regression.c -analyzer-checker=core,alpha.security.ArrayBoundV2 -analyzer-checker=debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/runtime-regression.c -analyzer-checker=core,alpha.security.ArrayBoundV2 -analyzer-checker=debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify 1. parser at end of file 2. While analyzing stack: #0 Calling filter_slice_word 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/runtime-regression.c:21:22: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/runtime-regression.c:21:22: Error evaluating statement #0 0x0000ffffa120ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa1209180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa120b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffaa1c67e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa94c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa94c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa94c0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa94c0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa94c0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa94c0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa94c0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa94c0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa916e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa916e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa916e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa916e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa916eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa916eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa916eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa916eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa9182c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa9182c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa9182c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa9182f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa9182f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa9182f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffa91824c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa91824c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa91824c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa918eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa918eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa918eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa9198484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa9198484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa9198484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa90fc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa90fc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa90fc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa90fc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa921d468 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #40 0x0000ffffa921d468 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #41 0x0000ffffa921d468 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #42 0x0000ffffa921d468 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #43 0x0000ffffa921d468 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #44 0x0000ffffa921d468 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:11 #45 0x0000ffffa921d468 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #46 0x0000ffffa90e5308 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffa90e5308 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #48 0x0000ffffa911d0b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffffa911d0b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffffa911d0b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #51 0x0000ffffa911d0b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #52 0x0000ffffa911d0b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #53 0x0000ffffa911d0b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #54 0x0000ffffa911d0b8 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:50:0 #55 0x0000ffffa9129f88 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #56 0x0000ffffa912a2b8 clang::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 0x0000ffffa912a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa912a7cc clang::ento::CoreEngine::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 0x0000ffffa912ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa912ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa912ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffa912ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffa912ab14 clang::ento::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 0x0000ffffa93f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffa93f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffa93f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffa93f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffa93f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffa93f6278 llvm::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 0x0000ffffa93f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffa93f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffa93fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffa93fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffa93fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffa93fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffa93fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffa7851b88 __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 0x0000ffffa7851b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffa7851b88 void clang::finalize>, 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 0x0000ffffa7851b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffa8f15600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffa8ecd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffa8ecd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffa8ecd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffa8f536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaad36b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaad36b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaad36baac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaad36b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffffa045098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffa0450a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaad36b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/runtime-regression.c.script: line 1: 38055 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/runtime-regression.c -analyzer-checker=core,alpha.security.ArrayBoundV2 -analyzer-checker=debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/rvo.cpp (1098 of 19719) ******************** TEST 'Clang :: Analysis/rvo.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker core,cplusplus -std=c++14 -analyzer-checker debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rvo.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker core,cplusplus -std=c++14 -analyzer-checker debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rvo.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rvo.cpp:20:5: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rvo.cpp:20:5: Error evaluating statement #0 0x0000ffff8b62ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8b629180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8b62b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff945e67e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff93535734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff93535734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff93535734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff93535734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff93535734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff93535734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff93535734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff93535734 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 0x0000ffff934fe1fc std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffff934fe1fc std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffff934fe1fc clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffff934fe1fc 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 0x0000ffff934ff1fc clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffff934ff1fc 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 0x0000ffff935c0100 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffff935c0100 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffff9357b2a8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffff9357b2a8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffff9357b458 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffff9357b458 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff9357b458 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffff9357dee0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffff9357dee0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffff9357dee0 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffff9357e7fc llvm::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 0x0000ffff9357e7fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff9357e7fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff9357e7fc clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffff93507268 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffff935433d8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffff935433d8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffff935433d8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffff935433d8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffff935433d8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffff935433d8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffff935433d8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffff9354920c clang::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 0x0000ffff9354920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffff9354a2b8 clang::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 0x0000ffff9354a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9354a7cc clang::ento::CoreEngine::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 0x0000ffff9354ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffff9354ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffff9354ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffff9354ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffff9354ab14 clang::ento::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 0x0000ffff938152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffff938152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff938152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffff938152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffff938152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffff93816278 llvm::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 0x0000ffff93816278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffff93816278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffff9381a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffff9381a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffff9381a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffff9381a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffff9381a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffff91c71b88 __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 0x0000ffff91c71b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffff91c71b88 void clang::finalize>, 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 0x0000ffff91c71b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffff93335600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffff932ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffff932ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffff932ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffff933736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaab92a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaab92a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaab92aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaab92a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff8a87098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff8a870a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaab92a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/rvo.cpp.script: line 1: 38056 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker core,cplusplus -std=c++14 -analyzer-checker debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rvo.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/returns_nonnull-attribute.cpp (1099 of 19719) ******************** TEST 'Clang :: Analysis/returns_nonnull-attribute.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,apiModeling.TrustReturnsNonnull -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/returns_nonnull-attribute.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,apiModeling.TrustReturnsNonnull -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/returns_nonnull-attribute.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test(void *(*)(void)) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/returns_nonnull-attribute.cpp:20:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/returns_nonnull-attribute.cpp:20:3: Error evaluating statement #0 0x0000ffff7b40ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7b409180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7b40b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff843cb7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff836c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff836c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff836c0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff836c0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff836c0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff836c0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff836c0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff836c0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8336e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8336e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8336e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8336e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8336eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8336eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8336eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8336eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff83381aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff83381aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff83381aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff83382ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff83382ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff83382ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff833824c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff833824c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff833824c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8338eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8338eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8338eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff83398484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff83398484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff83398484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff832fc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff832fc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff832fc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff832fc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff837eb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff837eb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff837eb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff833d1bf8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff833d1bf8 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff833d1bf8 checkFunctionPointerCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:390:79 #45 0x0000ffff833d1bf8 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:546:37 #46 0x0000ffff833d1bf8 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::CallAndMessageChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:45 #47 0x0000ffff832e67b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x0000ffff832e67b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x0000ffff832e67b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #50 0x0000ffff832e67b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #51 0x0000ffff832e67b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #52 0x0000ffff83346b50 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x0000ffff83346b50 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x0000ffff83346b50 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #55 0x0000ffff83346b50 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #56 0x0000ffff83346b50 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #57 0x0000ffff83346b50 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #58 0x0000ffff83346b50 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:683:44 #59 0x0000ffff833474f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #60 0x0000ffff83329250 clang::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 0x0000ffff83329250 clang::ento::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 0x0000ffff8332a2b8 clang::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 0x0000ffff8332a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8332a7cc clang::ento::CoreEngine::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 0x0000ffff8332ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffff8332ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffff8332ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffff8332ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffff8332ab14 clang::ento::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 0x0000ffff835f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffff835f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffff835f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffff835f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffff835f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffff835f6278 llvm::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 0x0000ffff835f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffff835f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffff835fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffff835fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffff835fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffff835fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffff835fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffff81a51b88 __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 0x0000ffff81a51b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffff81a51b88 void clang::finalize>, 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 0x0000ffff81a51b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffff83115600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffff830cd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffff830cd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffff830cd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffff831536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaad10059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaad10094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaad100aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaad1001fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffff7a65098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffff7a650a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaad10020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/returns_nonnull-attribute.cpp.script: line 1: 38051 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,apiModeling.TrustReturnsNonnull -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/returns_nonnull-attribute.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/solver-sym-simplification-with-proper-range-type.c (1111 of 19719) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-with-proper-range-type.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-with-proper-range-type.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-with-proper-range-type.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-with-proper-range-type.c:16:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-with-proper-range-type.c:16:9: Error evaluating statement #0 0x0000ffff8fb0ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8fb09180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8fb0b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff98ac17e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff97dc0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff97dc0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff97dc0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff97dc0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff97dc0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff97dc0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff97dc0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff97dc0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff97a6e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff97a6e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff97a6e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff97a6e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff97a6eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff97a6eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff97a6eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff97a6eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff97a81aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff97a81aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff97a81aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff97a82ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff97a82ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff97a82ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff97a824c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff97a824c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff97a824c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff97a8eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff97a8eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff97a8eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff97a98484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff97a98484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff97a98484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff979fc9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff979fc9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff979fc9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff979fc9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff97eeb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff97eeb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff97eeb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff97a0fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff97a0fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff97a0fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff97a2a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff97a2a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff97a2a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff97a2a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff97a2a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff97a2a2b8 clang::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 0x0000ffff97a2a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff97a2a7cc clang::ento::CoreEngine::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 0x0000ffff97a2ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff97a2ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff97a2ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff97a2ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff97a2ab14 clang::ento::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 0x0000ffff97cf52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff97cf52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff97cf52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff97cf52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff97cf52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff97cf6278 llvm::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 0x0000ffff97cf6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff97cf6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff97cfa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff97cfa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff97cfa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff97cfa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff97cfa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff96151b88 __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 0x0000ffff96151b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff96151b88 void clang::finalize>, 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 0x0000ffff96151b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff97815600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff977cd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff977cd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff977cd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff978536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaadc4959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaadc4994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaadc49aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaadc491fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8ed5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8ed50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaadc4920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-with-proper-range-type.c.script: line 1: 38306 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-with-proper-range-type.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/stack-addr-ps.c (1112 of 19719) ******************** TEST 'Clang :: Analysis/stack-addr-ps.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.c 1. parser at end of file 2. While analyzing stack: #0 Calling anonymous code 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.c:61:50: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.c:61:50: Error evaluating statement #0 0x0000ffffa4cfad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa4cf9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa4cfb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffadcb87e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffacfb0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffacfb0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffacfb0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffacfb0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffacfb0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffacfb0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffacfb0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffacfb0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffacc5e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffacc5e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffacc5e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffacc5e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffacc5eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffacc5eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffacc5eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffacc5eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffacc72c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffacc72c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffacc72c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffacc724c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffacc724c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffacc724c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffffacc7eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffffacc7eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffffacc7eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffffacc88484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffffacc88484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffacc88484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffffacbec9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffffacbec9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffffacbec9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffffacbec9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #36 0x0000ffffad0db004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffad0db004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffad0db004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffffacbffd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffffacbffd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffffacbffd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffffacc1a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffffacc1a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffffacc1a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffffacc1a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffffacc1a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffffacc1a2b8 clang::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 0x0000ffffacc1a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffacc1a7cc clang::ento::CoreEngine::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 0x0000ffffacc1ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffffacc1ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffffacc1ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffffacc1ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffffacc1ab14 clang::ento::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 0x0000ffffacee52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffffacee52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffffacee52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffffacee52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffffacee52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffffacee6278 llvm::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 0x0000ffffacee6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffffacee6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffffaceea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffffaceea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffffaceea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffffaceea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffffaceea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffffab341b88 __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 0x0000ffffab341b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffffab341b88 void clang::finalize>, 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 0x0000ffffab341b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffffaca05600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffffac9bd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffffac9bd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffffac9bd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffffaca436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaac8e159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaac8e194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaac8e1aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaac8e11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffffa3f4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffffa3f40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaac8e120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stack-addr-ps.c.script: line 1: 38314 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/simple-stream-checks.c (1113 of 19719) ******************** TEST 'Clang :: Analysis/simple-stream-checks.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.SimpleStream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/simple-stream-checks.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.SimpleStream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/simple-stream-checks.c 1. parser at end of file 2. While analyzing stack: #0 Calling testOverwrite 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/simple-stream-checks.c:94:3: Error evaluating statement #0 0x0000ffffad22ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffad229180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffad22b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb61e27e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb5371608 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb5371608 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb5371608 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb5371608 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb5371608 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb5371608 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb5371608 get<(anonymous namespace)::StreamMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb5371608 (anonymous namespace)::SimpleStreamChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp:165:54 #12 0x0000ffffb511aae4 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 0x0000ffffb51352e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffb51352e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffb51352e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffb51352e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffb51352e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffb51352e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffb51352e8 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 0x0000ffffb514a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffb514a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffb514a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffb514a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffb514a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffb514a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffb514a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffb514a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffb514a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffb514a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb514a7cc clang::ento::CoreEngine::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 0x0000ffffb514ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffb514ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffb514ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffb514ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffb514ab14 clang::ento::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 0x0000ffffb54152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffb54152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffb54152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffb54152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffb54152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffb5416278 llvm::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 0x0000ffffb5416278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffb5416278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffb541a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffb541a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffb541a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffb541a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffb541a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffb3871b88 __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 0x0000ffffb3871b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffb3871b88 void clang::finalize>, 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 0x0000ffffb3871b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffb4f35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffb4eed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffb4eed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffb4eed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffb4f736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaadac159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaadac194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaadac1aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaadac11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffac47098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffac470a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaadac120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/simple-stream-checks.c.script: line 1: 38241 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.SimpleStream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/simple-stream-checks.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/shallow-mode.m (1114 of 19719) ******************** TEST 'Clang :: Analysis/shallow-mode.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config mode=shallow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/shallow-mode.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config mode=shallow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/shallow-mode.m 1. parser at end of file #0 0x0000ffff803ead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff803e9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff803eb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff893a87e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff886a0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff886a0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff886a0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff886a0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff886a0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff886a0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff886a0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff886a0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8834e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8834e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8834e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8834e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8834eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8834eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8834eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8834eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff88361aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff88361aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff88361aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff88362ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff88362ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff88362ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff883624c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff883624c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff883624c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8836eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8836eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8836eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff88378484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff88378484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff88378484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff882dc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff882dc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff882dc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff882dc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff882dcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff882dcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff882dcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff882b0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff882b0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff882b0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff882ecea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff882ecea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff882ecea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff8830ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8830ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8830ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff885d52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff885d52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff885d52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff885d52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff885d52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff885d6278 llvm::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 0x0000ffff885d6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff885d6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff885da900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff885da900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff885da900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff885da900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff885da900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff86a31b88 __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 0x0000ffff86a31b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff86a31b88 void clang::finalize>, 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 0x0000ffff86a31b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff880f5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff880ad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff880ad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff880ad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff881336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaaab2059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaaab2094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaaab20aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaaab201fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff7f63098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff7f630a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaaab2020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/shallow-mode.m.script: line 1: 38226 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config mode=shallow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/shallow-mode.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/self-assign.cpp (1115 of 19719) ******************** TEST 'Clang :: Analysis/self-assign.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-assign.cpp -verify -analyzer-output=text -analyzer-checker=core -analyzer-checker=cplusplus -analyzer-checker=unix.Malloc -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-assign.cpp -verify -analyzer-output=text -analyzer-checker=core -analyzer-checker=cplusplus -analyzer-checker=unix.Malloc -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false 1. parser at end of file 2. While analyzing stack: #0 Calling main() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-assign.cpp:116:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-assign.cpp:116:14: Error evaluating statement #0 0x0000ffff8c5fad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8c5f9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8c5fb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff955b27e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff94505734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff94505734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff94505734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff94505734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff94505734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff94505734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff94505734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff94505734 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 0x0000ffff944ce1fc std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffff944ce1fc std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffff944ce1fc clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffff944ce1fc 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 0x0000ffff944cf1fc clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffff944cf1fc 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 0x0000ffff94590100 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffff94590100 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffff9454b2a8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffff9454b2a8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffff9454b458 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffff9454b458 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff9454b458 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffff9454dee0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffff9454dee0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffff9454dee0 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffff9454e7fc llvm::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 0x0000ffff9454e7fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff9454e7fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff9454e7fc clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffff944d7268 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffff945133d8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffff945133d8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffff945133d8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffff945133d8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffff945133d8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffff945133d8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffff945133d8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffff9451920c clang::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 0x0000ffff9451920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffff9451a2b8 clang::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 0x0000ffff9451a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9451a7cc clang::ento::CoreEngine::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 0x0000ffff9451ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffff9451ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffff9451ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffff9451ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffff9451ab14 clang::ento::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 0x0000ffff947e52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffff947e52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff947e52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffff947e52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffff947e52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffff947e6278 llvm::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 0x0000ffff947e6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffff947e6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffff947ea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffff947ea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffff947ea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffff947ea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffff947ea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffff92c41b88 __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 0x0000ffff92c41b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffff92c41b88 void clang::finalize>, 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 0x0000ffff92c41b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffff94305600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffff942bd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffff942bd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffff942bd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffff943436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaacbcd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaacbcd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaacbcdaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaacbcd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff8b84098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff8b840a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaacbcd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/self-assign.cpp.script: line 1: 38219 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-assign.cpp -verify -analyzer-output=text -analyzer-checker=core -analyzer-checker=cplusplus -analyzer-checker=unix.Malloc -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/self-init.m (1116 of 19719) ******************** TEST 'Clang :: Analysis/self-init.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.SelfInit -analyzer-config ipa=dynamic -fno-builtin /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-init.m -verify : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.SelfInit -fno-builtin /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-init.m -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.SelfInit -analyzer-config ipa=dynamic -fno-builtin /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-init.m -verify 1. parser at end of file #0 0x0000ffff9a20ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9a209180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9a20b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa31ce7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa24c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa24c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa24c0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa24c0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa24c0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa24c0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa24c0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa24c0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa216e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa216e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa216e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa216e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa216eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa216eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa216eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa216eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa2181aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa2181aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa2181aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa2182ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa2182ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa2182ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa21824c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa21824c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa21824c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa218eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa218eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa218eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa2198484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa2198484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa2198484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa20fc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa20fc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa20fc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa20fc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa20fcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa20fcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa20fcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa20d0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa20d0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa20d0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa210cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa210cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa210cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa212ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa212ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa212ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa23f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa23f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa23f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa23f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa23f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa23f6278 llvm::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 0x0000ffffa23f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa23f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa23fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa23fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa23fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa23fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa23fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa0851b88 __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 0x0000ffffa0851b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa0851b88 void clang::finalize>, 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 0x0000ffffa0851b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa1f15600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa1ecd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa1ecd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa1ecd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa1f536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaacfc159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaacfc194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaacfc1aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaacfc11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9945098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff99450a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaacfc120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/self-init.m.script: line 2: 38227 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.SelfInit -analyzer-config ipa=dynamic -fno-builtin /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-init.m -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/silence-checkers-and-packages-core-div-by-zero.cpp (1117 of 19719) ******************** TEST 'Clang :: Analysis/silence-checkers-and-packages-core-div-by-zero.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config silence-checkers=core.DivideZero -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-div-by-zero.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config silence-checkers=core.DivideZero -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-div-by-zero.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_disable_null_deref(int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-div-by-zero.cpp:13:7: Error evaluating branch #0 0x0000ffffb2fcad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb2fc9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb2fcb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbbf817e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbb280e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbb280e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbb280e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbb280e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbb280e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbb280e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbb280e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbb280e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbaf2e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbaf2e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbaf2e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbaf2e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbaf2eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbaf2eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbaf2eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbaf2eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbaf41aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbaf41aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbaf41aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbaf42ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbaf42ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbaf42ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbaf424c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbaf424c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbaf424c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbaf4eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbaf4eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbaf4eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbaf58484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbaf58484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbaf58484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbaebc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbaebc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbaebc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbaebc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbb3ab004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbb3ab004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbb3ab004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbaed2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffbaed2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffbaed2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffbaed2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffbaed2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffbaed2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffbaed2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffbaed2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffbaed2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffbaed2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffbaed3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffbaeeab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffbaeeab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffbaeeab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffbaeeab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffbaeeab14 clang::ento::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 0x0000ffffbb1b52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffbb1b52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffbb1b52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffbb1b52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffbb1b52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffbb1b6278 llvm::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 0x0000ffffbb1b6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffbb1b6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffbb1ba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffbb1ba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffbb1ba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffbb1ba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffbb1ba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb9611b88 __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 0x0000ffffb9611b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb9611b88 void clang::finalize>, 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 0x0000ffffb9611b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffbacd5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffbac8d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffbac8d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffbac8d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffbad136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaacd6b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaacd6b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaacd6baac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaacd6b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb221098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb2210a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaacd6b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/silence-checkers-and-packages-core-div-by-zero.cpp.script: line 1: 38234 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config silence-checkers=core.DivideZero -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-div-by-zero.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/silence-checkers-and-packages-core-all.cpp (1118 of 19719) ******************** TEST 'Clang :: Analysis/silence-checkers-and-packages-core-all.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config silence-checkers=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config silence-checkers="core.DivideZero;core.NullDereference" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp : 'RUN: at line 11'; not /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp -analyzer-checker=core -analyzer-config silence-checkers=core.NullDeref 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp -check-prefix=CHECK-CHECKER-ERROR : 'RUN: at line 19'; not /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp -analyzer-checker=core -analyzer-config silence-checkers=coreModeling 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp -check-prefix=CHECK-PACKAGE-ERROR -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config silence-checkers=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_disable_null_deref(int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp:34:7: Error evaluating branch #0 0x0000ffff8b25ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8b259180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8b25b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9421c7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff93510e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff93510e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff93510e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff93510e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff93510e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff93510e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff93510e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff93510e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff931be018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff931be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff931be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff931be018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff931beef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff931beef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff931beef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff931beef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff931d1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff931d1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff931d1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff931d2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff931d2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff931d2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff931d24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff931d24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff931d24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff931deb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff931deb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff931deb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff931e8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff931e8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff931e8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9314c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9314c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9314c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9314c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9363b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9363b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9363b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff93162bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff93162bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff93162bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff93162bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff93162bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff93162bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff93162bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff93162bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff93162bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff93162bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff93163130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff9317ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9317ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9317ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9317ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9317ab14 clang::ento::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 0x0000ffff934452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff934452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff934452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff934452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff934452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff93446278 llvm::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 0x0000ffff93446278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff93446278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9344a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9344a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9344a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9344a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9344a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff918a1b88 __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 0x0000ffff918a1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff918a1b88 void clang::finalize>, 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 0x0000ffff918a1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff92f65600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff92f1d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff92f1d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff92f1d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff92fa36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae67759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae67794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae677aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae6771fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8a4a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8a4a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae67720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/silence-checkers-and-packages-core-all.cpp.script: line 4: 38232 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config silence-checkers=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/solver-sym-simplification-adjustment.c (1119 of 19719) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-adjustment.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-adjustment.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-adjustment.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_simplification_adjusment_no_infinite_loop 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-adjustment.c:89:7: Error evaluating branch #0 0x0000ffff892bad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff892b9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff892bb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff922707e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff91217bdc retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff91217bdc retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff91217bdc retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff91217bdc IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff91217bdc ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff91217bdc MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff91217bdc get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff91217bdc (anonymous namespace)::EquivalenceClass::mergeImpl(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, llvm::ImmutableSet>, (anonymous namespace)::EquivalenceClass, llvm::ImmutableSet>) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2361:0 #12 0x0000ffff91219adc llvm::IntrusiveRefCntPtrInfo>>::release(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:351:0 #13 0x0000ffff91219adc llvm::IntrusiveRefCntPtr>>::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff91219adc llvm::IntrusiveRefCntPtr>>::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff91219adc llvm::ImmutableSet>::~ImmutableSet() /usr/include/llvm/ADT/ImmutableSet.h:957:0 #16 0x0000ffff91219adc (anonymous namespace)::EquivalenceClass::merge(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, (anonymous namespace)::EquivalenceClass) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2340:0 #17 0x0000ffff9121e4ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x0000ffff9121e4ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9121e4ac merge /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2309:0 #20 0x0000ffff9121e4ac trackEquality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2160:0 #21 0x0000ffff9121e4ac assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2238:0 #22 0x0000ffff9121e4ac assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #23 0x0000ffff9121e4ac assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #24 0x0000ffff9121e4ac assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #25 0x0000ffff9121e4ac assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #26 0x0000ffff9121e4ac assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #27 0x0000ffff9121e4ac (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #28 0x0000ffff9121ec90 llvm::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 0x0000ffff9121ec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff9121ec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff9121ec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #32 0x0000ffff91232c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff91232c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff91232c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #35 0x0000ffff912324c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff912324c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff912324c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #38 0x0000ffff9123eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #39 0x0000ffff9123eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #40 0x0000ffff9123eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #41 0x0000ffff91248484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x0000ffff91248484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x0000ffff91248484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #44 0x0000ffff911ac9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #45 0x0000ffff911ac9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x0000ffff911ac9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #47 0x0000ffff911ac9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #48 0x0000ffff9169b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #49 0x0000ffff9169b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #50 0x0000ffff9169b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #51 0x0000ffff911c2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #52 0x0000ffff911c2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #53 0x0000ffff911c2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #54 0x0000ffff911c2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #55 0x0000ffff911c2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #56 0x0000ffff911c2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #57 0x0000ffff911c2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #58 0x0000ffff911c2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #59 0x0000ffff911c2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #60 0x0000ffff911c2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #61 0x0000ffff911c3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #62 0x0000ffff911dab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff911dab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff911dab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff911dab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff911dab14 clang::ento::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 0x0000ffff914a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff914a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff914a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff914a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff914a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff914a6278 llvm::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 0x0000ffff914a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff914a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff914aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff914aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff914aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff914aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff914aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff8f901b88 __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 0x0000ffff8f901b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff8f901b88 void clang::finalize>, 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 0x0000ffff8f901b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff90fc5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff90f7d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff90f7d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff90f7d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff910036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaac4ca59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaac4ca94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaac4caaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaac4ca1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff8850098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff88500a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaac4ca20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-adjustment.c.script: line 1: 38259 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-adjustment.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/solver-sym-simplification-no-crash2.c (1120 of 19719) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-no-crash2.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash2.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash2.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash2.c:16:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash2.c:16:7: Error evaluating statement #0 0x0000ffff8641ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff86419180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8641b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8f3dc7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8e6d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8e6d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8e6d0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8e6d0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8e6d0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8e6d0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8e6d0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8e6d0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8e37e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8e37e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8e37e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8e37e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8e37eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8e37eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8e37eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8e37eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8e392c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8e392c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8e392c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff8e392f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8e392f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8e392f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff8e3924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8e3924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8e3924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8e39eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8e39eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8e39eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8e3a8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8e3a8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8e3a8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8e30c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8e30c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8e30c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8e30c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8e42d468 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #40 0x0000ffff8e42d468 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #41 0x0000ffff8e42d468 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #42 0x0000ffff8e42d468 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #43 0x0000ffff8e42d468 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #44 0x0000ffff8e42d468 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:11 #45 0x0000ffff8e42d468 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #46 0x0000ffff8e2f5308 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff8e2f5308 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #48 0x0000ffff8e32d0b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffff8e32d0b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffff8e32d0b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #51 0x0000ffff8e32d0b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #52 0x0000ffff8e32d0b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #53 0x0000ffff8e32d0b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #54 0x0000ffff8e32d0b8 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:50:0 #55 0x0000ffff8e339f88 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #56 0x0000ffff8e33a2b8 clang::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 0x0000ffff8e33a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8e33a7cc clang::ento::CoreEngine::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 0x0000ffff8e33ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8e33ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8e33ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff8e33ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff8e33ab14 clang::ento::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 0x0000ffff8e6052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff8e6052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff8e6052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff8e6052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff8e6052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff8e606278 llvm::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 0x0000ffff8e606278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffff8e606278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffff8e60a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffff8e60a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffff8e60a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffff8e60a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffff8e60a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffff8ca61b88 __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 0x0000ffff8ca61b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffff8ca61b88 void clang::finalize>, 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 0x0000ffff8ca61b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffff8e125600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffff8e0dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffff8e0dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffff8e0dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffff8e1636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaadb1a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaadb1a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaadb1aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaadb1a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff8566098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff85660a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaadb1a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-no-crash2.c.script: line 1: 38284 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash2.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/solver-sym-simplification-no-crash.c (1121 of 19719) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-no-crash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify 1. parser at end of file 2. While analyzing stack: #0 Calling g 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash.c:21:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash.c:21:13: Error evaluating statement #0 0x0000ffffaa29ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffaa299180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffaa29b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb32537e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb21d7cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffb21d7cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb21d7cb0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb21d7cb0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb21d7cb0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb21d7cb0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb21d7cb0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffffb21d7cb0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffffb21d7cb0 (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 0x0000ffffb21d7d8c (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffffb222b478 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffffb222b478 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffffb222b050 VisitSymSymExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1324:0 #17 0x0000ffffb222b050 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #18 0x0000ffffb26382f4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffffb26382f4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffffb26382f4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffffb22127b4 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffffb22127b4 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffffb2229748 (anonymous namespace)::SimpleSValBuilder::evalBinOpNN(llvm::IntrusiveRefCntPtr, clang::BinaryOperatorKind, clang::ento::NonLoc, clang::ento::NonLoc, clang::QualType) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:416:0 #24 0x0000ffffb221f578 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #25 0x0000ffffb221f578 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #26 0x0000ffffb221f578 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:0 #27 0x0000ffffb21ad850 clang::ento::ExprEngine::evalBinOp(llvm::IntrusiveRefCntPtr, clang::BinaryOperatorKind, clang::ento::SVal, clang::ento::SVal, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:611:33 #28 0x0000ffffb21ad850 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:100:0 #29 0x0000ffffb21b9f88 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #30 0x0000ffffb21ba2b8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #31 0x0000ffffb21ba5a0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #32 0x0000ffffb21ba7cc clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #33 0x0000ffffb21bab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x0000ffffb21bab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x0000ffffb21bab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #36 0x0000ffffb21bab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #37 0x0000ffffb21bab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #38 0x0000ffffb24852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #39 0x0000ffffb24852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #40 0x0000ffffb24852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #41 0x0000ffffb24852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #42 0x0000ffffb24852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #43 0x0000ffffb2486278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #44 0x0000ffffb2486278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #45 0x0000ffffb2486278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #46 0x0000ffffb248a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #47 0x0000ffffb248a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #48 0x0000ffffb248a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #49 0x0000ffffb248a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #50 0x0000ffffb248a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #51 0x0000ffffb08e1b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #52 0x0000ffffb08e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #53 0x0000ffffb08e1b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #54 0x0000ffffb08e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #55 0x0000ffffb1fa5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #56 0x0000ffffb1f5d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #57 0x0000ffffb1f5d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #58 0x0000ffffb1f5d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #59 0x0000ffffb1fe36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #60 0x0000aaaab42459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #61 0x0000aaaab42494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #62 0x0000aaaab424aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #63 0x0000aaaab4241fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #64 0x0000ffffa94e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #65 0x0000ffffa94e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #66 0x0000aaaab42420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-no-crash.c.script: line 1: 38275 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/smart-ptr-text-output.cpp (1122 of 19719) ******************** TEST 'Clang :: Analysis/smart-ptr-text-output.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.Move,alpha.cplusplus.SmartPtr,debug.ExprInspection -analyzer-config cplusplus.SmartPtrModeling:ModelSmartPtrDereference=true -analyzer-output=text -std=c++20 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr-text-output.cpp -verify=expected : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.Move,alpha.cplusplus.SmartPtr,debug.ExprInspection -analyzer-config cplusplus.SmartPtrModeling:ModelSmartPtrDereference=true -analyzer-output=text -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr-text-output.cpp -verify=expected -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.Move,alpha.cplusplus.SmartPtr,debug.ExprInspection -analyzer-config cplusplus.SmartPtrModeling:ModelSmartPtrDereference=true -analyzer-output=text -std=c++20 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr-text-output.cpp -verify=expected 1. parser at end of file 2. While analyzing stack: #0 Calling foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr-text-output.cpp:362:14: Error evaluating statement #0 0x0000ffffadc8ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffadc89180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffadc8b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb6c4f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb6029d6c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb6029d6c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb6029d6c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb6029d6c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb6029d6c llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb6029d6c 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 0x0000ffffb6029d6c get<(anonymous namespace)::TrackedRegionMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb6029d6c (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 0x0000ffffb5dba780 llvm::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 0x0000ffffb5dba780 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x0000ffffb5dba780 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffffb5dba780 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 0x0000ffffb5b491b0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x0000ffffb5b491b0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x0000ffffb5b491b0 clang::ento::CheckerFn, clang::ento::SymbolReaper&)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #19 0x0000ffffb5b491b0 clang::ento::CheckerManager::runCheckersForLiveSymbols(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:547:0 #20 0x0000ffffb5b951f0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb5b951f0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb5b951f0 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 0x0000ffffb5baa244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #24 0x0000ffffb5baa244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #25 0x0000ffffb5baa244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #26 0x0000ffffb5baa244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #27 0x0000ffffb5baa244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #28 0x0000ffffb5baa244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #29 0x0000ffffb5baa244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #30 0x0000ffffb5baa244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #31 0x0000ffffb5baa244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #32 0x0000ffffb5baa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb5baa7cc clang::ento::CoreEngine::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 0x0000ffffb5baab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffffb5baab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffffb5baab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #37 0x0000ffffb5baab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #38 0x0000ffffb5baab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #39 0x0000ffffb5e752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb5e752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb5e752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #42 0x0000ffffb5e752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #43 0x0000ffffb5e752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #44 0x0000ffffb5e76278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #45 0x0000ffffb5e76278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #46 0x0000ffffb5e76278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #47 0x0000ffffb5e7a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #48 0x0000ffffb5e7a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #49 0x0000ffffb5e7a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #50 0x0000ffffb5e7a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #51 0x0000ffffb5e7a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #52 0x0000ffffb42d1b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #53 0x0000ffffb42d1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #54 0x0000ffffb42d1b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #55 0x0000ffffb42d1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #56 0x0000ffffb5995600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #57 0x0000ffffb594d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #58 0x0000ffffb594d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #59 0x0000ffffb594d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #60 0x0000ffffb59d36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #61 0x0000aaaac1f959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #62 0x0000aaaac1f994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #63 0x0000aaaac1f9aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #64 0x0000aaaac1f91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #65 0x0000ffffaced098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #66 0x0000ffffaced0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #67 0x0000aaaac1f920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/smart-ptr-text-output.cpp.script: line 2: 38244 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.Move,alpha.cplusplus.SmartPtr,debug.ExprInspection -analyzer-config cplusplus.SmartPtrModeling:ModelSmartPtrDereference=true -analyzer-output=text -std=c++20 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr-text-output.cpp -verify=expected -- ******************** Testing: 0 FAIL: Clang :: Analysis/solver-sym-simplification-concreteint.c (1123 of 19719) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-concreteint.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-concreteint.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-concreteint.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_simplification_to_concrete_int_feasible 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-concreteint.c:25:7: Error evaluating branch #0 0x0000ffff9630ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff96309180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9630b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9f2c37e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9e5c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9e5c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9e5c0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9e5c0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9e5c0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9e5c0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9e5c0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9e5c0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9e26e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9e26e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9e26e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9e26e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9e26eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9e26eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9e26eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9e26eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9e281aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9e281aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9e281aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9e282ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9e282ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9e282ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9e2824c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9e2824c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9e2824c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9e28eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9e28eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9e28eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9e298484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9e298484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9e298484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9e1fc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9e1fc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9e1fc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9e1fc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9e6eb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9e6eb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9e6eb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9e212bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff9e212bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff9e212bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff9e212bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff9e212bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff9e212bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff9e212bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff9e212bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff9e212bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff9e212bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff9e213130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff9e22ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9e22ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9e22ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9e22ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9e22ab14 clang::ento::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 0x0000ffff9e4f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9e4f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9e4f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9e4f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9e4f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9e4f6278 llvm::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 0x0000ffff9e4f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9e4f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9e4fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9e4fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9e4fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9e4fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9e4fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9c951b88 __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 0x0000ffff9c951b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9c951b88 void clang::finalize>, 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 0x0000ffff9c951b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9e015600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9dfcd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9dfcd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9dfcd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9e0536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad50459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad50494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad504aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad5041fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9555098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff95550a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad50420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-concreteint.c.script: line 1: 38271 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-concreteint.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/silence-checkers.cpp (1124 of 19719) ******************** TEST 'Clang :: Analysis/silence-checkers.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify="no-silence" /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers.cpp -triple i386-unknown-linux-gnu -analyzer-checker=core,apiModeling -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify="unix-silenced" /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers.cpp -triple i386-unknown-linux-gnu -analyzer-checker=core,apiModeling -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete -analyzer-config silence-checkers="unix" : 'RUN: at line 14'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify="deadstore-silenced" /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers.cpp -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=deadcode -analyzer-config silence-checkers="deadcode.DeadStores" -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify=no-silence /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers.cpp -triple i386-unknown-linux-gnu -analyzer-checker=core,apiModeling -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete 1. parser at end of file 2. While analyzing stack: #0 Calling r11160612_no_callback() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers.cpp:35:21: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers.cpp:35:21: Error evaluating statement #0 0x0000ffff9b89ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9b899180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9b89b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa48527e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa3b376d0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa3b376d0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa3b376d0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa3b376d0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa3b376d0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa3b376d0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa3b376d0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa3b376d0 (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 0x0000ffffa3945990 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffa3945990 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffa3945990 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 0x0000ffffa37595a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffa37595a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffa37595a8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffa37595a8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffa381ebf4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffa381ebf4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffa381ebf4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffa381ebf4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffa3828484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffa3828484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffa3828484 clang::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 0x0000ffffa378cae8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa378cae8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa378cae8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffa378cae8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffa3c7b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa3c7b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa3c7b004 clang::ento::ProgramState::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 0x0000ffffa3951ba0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffa3951ba0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffa3951ba0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffa3951ba0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffa3951ba0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffa3951ba0 (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 0x0000ffffa3951ff0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffa3951ff0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffa3951ff0 (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 0x0000ffffa395e4d0 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffa395e4d0 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 0x0000ffffa37767b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffa37767b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffa37767b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffa37767b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffa37767b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffa37d6c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffa37d6c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffa37d6c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffa37d6c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffa37d6c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffa37d6c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffa37d74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffa37b9250 clang::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 0x0000ffffa37b9250 clang::ento::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 0x0000ffffa37ba2b8 clang::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 0x0000ffffa37ba5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa37ba7cc clang::ento::CoreEngine::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 0x0000ffffa37bab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffa37bab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffa37bab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffa37bab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffa37bab14 clang::ento::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 0x0000ffffa3a852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffa3a852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffa3a852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffa3a852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffa3a852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffa3a86278 llvm::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 0x0000ffffa3a86278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffa3a86278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffa3a8a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffa3a8a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffa3a8a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffa3a8a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffa3a8a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffa1ee1b88 __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 0x0000ffffa1ee1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffa1ee1b88 void clang::finalize>, 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 0x0000ffffa1ee1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffa35a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffa355d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffa355d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffa355d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffa35e36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaae28559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaae28594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaae285aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaae2851fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff9aae098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff9aae0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaae28520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/silence-checkers.cpp.script: line 3: 38237 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify="no-silence" /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers.cpp -triple i386-unknown-linux-gnu -analyzer-checker=core,apiModeling -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete -- ******************** Testing: 0 FAIL: Clang :: Analysis/smart-ptr.cpp (1125 of 19719) ******************** TEST 'Clang :: Analysis/smart-ptr.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-checker cplusplus.Move,alpha.cplusplus.SmartPtr -analyzer-config cplusplus.SmartPtrModeling:ModelSmartPtrDereference=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr.cpp : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-checker cplusplus.Move,alpha.cplusplus.SmartPtr -analyzer-config cplusplus.SmartPtrModeling:ModelSmartPtrDereference=true -std=c++20 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-checker cplusplus.Move,alpha.cplusplus.SmartPtr -analyzer-config cplusplus.SmartPtrModeling:ModelSmartPtrDereference=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testCheckForFunctionsWithNoDecl(void (*)(_Bool, _Bool)) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr.cpp:544:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr.cpp:544:3: Error evaluating statement #0 0x0000ffff84c4ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff84c49180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff84c4b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8dc0b7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8cf00e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8cf00e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8cf00e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8cf00e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8cf00e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8cf00e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8cf00e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8cf00e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8cbae018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8cbae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8cbae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8cbae018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8cbaeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8cbaeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8cbaeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8cbaeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8cbc1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8cbc1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8cbc1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8cbc2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8cbc2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8cbc2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8cbc24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8cbc24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8cbc24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8cbceb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8cbceb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8cbceb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8cbd8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8cbd8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8cbd8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8cb3c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8cb3c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8cb3c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8cb3c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8d02b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8d02b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8d02b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8cc11bf8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8cc11bf8 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8cc11bf8 checkFunctionPointerCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:390:79 #45 0x0000ffff8cc11bf8 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:546:37 #46 0x0000ffff8cc11bf8 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::CallAndMessageChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:45 #47 0x0000ffff8cb267b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x0000ffff8cb267b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x0000ffff8cb267b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #50 0x0000ffff8cb267b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #51 0x0000ffff8cb267b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #52 0x0000ffff8cb86b50 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x0000ffff8cb86b50 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x0000ffff8cb86b50 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #55 0x0000ffff8cb86b50 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #56 0x0000ffff8cb86b50 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #57 0x0000ffff8cb86b50 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #58 0x0000ffff8cb86b50 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:683:44 #59 0x0000ffff8cb874f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #60 0x0000ffff8cb69250 clang::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 0x0000ffff8cb69250 clang::ento::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 0x0000ffff8cb6a2b8 clang::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 0x0000ffff8cb6a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8cb6a7cc clang::ento::CoreEngine::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 0x0000ffff8cb6ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffff8cb6ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffff8cb6ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffff8cb6ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffff8cb6ab14 clang::ento::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 0x0000ffff8ce352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffff8ce352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffff8ce352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffff8ce352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffff8ce352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffff8ce36278 llvm::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 0x0000ffff8ce36278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffff8ce36278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffff8ce3a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffff8ce3a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffff8ce3a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffff8ce3a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffff8ce3a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffff8b291b88 __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 0x0000ffff8b291b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffff8b291b88 void clang::finalize>, 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 0x0000ffff8b291b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffff8c955600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffff8c90d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffff8c90d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffff8c90d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffff8c9936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaac78559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaac78594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaac785aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaac7851fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffff83e9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffff83e90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaac78520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/smart-ptr.cpp.script: line 2: 38255 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-checker cplusplus.Move,alpha.cplusplus.SmartPtr -analyzer-config cplusplus.SmartPtrModeling:ModelSmartPtrDereference=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/solver-sym-simplification-ptr-bool.cl (1126 of 19719) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-ptr-bool.cl' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple amdgcn-unknown-unknown -analyze -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-ptr-bool.cl -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-ptr-bool.cl:27:5: warning: expression result unused [-Wunused-value] 27 | q && q; | ~ ^ ~ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-ptr-bool.cl:28:5: warning: expression result unused [-Wunused-value] 28 | q && q; | ~ ^ ~ PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple amdgcn-unknown-unknown -analyze -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-ptr-bool.cl 1. parser at end of file 2. While analyzing stack: #0 Calling test2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-ptr-bool.cl:27:3: Error evaluating branch #0 0x0000ffff9252ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff92529180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9252b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9b4e17e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9a7e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9a7e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9a7e0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9a7e0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9a7e0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9a7e0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9a7e0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9a7e0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9a48e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9a48e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9a48e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9a48e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9a48eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9a48eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9a48eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9a48eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9a4a1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9a4a1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9a4a1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9a4a2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9a4a2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9a4a2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9a4a24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9a4a24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9a4a24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9a4aeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9a4aeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9a4aeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9a4b8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9a4b8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9a4b8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9a41c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9a41c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9a41c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9a41c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9a90b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9a90b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9a90b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9a432bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff9a432bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff9a432bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff9a432bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff9a432bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff9a432bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff9a432bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff9a432bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff9a432bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff9a432bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff9a433130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff9a44ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9a44ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9a44ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9a44ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9a44ab14 clang::ento::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 0x0000ffff9a7152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9a7152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9a7152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9a7152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9a7152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9a716278 llvm::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 0x0000ffff9a716278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9a716278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9a71a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9a71a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9a71a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9a71a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9a71a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff98b71b88 __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 0x0000ffff98b71b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff98b71b88 void clang::finalize>, 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 0x0000ffff98b71b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9a235600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9a1ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9a1ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9a1ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9a2736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab11559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab11594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab115aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab1151fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9177098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff91770a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab11520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-ptr-bool.cl.script: line 1: 38301 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple amdgcn-unknown-unknown -analyze -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-ptr-bool.cl -- ******************** Testing: 0 FAIL: Clang :: Analysis/stack-addr-ps.cpp (1127 of 19719) ******************** TEST 'Clang :: Analysis/stack-addr-ps.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.cpp -Wno-undefined-bool-conversion -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.cpp -Wno-undefined-bool-conversion 1. parser at end of file #0 0x0000ffff91f2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff91f29180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff91f2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9aeea7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff99e39f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff99e39f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff99e39f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff99e39f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff99e39f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff99e39f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff99e39f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff99e39f54 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 0x0000ffff99e3a878 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 0x0000ffff99e4a954 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 0x0000ffff99e4ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff99e4ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff99e4ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff99e4ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff99e4ab14 clang::ento::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 0x0000ffff9a1152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff9a1152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff9a1152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff9a1152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff9a1152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff9a116278 llvm::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 0x0000ffff9a116278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff9a116278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff9a11a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff9a11a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff9a11a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff9a11a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff9a11a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff98571b88 __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 0x0000ffff98571b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff98571b88 void clang::finalize>, 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 0x0000ffff98571b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff99c35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff99bed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff99bed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff99bed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff99c736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaad6f359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaad6f394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaad6f3aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaad6f31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff9117098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff91170a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaad6f320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stack-addr-ps.cpp.script: line 1: 38319 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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/scan-build/silence-core-checkers.test (1128 of 19719) ******************** TEST 'Clang :: Analysis/scan-build/silence-core-checkers.test' FAILED ******************** Script: -- : 'RUN: at line 4'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir : 'RUN: at line 5'; '/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build' --use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -S /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/null_dereference_and_division_by_zero.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/silence-core-checkers.test -check-prefix CHECK-TWO-BUGS : 'RUN: at line 9'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir : 'RUN: at line 10'; '/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build' --use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir -disable-checker core.DivideZero /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -S /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/null_dereference_and_division_by_zero.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/silence-core-checkers.test -check-prefix CHECK-ONE-BUG : 'RUN: at line 15'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir : 'RUN: at line 16'; '/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build' --use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir -disable-checker core.NullDereference /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -S /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/null_dereference_and_division_by_zero.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/silence-core-checkers.test -check-prefix CHECK-ONE-BUG : 'RUN: at line 21'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir : 'RUN: at line 22'; '/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build' --use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir -disable-checker core.NullDereference -disable-checker core.DivideZero /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -S /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/null_dereference_and_division_by_zero.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/silence-core-checkers.test -check-prefix CHECK-NO-BUGS -- Exit Code: 1 Command Output (stdout): -- $ ":" "RUN: at line 4" $ "rm" "-rf" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir" $ "mkdir" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir" $ ":" "RUN: at line 5" $ "/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build" "--use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17" "-o" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang" "-S" "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/null_dereference_and_division_by_zero.c" # command stderr: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -cc1 -triple aarch64-opencloudos-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name null_dereference_and_division_by_zero.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=non-leaf -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu generic -target-feature +neon -target-feature +v8a -target-abi aapcs -debugger-tuning=gdb -fcoverage-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -resource-dir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../aarch64-OpenCloudOS-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -ferror-limit 19 -fno-signed-char -fgnuc-version=4.2.1 -analyzer-output=html -target-feature +outline-atomics -target-feature -fmv -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir/2024-09-29-010303-38187-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 0x0000ffff9f22ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9f229180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9f22b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa81e67e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa74e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa74e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa74e0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa74e0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa74e0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa74e0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa74e0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa74e0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa718e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa718e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa718e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa718e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa718eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa718eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa718eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa718eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa71a2c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa71a2c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa71a2c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa71a2f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa71a2f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa71a2f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffa71a24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa71a24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa71a24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa71aeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa71aeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa71aeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa71b8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa71b8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa71b8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa711c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa711c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa711c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa711c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa760b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa760b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa760b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa7132bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa7132bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa7132bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa7132bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa7132bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa7132bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa7132bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa7132bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa7132bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa7132bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa7133130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa714ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa714ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa714ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa714ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa714ab14 clang::ento::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 0x0000ffffa74152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa74152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa74152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa74152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa74152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa7416278 llvm::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 0x0000ffffa7416278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa7416278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa741a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa741a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa741a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa741a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa741a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa5871b88 __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 0x0000ffffa5871b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa5871b88 void clang::finalize>, 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 0x0000ffffa5871b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa6f35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa6eed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa6eed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa6eed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa6f736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabef159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabef194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabef1aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabef11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9e47098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9e470a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabef120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17+0x120b0) $ "/usr/bin/FileCheck" "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/silence-core-checkers.test" "-check-prefix" "CHECK-TWO-BUGS" # command stderr: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/silence-core-checkers.test:30:17: error: CHECK-TWO-BUGS: expected string not found in input CHECK-TWO-BUGS: scan-build: 2 bugs found. ^ :1:1: note: scanning from here scan-build: Using '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17' for static analysis ^ :3:1: note: possible intended match here scan-build: 0 bugs found. ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/silence-core-checkers.test -dump-input=help explains the following input dump. Input was: <<<<<< 1: scan-build: Using '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17' for static analysis check:30'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: scan-build: Analysis run complete. check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3: scan-build: 0 bugs found. check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~ check:30'1 ? possible intended match 4: scan-build: The analyzer encountered problems on some source files. check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: scan-build: Preprocessed versions of these sources were deposited in '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir/2024-09-29-010303-38187-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/stack-capture-leak-arc.mm (1129 of 19719) ******************** TEST 'Clang :: Analysis/stack-capture-leak-arc.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,alpha.core.StackAddressAsyncEscape -fblocks -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-capture-leak-arc.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,alpha.core.StackAddressAsyncEscape -fblocks -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-capture-leak-arc.mm 1. parser at end of file 2. While analyzing stack: #0 Calling anonymous code #0 0x0000ffffa03aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa03a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa03ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa936c7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa830a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa830a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa830a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa830a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffa830a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffa830a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffa82b53bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffa82b53bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffa82b53bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffa82e0e2c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #14 0x0000ffffa82e0e2c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #15 0x0000ffffa82ba3e8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #16 0x0000ffffa82ba3e8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #17 0x0000ffffa82ba3e8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #18 0x0000ffffa82ba3e8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #19 0x0000ffffa82ba878 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #20 0x0000ffffa82ca954 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #21 0x0000ffffa82cab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffffa82cab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffffa82cab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffffa82cab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffffa82cab14 clang::ento::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 0x0000ffffa85952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa85952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa85952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffffa85952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffffa85952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffffa8596278 llvm::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 0x0000ffffa8596278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffffa8596278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffffa859a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffffa859a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffffa859a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffffa859a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffffa859a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffffa69f1b88 __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 0x0000ffffa69f1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffffa69f1b88 void clang::finalize>, 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 0x0000ffffa69f1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffffa80b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffffa806d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffffa806d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffffa806d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffffa80f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaadddb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaadddb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaadddbaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaadddb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffff9f5f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffff9f5f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaadddb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stack-capture-leak-arc.mm.script: line 1: 38324 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,alpha.core.StackAddressAsyncEscape -fblocks -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-capture-leak-arc.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/stackaddrleak.c (1130 of 19719) ******************** TEST 'Clang :: Analysis/stackaddrleak.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -std=c99 -Dbool=_Bool -Wno-bool-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stackaddrleak.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -x c++ -Wno-bool-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stackaddrleak.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -std=c99 -Dbool=_Bool -Wno-bool-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stackaddrleak.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_multi_return #0 0x0000ffffb5fcad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb5fc9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb5fcb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbef8c7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbdec317c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffbdec317c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbdec317c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbdec317c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbdec317c llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x0000ffffbdec317c 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 0x0000ffffbdec317c contains<(anonymous namespace)::InitializedGlobalsSet> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:470:42 #11 0x0000ffffbdec317c 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 0x0000ffffbdec34ec clang::ento::CoreEngine::HandleStaticInit(clang::DeclStmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:484:10 #13 0x0000ffffbdeea98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #14 0x0000ffffbdeeab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffbdeeab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffbdeeab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffbdeeab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffbdeeab14 clang::ento::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 0x0000ffffbe1b52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffbe1b52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffbe1b52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffbe1b52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffbe1b52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffbe1b6278 llvm::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 0x0000ffffbe1b6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffbe1b6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffbe1ba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffbe1ba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffbe1ba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffbe1ba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffbe1ba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffbc611b88 __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 0x0000ffffbc611b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffbc611b88 void clang::finalize>, 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 0x0000ffffbc611b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffbdcd5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffbdc8d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffbdc8d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffbdc8d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffbdd136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaab50559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaab50594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaab505aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaab5051fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffb521098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffb5210a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaab50520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stackaddrleak.c.script: line 2: 38333 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -std=c99 -Dbool=_Bool -Wno-bool-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stackaddrleak.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-functions-arg-constraints.c (1131 of 19719) ******************** TEST 'Clang :: Analysis/std-c-library-functions-arg-constraints.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-checker=debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify=report : 'RUN: at line 12'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-checker=debug.ExprInspection -triple x86_64-unknown-linux-gnu -analyzer-output=text -verify=bugpath -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-checker=debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify=report 1. parser at end of file 2. While analyzing stack: #0 Calling test_buf_size_symbolic_and_offset_with_multiplication #0 0x0000ffff7c78ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7c789180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7c78b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff857477e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff846ea104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff846ea104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff846ea104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff846ea104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff846ea104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff846ea104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff846953bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff846953bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff846953bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff846c0e2c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #14 0x0000ffff846c0e2c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #15 0x0000ffff8469a3e8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #16 0x0000ffff8469a3e8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #17 0x0000ffff8469a3e8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #18 0x0000ffff8469a3e8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #19 0x0000ffff8469a878 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #20 0x0000ffff846aa954 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #21 0x0000ffff846aab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffff846aab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffff846aab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffff846aab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffff846aab14 clang::ento::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 0x0000ffff849752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff849752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff849752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffff849752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffff849752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffff84976278 llvm::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 0x0000ffff84976278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffff84976278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffff8497a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffff8497a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffff8497a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffff8497a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffff8497a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffff82dd1b88 __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 0x0000ffff82dd1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffff82dd1b88 void clang::finalize>, 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 0x0000ffff82dd1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffff84495600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffff8444d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffff8444d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffff8444d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffff844d36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaadd0059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaadd0094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaadd00aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaadd001fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffff7b9d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffff7b9d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaadd0020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-arg-constraints.c.script: line 2: 38352 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-checker=debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify=report -- ******************** Testing: 0 FAIL: Clang :: Analysis/stack-frame-context-revision.cpp (1132 of 19719) ******************** TEST 'Clang :: Analysis/stack-frame-context-revision.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,cplusplus.NewDelete -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-frame-context-revision.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,cplusplus.NewDelete -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-frame-context-revision.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test(Node *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-frame-context-revision.cpp:29:10: Error evaluating branch #0 0x0000ffff7bbbad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7bbb9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7bbbb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff84b7d7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff83e70e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff83e70e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff83e70e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff83e70e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff83e70e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff83e70e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff83e70e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff83e70e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff83b1e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff83b1e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff83b1e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff83b1e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff83b1eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff83b1eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff83b1eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff83b1eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff83b31aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff83b31aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff83b31aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff83b32ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff83b32ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff83b32ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff83b324c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff83b324c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff83b324c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff83b3eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff83b3eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff83b3eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff83b48484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff83b48484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff83b48484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff83aac9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff83aac9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff83aac9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff83aac9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff83f9b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff83f9b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff83f9b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff83ac2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff83ac2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff83ac2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff83ac2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff83ac2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff83ac2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff83ac2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff83ac2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff83ac2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff83ac2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff83ac3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff83adab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff83adab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff83adab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff83adab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff83adab14 clang::ento::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 0x0000ffff83da52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff83da52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff83da52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff83da52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff83da52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff83da6278 llvm::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 0x0000ffff83da6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff83da6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff83daa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff83daa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff83daa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff83daa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff83daa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff82201b88 __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 0x0000ffff82201b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff82201b88 void clang::finalize>, 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 0x0000ffff82201b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff838c5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8387d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8387d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8387d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff839036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae44d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae44d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae44daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae44d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7ae0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7ae00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae44d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stack-frame-context-revision.cpp.script: line 1: 38328 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,cplusplus.NewDelete -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-frame-context-revision.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-functions-arg-constraints-notes.cpp (1133 of 19719) ******************** TEST 'Clang :: Analysis/std-c-library-functions-arg-constraints-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints-notes.cpp -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints-notes.cpp -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -verify 1. parser at end of file #0 0x0000ffffae8fad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffae8f9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffae8fb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb78b97e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb6bb0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb6bb0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb6bb0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb6bb0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb6bb0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb6bb0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb6bb0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb6bb0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb685e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb685e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb685e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb685e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb6860038 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb6860038 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb6860038 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb6860038 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffffb6872188 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb6872188 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb6872188 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffffb68726e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb68726e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb68726e4 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffffb67ed018 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb67ed018 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb67ed018 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffffb67ed018 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffffb68034e8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb68034e8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb68034e8 clang::ento::ProgramState::assumeInclusiveRange(clang::ento::DefinedOrUnknownSVal, llvm::APSInt const&, llvm::APSInt const&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:746:43 #33 0x0000ffffb68034e8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #34 0x0000ffffb680aebc clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #35 0x0000ffffb681ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffb681ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffb681ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffb681ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffb681ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffffb6ae52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffb6ae52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffb6ae52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffb6ae52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffb6ae52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffb6ae6278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffffb6ae6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffb6ae6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffb6aea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffb6aea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffb6aea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffb6aea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffb6aea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffb4f41b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffffb4f41b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffb4f41b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffffb4f41b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffb6605600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffb65bd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffb65bd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffb65bd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffb66436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaad75659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaad75694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaad756aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaad7561fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffffadb4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffffadb40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaad75620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-arg-constraints-notes.cpp.script: line 1: 38347 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints-notes.cpp -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/stack-capture-leak-no-arc.mm (1134 of 19719) ******************** TEST 'Clang :: Analysis/stack-capture-leak-no-arc.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,alpha.core.StackAddressAsyncEscape -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-capture-leak-no-arc.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,alpha.core.StackAddressAsyncEscape -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-capture-leak-no-arc.mm 1. parser at end of file 2. While analyzing stack: #0 Calling anonymous code 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-capture-leak-no-arc.mm:34:5: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-capture-leak-no-arc.mm:34:5: Error evaluating statement #0 0x0000ffff7f24ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7f249180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7f24b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff882017e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff87500e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff87500e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff87500e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff87500e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff87500e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff87500e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff87500e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff87500e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff871ae018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff871ae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff871ae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff871ae018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff871aeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff871aeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff871aeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff871aeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff871c1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff871c1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff871c1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff871c2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff871c2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff871c2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff871c24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff871c24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff871c24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff871ceb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff871ceb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff871ceb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff871d8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff871d8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff871d8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8713c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8713c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8713c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8713c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8762b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8762b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8762b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff87211bf8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff87211bf8 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff87211bf8 checkFunctionPointerCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:390:79 #45 0x0000ffff87211bf8 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:546:37 #46 0x0000ffff87211bf8 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::CallAndMessageChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:45 #47 0x0000ffff871267b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x0000ffff871267b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x0000ffff871267b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #50 0x0000ffff871267b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #51 0x0000ffff871267b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #52 0x0000ffff87186b50 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x0000ffff87186b50 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x0000ffff87186b50 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #55 0x0000ffff87186b50 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #56 0x0000ffff87186b50 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #57 0x0000ffff87186b50 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #58 0x0000ffff87186b50 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:683:44 #59 0x0000ffff871874f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #60 0x0000ffff87169250 clang::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 0x0000ffff87169250 clang::ento::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 0x0000ffff8716a2b8 clang::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 0x0000ffff8716a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8716a7cc clang::ento::CoreEngine::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 0x0000ffff8716ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffff8716ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffff8716ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffff8716ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffff8716ab14 clang::ento::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 0x0000ffff874352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffff874352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffff874352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffff874352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffff874352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffff87436278 llvm::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 0x0000ffff87436278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffff87436278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffff8743a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffff8743a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffff8743a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffff8743a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffff8743a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffff85891b88 __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 0x0000ffff85891b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffff85891b88 void clang::finalize>, 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 0x0000ffff85891b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffff86f55600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffff86f0d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffff86f0d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffff86f0d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffff86f936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaacb5a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaacb5a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaacb5aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaacb5a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffff7e49098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffff7e490a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaacb5a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stack-capture-leak-no-arc.mm.script: line 1: 38326 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,alpha.core.StackAddressAsyncEscape -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-capture-leak-no-arc.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-functions-arg-constraints-note-tags.cpp (1135 of 19719) ******************** TEST 'Clang :: Analysis/std-c-library-functions-arg-constraints-note-tags.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints-note-tags.cpp -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -analyzer-output=text -verify -- Exit Code: 139 Command Output (stderr): -- Loaded summary for: int __not_null(int *) Loaded summary for: int __single_val_0(int) Loaded summary for: int __buf_size_arg_constraint_concrete(const void *buf) Loaded summary for: int __test_case_note() PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints-note-tags.cpp -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -analyzer-output=text -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_case_note_2(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints-note-tags.cpp:63:11: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints-note-tags.cpp:63:11: Error evaluating statement #0 0x0000ffff8164ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff81649180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8164b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8a60b7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff89587cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff89587cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff89587cb0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff89587cb0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff89587cb0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff89587cb0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff89587cb0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff89587cb0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff89587cb0 (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 0x0000ffff89587d8c (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffff895cef58 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::VisitSymbolData(clang::ento::SymbolData const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1259:54 #15 0x0000ffff899e82f4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #16 0x0000ffff899e82f4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #17 0x0000ffff899e82f4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #18 0x0000ffff895c27b4 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #19 0x0000ffff895c27b4 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #20 0x0000ffff895c1d88 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #21 0x0000ffff895c1e8c clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #22 0x0000ffff895c1fcc clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:105:17 #23 0x0000ffff895c26e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff895c26e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff895c26e4 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffff8953d018 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8953d018 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8953d018 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffff8953d018 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffff8953d36c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8953d36c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8953d36c clang::ento::ConstraintManager::assumeInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:121:54 #33 0x0000ffff897b3110 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1050:0 #34 0x0000ffff897b3110 __invoke_impl&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:61:0 #35 0x0000ffff897b3110 __invoke_r&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:114:0 #36 0x0000ffff897b3110 std::_Function_handler, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const::'lambda'(llvm::APSInt const&, llvm::APSInt const&)>::_M_invoke(std::_Any_data const&, llvm::APSInt const&, llvm::APSInt const&) /usr/include/c++/12/bits/std_function.h:290:0 #37 0x0000ffff8979b8a4 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #38 0x0000ffff8979b8a4 std::function::~function() /usr/include/c++/12/bits/std_function.h:334:0 #39 0x0000ffff8979b8a4 (anonymous namespace)::StdLibraryFunctionsChecker::RangeConstraint::apply(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1055:0 #40 0x0000ffff897b24c0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #41 0x0000ffff897b24c0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #42 0x0000ffff897b24c0 (anonymous namespace)::StdLibraryFunctionsChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1379:0 #43 0x0000ffff895267b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x0000ffff895267b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff895267b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #46 0x0000ffff895267b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #47 0x0000ffff895267b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #48 0x0000ffff89586c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #49 0x0000ffff89586c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #50 0x0000ffff89586c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #51 0x0000ffff89586c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #52 0x0000ffff89586c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #53 0x0000ffff89586c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #54 0x0000ffff895874f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #55 0x0000ffff89569250 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #56 0x0000ffff89569250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #57 0x0000ffff8956a2b8 clang::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 0x0000ffff8956a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8956a7cc clang::ento::CoreEngine::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 0x0000ffff8956ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffff8956ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffff8956ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #63 0x0000ffff8956ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #64 0x0000ffff8956ab14 clang::ento::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 0x0000ffff898352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #66 0x0000ffff898352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #67 0x0000ffff898352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #68 0x0000ffff898352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #69 0x0000ffff898352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #70 0x0000ffff89836278 llvm::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 0x0000ffff89836278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x0000ffff89836278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #73 0x0000ffff8983a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x0000ffff8983a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x0000ffff8983a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x0000ffff8983a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x0000ffff8983a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x0000ffff87c91b88 __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 0x0000ffff87c91b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x0000ffff87c91b88 void clang::finalize>, 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 0x0000ffff87c91b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x0000ffff89355600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #83 0x0000ffff8930d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #84 0x0000ffff8930d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #85 0x0000ffff8930d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #86 0x0000ffff893936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #87 0x0000aaaacf0359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x0000aaaacf0394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x0000aaaacf03aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x0000aaaacf031fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x0000ffff8089098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #92 0x0000ffff80890a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #93 0x0000aaaacf0320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-arg-constraints-note-tags.cpp.script: line 1: 38338 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints-note-tags.cpp -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -analyzer-output=text -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-functions-path-notes.c (1136 of 19719) ******************** TEST 'Clang :: Analysis/std-c-library-functions-path-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-path-notes.c -analyzer-checker=core,alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-output=text -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-path-notes.c -analyzer-checker=core,alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-output=text 1. parser at end of file 2. While analyzing stack: #0 Calling test_fileno_arg_note 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-path-notes.c:78:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-path-notes.c:78:14: Error evaluating statement #0 0x0000ffff7d83ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7d839180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7d83b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff867f17e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff85af0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff85af0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff85af0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff85af0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff85af0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff85af0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff85af0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff85af0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8579e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8579e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8579e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8579e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8579eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8579eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8579eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8579eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff857b1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff857b1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff857b1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff857b2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff857b2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff857b2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff857b24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff857b24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff857b24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff857beb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff857beb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff857beb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff857c8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff857c8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff857c8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8572c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8572c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8572c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8572c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8572cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8572cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8572cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8597d048 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #43 0x0000ffff8597d048 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #44 0x0000ffff8597d048 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:60 #45 0x0000ffff8597d048 (anonymous namespace)::StdLibraryFunctionsChecker::NotNullConstraint::apply(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1168:39 #46 0x0000ffff859a17b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x0000ffff859a17b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x0000ffff859a17b4 (anonymous namespace)::StdLibraryFunctionsChecker::checkPreCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1326:0 #49 0x0000ffff857167b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x0000ffff857167b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x0000ffff857167b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #52 0x0000ffff857167b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #53 0x0000ffff857167b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #54 0x0000ffff85776b50 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #55 0x0000ffff85776b50 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #56 0x0000ffff85776b50 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #57 0x0000ffff85776b50 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #58 0x0000ffff85776b50 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #59 0x0000ffff85776b50 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #60 0x0000ffff85776b50 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:683:44 #61 0x0000ffff857774f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #62 0x0000ffff85759250 clang::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 0x0000ffff85759250 clang::ento::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 0x0000ffff8575a2b8 clang::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 0x0000ffff8575a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8575a7cc clang::ento::CoreEngine::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 0x0000ffff8575ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff8575ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff8575ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #70 0x0000ffff8575ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #71 0x0000ffff8575ab14 clang::ento::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 0x0000ffff85a252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #73 0x0000ffff85a252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #74 0x0000ffff85a252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #75 0x0000ffff85a252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #76 0x0000ffff85a252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #77 0x0000ffff85a26278 llvm::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 0x0000ffff85a26278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #79 0x0000ffff85a26278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #80 0x0000ffff85a2a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #81 0x0000ffff85a2a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #82 0x0000ffff85a2a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #83 0x0000ffff85a2a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #84 0x0000ffff85a2a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #85 0x0000ffff83e81b88 __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 0x0000ffff83e81b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #87 0x0000ffff83e81b88 void clang::finalize>, 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 0x0000ffff83e81b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #89 0x0000ffff85545600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #90 0x0000ffff854fd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #91 0x0000ffff854fd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #92 0x0000ffff854fd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #93 0x0000ffff855836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #94 0x0000aaaabad959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #95 0x0000aaaabad994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #96 0x0000aaaabad9aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #97 0x0000aaaabad91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #98 0x0000ffff7ca8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #99 0x0000ffff7ca80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #100 0x0000aaaabad920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-path-notes.c.script: line 1: 38391 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-path-notes.c -analyzer-checker=core,alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-output=text -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-functions-arg-cstring-dependency.c (1137 of 19719) ******************** TEST 'Clang :: Analysis/std-c-library-functions-arg-cstring-dependency.c' FAILED ******************** Script: -- : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-cstring-dependency.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=unix.cstring.NullArg -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -triple x86_64-unknown-linux-gnu -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-cstring-dependency.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=unix.cstring.NullArg -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -triple x86_64-unknown-linux-gnu -verify 1. parser at end of file 2. While analyzing stack: #0 Calling strncasecmp_null_argument 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-cstring-dependency.c:19:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-cstring-dependency.c:19:10: Error evaluating statement #0 0x0000ffffae49ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffae499180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffae49b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb74587e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb6750e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb6750e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb6750e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb6750e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb6750e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb6750e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb6750e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb6750e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb63fe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb63fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb63fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb63fe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb63feef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb63feef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb63feef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb63feef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb6411aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb6411aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb6411aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb6412ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb6412ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb6412ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb64124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb64124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb64124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb641eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb641eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb641eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb6428484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb6428484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb6428484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb638c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb638c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb638c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb638c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb6882d58 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb6882d58 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb6882d58 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb6882d58 (anonymous namespace)::CStringChecker::assumeZero(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::QualType) (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:346:0 #43 0x0000ffffb6882e18 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #44 0x0000ffffb6882e18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #45 0x0000ffffb6882e18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffb6882e18 (anonymous namespace)::CStringChecker::checkNonNull(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, (anonymous namespace)::AnyArgExpr, clang::ento::SVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:358:0 #47 0x0000ffffb6452498 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #48 0x0000ffffb6452498 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #49 0x0000ffffb6452498 (anonymous namespace)::CStringChecker::evalStrcmpCommon(clang::ento::CheckerContext&, clang::CallExpr const*, bool, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2103:47 #50 0x0000ffffb645c070 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #51 0x0000ffffb645c070 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2515:23 #52 0x0000ffffb645c070 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CStringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #53 0x0000ffffb637719c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #54 0x0000ffffb63d6bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #55 0x0000ffffb63d6bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #56 0x0000ffffb63d6bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #57 0x0000ffffb63d6bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #58 0x0000ffffb63d74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #59 0x0000ffffb63b9250 clang::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 0x0000ffffb63b9250 clang::ento::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 0x0000ffffb63ba2b8 clang::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 0x0000ffffb63ba5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb63ba7cc clang::ento::CoreEngine::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 0x0000ffffb63bab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x0000ffffb63bab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x0000ffffb63bab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #67 0x0000ffffb63bab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #68 0x0000ffffb63bab14 clang::ento::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 0x0000ffffb66852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #70 0x0000ffffb66852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #71 0x0000ffffb66852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #72 0x0000ffffb66852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #73 0x0000ffffb66852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #74 0x0000ffffb6686278 llvm::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 0x0000ffffb6686278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #76 0x0000ffffb6686278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #77 0x0000ffffb668a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #78 0x0000ffffb668a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #79 0x0000ffffb668a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #80 0x0000ffffb668a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #81 0x0000ffffb668a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #82 0x0000ffffb4ae1b88 __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 0x0000ffffb4ae1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #84 0x0000ffffb4ae1b88 void clang::finalize>, 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 0x0000ffffb4ae1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #86 0x0000ffffb61a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #87 0x0000ffffb615d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #88 0x0000ffffb615d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #89 0x0000ffffb615d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #90 0x0000ffffb61e36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #91 0x0000aaaabb1a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #92 0x0000aaaabb1a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #93 0x0000aaaabb1aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #94 0x0000aaaabb1a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #95 0x0000ffffad6e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #96 0x0000ffffad6e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #97 0x0000aaaabb1a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-arg-cstring-dependency.c.script: line 1: 38360 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-cstring-dependency.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=unix.cstring.NullArg -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -triple x86_64-unknown-linux-gnu -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-functions-vs-stream-checker.c (1138 of 19719) ******************** TEST 'Clang :: Analysis/std-c-library-functions-vs-stream-checker.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c -analyzer-checker=core,alpha.unix.Stream -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux -verify=stream : 'RUN: at line 10'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux -verify=stdLib 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c : 'RUN: at line 20'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c -analyzer-checker=core,alpha.unix.Stream -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux -verify=both 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c -analyzer-checker=core,alpha.unix.Stream -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux -verify=stream 1. parser at end of file 2. While analyzing stack: #0 Calling test_fread_fwrite 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c:40:8: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c:40:8: Error evaluating statement #0 0x0000ffff95f3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff95f39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff95f3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9eefa7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9e1f0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9e1f0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9e1f0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9e1f0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9e1f0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9e1f0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9e1f0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9e1f0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9de9e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9de9e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9de9e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9de9e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9de9eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9de9eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9de9eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9de9eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9deb1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9deb1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9deb1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9deb2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9deb2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9deb2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9deb24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9deb24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9deb24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9debeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9debeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9debeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9dec8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9dec8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9dec8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9de2c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9de2c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9de2c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9de2c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9e0a41ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x0000ffff9e0a41ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x0000ffff9e0a41ac (anonymous namespace)::StreamChecker::evalFopen((anonymous namespace)::FnDescription const*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:545:0 #42 0x0000ffff9e085ff8 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #43 0x0000ffff9e085ff8 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:23 #44 0x0000ffff9e085ff8 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::StreamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #45 0x0000ffff9de1719c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #46 0x0000ffff9de76bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #47 0x0000ffff9de76bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #48 0x0000ffff9de76bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #49 0x0000ffff9de76bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #50 0x0000ffff9de774f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #51 0x0000ffff9de59250 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #52 0x0000ffff9de59250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #53 0x0000ffff9de5a2b8 clang::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 0x0000ffff9de5a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9de5a7cc clang::ento::CoreEngine::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 0x0000ffff9de5ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffff9de5ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffff9de5ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffff9de5ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffff9de5ab14 clang::ento::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 0x0000ffff9e1252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffff9e1252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffff9e1252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffff9e1252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffff9e1252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffff9e126278 llvm::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 0x0000ffff9e126278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffff9e126278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffff9e12a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffff9e12a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffff9e12a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffff9e12a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffff9e12a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffff9c581b88 __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 0x0000ffff9c581b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffff9c581b88 void clang::finalize>, 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 0x0000ffff9c581b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffff9dc45600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffff9dbfd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffff9dbfd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffff9dbfd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffff9dc836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaae47459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaae47494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaae474aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaae4741fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffff9518098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffff95180a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaae47420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-vs-stream-checker.c.script: line 3: 38402 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c -analyzer-checker=core,alpha.unix.Stream -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux -verify=stream -- ******************** Testing: 0 FAIL: Clang :: Analysis/static_local.m (1140 of 19719) ******************** TEST 'Clang :: Analysis/static_local.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/static_local.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/static_local.m 1. parser at end of file #0 0x0000ffffabd4ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffabd49180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffabd4b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb4d027e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb4000e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb4000e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb4000e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb4000e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb4000e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb4000e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb4000e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb4000e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb3cae018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb3cae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb3cae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb3cae018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb3caeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb3caeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb3caeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb3caeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb3cc1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb3cc1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb3cc1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb3cc2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb3cc2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb3cc2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb3cc24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb3cc24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb3cc24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb3cceb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb3cceb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb3cceb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb3cd8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb3cd8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb3cd8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb3c3c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb3c3c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb3c3c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb3c3c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb3c3cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb3c3cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb3c3cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb3c10400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb3c10400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb3c10400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb3c4cea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb3c4cea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb3c4cea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffb3c6ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb3c6ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb3c6ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb3f352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb3f352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb3f352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb3f352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb3f352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb3f36278 llvm::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 0x0000ffffb3f36278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb3f36278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb3f3a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb3f3a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb3f3a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb3f3a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb3f3a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb2391b88 __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 0x0000ffffb2391b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb2391b88 void clang::finalize>, 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 0x0000ffffb2391b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb3a55600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb3a0d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb3a0d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb3a0d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb3a936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac44159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac44194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac441aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac4411fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffaaf9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffaaf90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac44120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/static_local.m.script: line 1: 38332 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/static_local.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-functions-eof.c (1141 of 19719) ******************** TEST 'Clang :: Analysis/std-c-library-functions-eof.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i686-unknown-linux -analyzer-checker=core,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=core,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple armv7-a15-linux -analyzer-checker=core,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple thumbv7-a15-linux -analyzer-checker=core,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_getc 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c:17:15: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c:17:15: Error evaluating statement #0 0x0000ffff9f6dad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9f6d9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9f6db408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa86927e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa7990e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa7990e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa7990e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa7990e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa7990e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa7990e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa7990e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa7990e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa763e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa763e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa763e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa763e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa7640038 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa7640038 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa7640038 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa7640038 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffffa7652188 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa7652188 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa7652188 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffffa76526e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa76526e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa76526e4 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffffa75cd018 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa75cd018 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa75cd018 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffffa75cd018 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffffa75cd36c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa75cd36c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa75cd36c clang::ento::ConstraintManager::assumeInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:121:54 #33 0x0000ffffa7843110 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1050:0 #34 0x0000ffffa7843110 __invoke_impl&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:61:0 #35 0x0000ffffa7843110 __invoke_r&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:114:0 #36 0x0000ffffa7843110 std::_Function_handler, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const::'lambda'(llvm::APSInt const&, llvm::APSInt const&)>::_M_invoke(std::_Any_data const&, llvm::APSInt const&, llvm::APSInt const&) /usr/include/c++/12/bits/std_function.h:290:0 #37 0x0000ffffa782b2d4 (anonymous namespace)::StdLibraryFunctionsChecker::RangeConstraint::applyOnOutOfRange(clang::ento::BasicValueFactory&, clang::QualType, std::function const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1022:0 #38 0x0000ffffa782b8a4 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #39 0x0000ffffa782b8a4 std::function::~function() /usr/include/c++/12/bits/std_function.h:334:0 #40 0x0000ffffa782b8a4 (anonymous namespace)::StdLibraryFunctionsChecker::RangeConstraint::apply(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1055:0 #41 0x0000ffffa78424c0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #42 0x0000ffffa78424c0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #43 0x0000ffffa78424c0 (anonymous namespace)::StdLibraryFunctionsChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1379:0 #44 0x0000ffffa75b67b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffa75b67b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffa75b67b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffa75b67b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffa75b67b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffa7616c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffa7616c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffa7616c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffa7616c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffa7616c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffa7616c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffa76174f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffa75f9250 clang::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 0x0000ffffa75f9250 clang::ento::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 0x0000ffffa75fa2b8 clang::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 0x0000ffffa75fa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa75fa7cc clang::ento::CoreEngine::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 0x0000ffffa75fab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffa75fab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffa75fab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffa75fab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffa75fab14 clang::ento::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 0x0000ffffa78c52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffa78c52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffa78c52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffa78c52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffa78c52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffa78c6278 llvm::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 0x0000ffffa78c6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffa78c6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffa78ca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffa78ca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffa78ca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffa78ca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffa78ca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffa5d21b88 __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 0x0000ffffa5d21b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffa5d21b88 void clang::finalize>, 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 0x0000ffffa5d21b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffa73e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffa739d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffa739d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffa739d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffa74236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaab9fa59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaab9fa94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaab9faaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaab9fa1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff9e92098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff9e920a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaab9fa20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-eof.c.script: line 5: 38374 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-functions-inlined.c (1142 of 19719) ******************** TEST 'Clang :: Analysis/std-c-library-functions-inlined.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.StdCLibraryFunctions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i686-unknown-linux -analyzer-checker=alpha.unix.StdCLibraryFunctions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=alpha.unix.StdCLibraryFunctions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple armv7-a15-linux -analyzer-checker=alpha.unix.StdCLibraryFunctions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple thumbv7-a15-linux -analyzer-checker=alpha.unix.StdCLibraryFunctions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.StdCLibraryFunctions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_redefined_isdigit 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c:15:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c:15:10: Error evaluating statement #0 0x0000ffffaaf7ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffaaf79180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffaaf7b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb3f307e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb2eb7cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffb2eb7cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb2eb7cb0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb2eb7cb0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb2eb7cb0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb2eb7cb0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb2eb7cb0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffffb2eb7cb0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffffb2eb7cb0 (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 0x0000ffffb2eb7d8c (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffffb2efef58 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::VisitSymbolData(clang::ento::SymbolData const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1259:54 #15 0x0000ffffb33182f4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #16 0x0000ffffb33182f4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #17 0x0000ffffb33182f4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #18 0x0000ffffb2ef27b4 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #19 0x0000ffffb2ef27b4 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #20 0x0000ffffb2ef1d88 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #21 0x0000ffffb2ef1e8c clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #22 0x0000ffffb2ef1fcc clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:105:17 #23 0x0000ffffb2ef26e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb2ef26e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb2ef26e4 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffffb2e6d018 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb2e6d018 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb2e6d018 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffffb2e6d018 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffffb2e6d36c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb2e6d36c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb2e6d36c clang::ento::ConstraintManager::assumeInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:121:54 #33 0x0000ffffb30e3110 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1050:0 #34 0x0000ffffb30e3110 __invoke_impl&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:61:0 #35 0x0000ffffb30e3110 __invoke_r&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:114:0 #36 0x0000ffffb30e3110 std::_Function_handler, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const::'lambda'(llvm::APSInt const&, llvm::APSInt const&)>::_M_invoke(std::_Any_data const&, llvm::APSInt const&, llvm::APSInt const&) /usr/include/c++/12/bits/std_function.h:290:0 #37 0x0000ffffb30cb8a4 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #38 0x0000ffffb30cb8a4 std::function::~function() /usr/include/c++/12/bits/std_function.h:334:0 #39 0x0000ffffb30cb8a4 (anonymous namespace)::StdLibraryFunctionsChecker::RangeConstraint::apply(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1055:0 #40 0x0000ffffb30e24c0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #41 0x0000ffffb30e24c0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #42 0x0000ffffb30e24c0 (anonymous namespace)::StdLibraryFunctionsChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1379:0 #43 0x0000ffffb2e567b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x0000ffffb2e567b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb2e567b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #46 0x0000ffffb2e567b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #47 0x0000ffffb2e567b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #48 0x0000ffffb2eb6c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #49 0x0000ffffb2eb6c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #50 0x0000ffffb2eb6c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #51 0x0000ffffb2eb6c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #52 0x0000ffffb2eb6c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #53 0x0000ffffb2eb6c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #54 0x0000ffffb2eb74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #55 0x0000ffffb2e99250 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #56 0x0000ffffb2e99250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #57 0x0000ffffb2e9a2b8 clang::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 0x0000ffffb2e9a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb2e9a7cc clang::ento::CoreEngine::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 0x0000ffffb2e9ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffffb2e9ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffffb2e9ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #63 0x0000ffffb2e9ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #64 0x0000ffffb2e9ab14 clang::ento::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 0x0000ffffb31652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #66 0x0000ffffb31652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #67 0x0000ffffb31652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #68 0x0000ffffb31652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #69 0x0000ffffb31652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #70 0x0000ffffb3166278 llvm::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 0x0000ffffb3166278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x0000ffffb3166278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #73 0x0000ffffb316a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x0000ffffb316a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x0000ffffb316a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x0000ffffb316a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x0000ffffb316a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x0000ffffb15c1b88 __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 0x0000ffffb15c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x0000ffffb15c1b88 void clang::finalize>, 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 0x0000ffffb15c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x0000ffffb2c85600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #83 0x0000ffffb2c3d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #84 0x0000ffffb2c3d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #85 0x0000ffffb2c3d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #86 0x0000ffffb2cc36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #87 0x0000aaaae49b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x0000aaaae49b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x0000aaaae49baac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x0000aaaae49b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x0000ffffaa1c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #92 0x0000ffffaa1c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #93 0x0000aaaae49b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-inlined.c.script: line 5: 38381 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.StdCLibraryFunctions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-functions.c (1143 of 19719) ******************** TEST 'Clang :: Analysis/std-c-library-functions.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -verify : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux -verify : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple armv7-a15-linux -verify : 'RUN: at line 25'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple thumbv7-a15-linux -verify : 'RUN: at line 33'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_getenv 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c:238:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c:238:23: Error evaluating statement #0 0x0000ffff819bad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff819b9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff819bb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8a97a7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff89c70e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff89c70e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff89c70e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff89c70e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff89c70e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff89c70e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff89c70e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff89c70e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8991e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8991e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8991e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8991e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8991eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8991eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8991eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8991eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff89931aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff89931aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff89931aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff89932ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff89932ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff89932ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff899324c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff899324c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff899324c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8993eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8993eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8993eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff89948484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff89948484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff89948484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff898ac9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff898ac9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff898ac9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff898ac9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff898acec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff898acec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff898acec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff89afd048 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #43 0x0000ffff89afd048 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #44 0x0000ffff89afd048 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:60 #45 0x0000ffff89afd048 (anonymous namespace)::StdLibraryFunctionsChecker::NotNullConstraint::apply(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1168:39 #46 0x0000ffff89b224c0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #47 0x0000ffff89b224c0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #48 0x0000ffff89b224c0 (anonymous namespace)::StdLibraryFunctionsChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1379:0 #49 0x0000ffff898967b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x0000ffff898967b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x0000ffff898967b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #52 0x0000ffff898967b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #53 0x0000ffff898967b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #54 0x0000ffff898f6c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #55 0x0000ffff898f6c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #56 0x0000ffff898f6c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #57 0x0000ffff898f6c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #58 0x0000ffff898f6c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #59 0x0000ffff898f6c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #60 0x0000ffff898f74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #61 0x0000ffff898d9250 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #62 0x0000ffff898d9250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #63 0x0000ffff898da2b8 clang::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 0x0000ffff898da5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff898da7cc clang::ento::CoreEngine::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 0x0000ffff898dab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff898dab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff898dab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #69 0x0000ffff898dab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #70 0x0000ffff898dab14 clang::ento::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 0x0000ffff89ba52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #72 0x0000ffff89ba52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #73 0x0000ffff89ba52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #74 0x0000ffff89ba52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #75 0x0000ffff89ba52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #76 0x0000ffff89ba6278 llvm::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 0x0000ffff89ba6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #78 0x0000ffff89ba6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #79 0x0000ffff89baa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #80 0x0000ffff89baa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #81 0x0000ffff89baa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #82 0x0000ffff89baa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #83 0x0000ffff89baa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #84 0x0000ffff88001b88 __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 0x0000ffff88001b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #86 0x0000ffff88001b88 void clang::finalize>, 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 0x0000ffff88001b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #88 0x0000ffff896c5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #89 0x0000ffff8967d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #90 0x0000ffff8967d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #91 0x0000ffff8967d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #92 0x0000ffff897036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #93 0x0000aaaaafcd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #94 0x0000aaaaafcd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #95 0x0000aaaaafcdaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #96 0x0000aaaaafcd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #97 0x0000ffff80c0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #98 0x0000ffff80c00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #99 0x0000aaaaafcd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions.c.script: line 5: 38405 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-functions.cpp (1145 of 19719) ******************** TEST 'Clang :: Analysis/std-c-library-functions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.cpp:13:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.cpp:13:3: Error evaluating statement #0 0x0000ffffa3bead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa3be9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa3beb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffacbae7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffabea0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffabea0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffabea0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffabea0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffabea0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffabea0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffabea0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffabea0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffabb4e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffabb4e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffabb4e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffabb4e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffabb4ec90 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffabb4ec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffabb4ec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffabb4ec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffabb62c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffabb62c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffabb62c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffabb62f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffabb62f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffabb62f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffabb624c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffabb624c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffabb624c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffabb6eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffabb6eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffabb6eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffabb78484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffabb78484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffabb78484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffabadc9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffabadc9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffabadc9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffabadc9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffabfcf5b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffabfcf5b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffabfcf5b4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffabfcf5b4 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #43 0x0000ffffabbe9ff0 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #44 0x0000ffffabbe9ff0 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #45 0x0000ffffabbe9ff0 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #46 0x0000ffffabc1d7c0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #47 0x0000ffffabc1d7c0 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #48 0x0000ffffabac719c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #49 0x0000ffffabb26bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #50 0x0000ffffabb26bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #51 0x0000ffffabb26bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #52 0x0000ffffabb26bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #53 0x0000ffffabb274f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #54 0x0000ffffabb09250 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #55 0x0000ffffabb09250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #56 0x0000ffffabb0a2b8 clang::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 0x0000ffffabb0a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffabb0a7cc clang::ento::CoreEngine::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 0x0000ffffabb0ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffabb0ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffabb0ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffabb0ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffabb0ab14 clang::ento::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 0x0000ffffabdd52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffabdd52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffabdd52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffabdd52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffabdd52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffabdd6278 llvm::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 0x0000ffffabdd6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffabdd6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffabdda900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffabdda900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffabdda900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffabdda900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffabdda900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffaa231b88 __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 0x0000ffffaa231b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffaa231b88 void clang::finalize>, 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 0x0000ffffaa231b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffab8f5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffab8ad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffab8ad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffab8ad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffab9336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaae66259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaae66294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaae662aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaae6621fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffffa2e3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffa2e30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaae66220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions.cpp.script: line 1: 38408 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/scan-build/exclude_directories.test (1146 of 19719) ******************** TEST 'Clang :: Analysis/scan-build/exclude_directories.test' FAILED ******************** Script: -- : 'RUN: at line 4'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir : 'RUN: at line 5'; '/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build' --use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -S /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory1/file1.c /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory2/file2.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/exclude_directories.test -check-prefix CHECK-NO-EXCLUDE : 'RUN: at line 20'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir : 'RUN: at line 21'; '/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build' --use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir --exclude directory1 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -S /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory1/file1.c /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory2/file2.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/exclude_directories.test -check-prefix CHECK-EXCLUDE1 : 'RUN: at line 30'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir : 'RUN: at line 31'; '/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build' --use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir --exclude directory1 --exclude directory2 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -S /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory1/file1.c /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory2/file2.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/exclude_directories.test -check-prefix CHECK-EXCLUDE-BOTH -- Exit Code: 1 Command Output (stdout): -- $ ":" "RUN: at line 4" $ "rm" "-rf" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir" $ "mkdir" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir" $ ":" "RUN: at line 5" $ "/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build" "--use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17" "-o" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang" "-S" "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory1/file1.c" "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory2/file2.c" # command stderr: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -cc1 -triple aarch64-opencloudos-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name file1.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=non-leaf -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu generic -target-feature +neon -target-feature +v8a -target-abi aapcs -debugger-tuning=gdb -fcoverage-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -resource-dir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../aarch64-OpenCloudOS-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -ferror-limit 19 -fno-signed-char -fgnuc-version=4.2.1 -analyzer-output=html -target-feature +outline-atomics -target-feature -fmv -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir/2024-09-29-010303-38061-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 0x0000ffffa135ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa1359180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa135b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffaa3177e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa9610e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa9610e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa9610e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa9610e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa9610e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa9610e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa9610e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa9610e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa92be018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa92be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa92be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa92be018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa92beef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa92beef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa92beef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa92beef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa92d1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa92d1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa92d1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa92d2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa92d2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa92d2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa92d24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa92d24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa92d24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa92deb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa92deb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa92deb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa92e8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa92e8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa92e8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa924c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa924c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa924c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa924c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa973b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa973b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa973b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa925fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa925fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa925fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffa927a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffa927a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffa927a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffa927a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffa927a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffa927a2b8 clang::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 0x0000ffffa927a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa927a7cc clang::ento::CoreEngine::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 0x0000ffffa927ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa927ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa927ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa927ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa927ab14 clang::ento::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 0x0000ffffa95452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa95452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa95452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa95452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa95452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa9546278 llvm::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 0x0000ffffa9546278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa9546278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa954a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa954a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa954a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa954a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa954a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa79a1b88 __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 0x0000ffffa79a1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa79a1b88 void clang::finalize>, 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 0x0000ffffa79a1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa9065600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa901d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa901d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa901d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa90a36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac39559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac39594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac395aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac3951fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa05a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa05a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac39520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17+0x120b0) PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -cc1 -triple aarch64-opencloudos-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name file2.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=non-leaf -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu generic -target-feature +neon -target-feature +v8a -target-abi aapcs -debugger-tuning=gdb -fcoverage-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -resource-dir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../aarch64-OpenCloudOS-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -ferror-limit 19 -fno-signed-char -fgnuc-version=4.2.1 -analyzer-output=html -target-feature +outline-atomics -target-feature -fmv -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir/2024-09-29-010303-38061-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 0x0000ffffb1cead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb1ce9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb1ceb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbaca87e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb9fa0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb9fa0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb9fa0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb9fa0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb9fa0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb9fa0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb9fa0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb9fa0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb9c4e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb9c4e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb9c4e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb9c4e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb9c4eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb9c4eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb9c4eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb9c4eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb9c61aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb9c61aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb9c61aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb9c62ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb9c62ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb9c62ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb9c624c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb9c624c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb9c624c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb9c6eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb9c6eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb9c6eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb9c78484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb9c78484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb9c78484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb9bdc9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb9bdc9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb9bdc9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb9bdc9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffba0cb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffba0cb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffba0cb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb9befd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb9befd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb9befd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb9c0a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb9c0a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb9c0a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb9c0a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb9c0a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb9c0a2b8 clang::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 0x0000ffffb9c0a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb9c0a7cc clang::ento::CoreEngine::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 0x0000ffffb9c0ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb9c0ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb9c0ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb9c0ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb9c0ab14 clang::ento::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 0x0000ffffb9ed52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb9ed52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb9ed52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb9ed52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb9ed52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb9ed6278 llvm::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 0x0000ffffb9ed6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb9ed6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb9eda900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb9eda900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb9eda900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb9eda900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb9eda900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb8331b88 __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 0x0000ffffb8331b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb8331b88 void clang::finalize>, 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 0x0000ffffb8331b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb99f5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb99ad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb99ad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb99ad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb9a336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabd9d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabd9d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabd9daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabd9d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb0f3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb0f30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabd9d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17+0x120b0) $ "/usr/bin/FileCheck" "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/exclude_directories.test" "-check-prefix" "CHECK-NO-EXCLUDE" # command stderr: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/exclude_directories.test:16:19: error: CHECK-NO-EXCLUDE: expected string not found in input CHECK-NO-EXCLUDE: scan-build: 2 bugs found. ^ :1:1: note: scanning from here scan-build: Using '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17' for static analysis ^ :3:1: note: possible intended match here scan-build: 0 bugs found. ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/exclude_directories.test -dump-input=help explains the following input dump. Input was: <<<<<< 1: scan-build: Using '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17' for static analysis check:16'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: scan-build: Analysis run complete. check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3: scan-build: 0 bugs found. check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~ check:16'1 ? possible intended match 4: scan-build: The analyzer encountered problems on some source files. check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: scan-build: Preprocessed versions of these sources were deposited in '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir/2024-09-29-010303-38061-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/stream-errno-note.c (1147 of 19719) ******************** TEST 'Clang :: Analysis/stream-errno-note.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=alpha.unix.Stream -analyzer-checker=alpha.unix.Errno -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-errno-note.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=alpha.unix.Stream -analyzer-checker=alpha.unix.Errno -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-errno-note.c 1. parser at end of file #0 0x0000ffff7eeead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7eee9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7eeeb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff87ea37e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff86e7fa68 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x0000ffff86e7fa68 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 0x0000ffff86e7fa68 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x0000ffff86e7fa68 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x0000ffff86e7fa68 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x0000ffff86e7fa68 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x0000ffff86e7fa68 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x0000ffff86e7fa68 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x0000ffff86e7fa68 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x0000ffff86e7fa68 (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 0x0000ffff86e7ff84 asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #15 0x0000ffff86e7ff84 asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #16 0x0000ffff86e7ff84 (anonymous namespace)::RegionStoreManager::Bind(void const*, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x0000ffff86e39ec8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #18 0x0000ffff86e39ec8 clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:120:0 #19 0x0000ffff86f16648 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x0000ffff86f16648 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x0000ffff86f16648 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:240:0 #22 0x0000ffff86f18208 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #23 0x0000ffff86f18208 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff86f18208 checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:177:0 #25 0x0000ffff86f18208 void clang::ento::check::BeginFunction::_checkBeginFunction<(anonymous namespace)::ErrnoModeling>(void*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:244:0 #26 0x0000ffff86dc5618 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffff86dc5618 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #28 0x0000ffff86e0add4 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #29 0x0000ffff86e0add4 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #30 0x0000ffff86e0add4 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #31 0x0000ffff870d52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x0000ffff870d52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x0000ffff870d52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #34 0x0000ffff870d52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #35 0x0000ffff870d52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #36 0x0000ffff870d6278 llvm::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 0x0000ffff870d6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x0000ffff870d6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #39 0x0000ffff870da900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x0000ffff870da900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x0000ffff870da900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x0000ffff870da900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x0000ffff870da900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x0000ffff85531b88 __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 0x0000ffff85531b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x0000ffff85531b88 void clang::finalize>, 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 0x0000ffff85531b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x0000ffff86bf5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #49 0x0000ffff86bad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #50 0x0000ffff86bad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #51 0x0000ffff86bad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #52 0x0000ffff86c336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #53 0x0000aaaab70e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000aaaab70e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000aaaab70eaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000aaaab70e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x0000ffff7e13098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #58 0x0000ffff7e130a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #59 0x0000aaaab70e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-errno-note.c.script: line 1: 38422 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=alpha.unix.Stream -analyzer-checker=alpha.unix.Errno -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-errno-note.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/string.c (1148 of 19719) ******************** TEST 'Clang :: Analysis/string.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.c -Wno-null-dereference -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=unix.Malloc -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.c -Wno-null-dereference -DUSE_BUILTINS -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=unix.Malloc -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.c -Wno-null-dereference -DVARIANT -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=unix.Malloc -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false : 'RUN: at line 25'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.c -Wno-null-dereference -DUSE_BUILTINS -DVARIANT -analyzer-checker=core -analyzer-checker=alpha.security.taint -analyzer-checker=unix.cstring -analyzer-checker=unix.Malloc -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false : 'RUN: at line 35'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.c -Wno-null-dereference -DSUPPRESS_OUT_OF_BOUND -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=unix.Malloc -analyzer-checker=alpha.unix.cstring.BufferOverlap -analyzer-checker=alpha.unix.cstring.NotNullTerminated -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.c -Wno-null-dereference -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=unix.Malloc -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false 1. parser at end of file 2. While analyzing stack: #0 Calling test_memset_chk 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.c:1653:3: Error evaluating statement #0 0x0000ffff94d7ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff94d79180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff94d7b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9dd3f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9d1184dc llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9d1184dc llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9d1184dc llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9d1184dc llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9d1184dc llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9d1184dc 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 0x0000ffff9d1184dc get<(anonymous namespace)::CStringLength> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9d1184dc (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 0x0000ffff9cd2e7e0 llvm::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 0x0000ffff9cd2e7e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x0000ffff9cd2e7e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffff9cd2e7e0 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 0x0000ffff9cc391b0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x0000ffff9cc391b0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x0000ffff9cc391b0 clang::ento::CheckerFn, clang::ento::SymbolReaper&)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #19 0x0000ffff9cc391b0 clang::ento::CheckerManager::runCheckersForLiveSymbols(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:547:0 #20 0x0000ffff9cc851f0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9cc851f0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9cc851f0 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 0x0000ffff9cc9a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #24 0x0000ffff9cc9a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #25 0x0000ffff9cc9a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #26 0x0000ffff9cc9a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #27 0x0000ffff9cc9a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #28 0x0000ffff9cc9a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #29 0x0000ffff9cc9a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #30 0x0000ffff9cc9a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #31 0x0000ffff9cc9a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #32 0x0000ffff9cc9a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9cc9a7cc clang::ento::CoreEngine::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 0x0000ffff9cc9ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffff9cc9ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffff9cc9ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #37 0x0000ffff9cc9ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #38 0x0000ffff9cc9ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #39 0x0000ffff9cf652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9cf652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9cf652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #42 0x0000ffff9cf652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #43 0x0000ffff9cf652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #44 0x0000ffff9cf66278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #45 0x0000ffff9cf66278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #46 0x0000ffff9cf66278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #47 0x0000ffff9cf6a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #48 0x0000ffff9cf6a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #49 0x0000ffff9cf6a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #50 0x0000ffff9cf6a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #51 0x0000ffff9cf6a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #52 0x0000ffff9b3c1b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #53 0x0000ffff9b3c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #54 0x0000ffff9b3c1b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #55 0x0000ffff9b3c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #56 0x0000ffff9ca85600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #57 0x0000ffff9ca3d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #58 0x0000ffff9ca3d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #59 0x0000ffff9ca3d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #60 0x0000ffff9cac36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #61 0x0000aaaab6c959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #62 0x0000aaaab6c994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #63 0x0000aaaab6c9aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #64 0x0000aaaab6c91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #65 0x0000ffff93fc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #66 0x0000ffff93fc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #67 0x0000aaaab6c920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/string.c.script: line 5: 38442 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.c -Wno-null-dereference -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=unix.Malloc -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-posix-crash.c (1149 of 19719) ******************** TEST 'Clang :: Analysis/std-c-library-posix-crash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-posix-crash.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-posix-crash.c 1. parser at end of file 2. While analyzing stack: #0 Calling test 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-posix-crash.c:16:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-posix-crash.c:16:3: Error evaluating statement #0 0x0000ffff85a5ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff85a59180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff85a5b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8ea177e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8dd10e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8dd10e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8dd10e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8dd10e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8dd10e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8dd10e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8dd10e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8dd10e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8d9be018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8d9be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8d9be018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8d9be018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8d9c0038 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8d9c0038 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8d9c0038 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8d9c0038 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffff8d9d2188 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8d9d2188 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8d9d2188 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffff8d9d26e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8d9d26e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8d9d26e4 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffff8d94d018 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8d94d018 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8d94d018 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffff8d94d018 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffff8d94d36c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8d94d36c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8d94d36c clang::ento::ConstraintManager::assumeInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:121:54 #33 0x0000ffff8dbc3110 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1050:0 #34 0x0000ffff8dbc3110 __invoke_impl&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:61:0 #35 0x0000ffff8dbc3110 __invoke_r&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:114:0 #36 0x0000ffff8dbc3110 std::_Function_handler, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const::'lambda'(llvm::APSInt const&, llvm::APSInt const&)>::_M_invoke(std::_Any_data const&, llvm::APSInt const&, llvm::APSInt const&) /usr/include/c++/12/bits/std_function.h:290:0 #37 0x0000ffff8dbab3b0 (anonymous namespace)::StdLibraryFunctionsChecker::RangeConstraint::applyOnOutOfRange(clang::ento::BasicValueFactory&, clang::QualType, std::function const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1029:0 #38 0x0000ffff8dbab8a4 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #39 0x0000ffff8dbab8a4 std::function::~function() /usr/include/c++/12/bits/std_function.h:334:0 #40 0x0000ffff8dbab8a4 (anonymous namespace)::StdLibraryFunctionsChecker::RangeConstraint::apply(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1055:0 #41 0x0000ffff8dbc17b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x0000ffff8dbc17b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x0000ffff8dbc17b4 (anonymous namespace)::StdLibraryFunctionsChecker::checkPreCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1326:0 #44 0x0000ffff8d9367b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff8d9367b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff8d9367b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff8d9367b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff8d9367b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff8d996b50 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #50 0x0000ffff8d996b50 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #51 0x0000ffff8d996b50 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #52 0x0000ffff8d996b50 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #53 0x0000ffff8d996b50 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #54 0x0000ffff8d996b50 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #55 0x0000ffff8d996b50 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:683:44 #56 0x0000ffff8d9974f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #57 0x0000ffff8d979250 clang::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 0x0000ffff8d979250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #59 0x0000ffff8d97a2b8 clang::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 0x0000ffff8d97a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8d97a7cc clang::ento::CoreEngine::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 0x0000ffff8d97ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff8d97ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff8d97ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff8d97ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff8d97ab14 clang::ento::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 0x0000ffff8dc452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff8dc452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff8dc452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff8dc452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff8dc452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff8dc46278 llvm::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 0x0000ffff8dc46278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff8dc46278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff8dc4a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff8dc4a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff8dc4a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff8dc4a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff8dc4a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff8c0a1b88 __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 0x0000ffff8c0a1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff8c0a1b88 void clang::finalize>, 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 0x0000ffff8c0a1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff8d765600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff8d71d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff8d71d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff8d71d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff8d7a36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaac2c459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaac2c494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaac2c4aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaac2c41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff84ca098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff84ca0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaac2c420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-posix-crash.c.script: line 1: 38411 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-posix-crash.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/string-with-signedness.c (1150 of 19719) ******************** TEST 'Clang :: Analysis/string-with-signedness.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-incompatible-library-redeclaration -analyzer-checker=core,unix.cstring,alpha.unix.cstring -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string-with-signedness.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-incompatible-library-redeclaration -analyzer-checker=core,unix.cstring,alpha.unix.cstring -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string-with-signedness.c 1. parser at end of file 2. While analyzing stack: #0 Calling testUnsignedStrcpy 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string-with-signedness.c:9:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string-with-signedness.c:9:3: Error evaluating statement #0 0x0000ffffb0ebad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb0eb9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb0ebb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb9e797e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb8e62c48 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb8e62c48 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb8e62c48 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb8e62c48 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb8e62c48 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb8e62c48 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 0x0000ffffb8e62c48 get<(anonymous namespace)::CStringLength> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffb8e62c48 getCStringLengthForRegion /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:853:0 #12 0x0000ffffb8e62c48 (anonymous namespace)::CStringChecker::getCStringLength(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr&, clang::Expr const*, clang::ento::SVal, bool) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:930:0 #13 0x0000ffffb8e70778 (anonymous namespace)::CStringChecker::evalStrcpyCommon(clang::ento::CheckerContext&, clang::CallExpr const*, bool, bool, (anonymous namespace)::ConcatFnKind, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1719:39 #14 0x0000ffffb8e7c070 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #15 0x0000ffffb8e7c070 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2515:23 #16 0x0000ffffb8e7c070 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CStringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #17 0x0000ffffb8d9719c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #18 0x0000ffffb8df6bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #19 0x0000ffffb8df6bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #20 0x0000ffffb8df6bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #21 0x0000ffffb8df6bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #22 0x0000ffffb8df74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #23 0x0000ffffb8dd9250 clang::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 0x0000ffffb8dd9250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #25 0x0000ffffb8dda2b8 clang::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 0x0000ffffb8dda5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb8dda7cc clang::ento::CoreEngine::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 0x0000ffffb8ddab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x0000ffffb8ddab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x0000ffffb8ddab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #31 0x0000ffffb8ddab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #32 0x0000ffffb8ddab14 clang::ento::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 0x0000ffffb90a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #34 0x0000ffffb90a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #35 0x0000ffffb90a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #36 0x0000ffffb90a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #37 0x0000ffffb90a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #38 0x0000ffffb90a6278 llvm::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 0x0000ffffb90a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x0000ffffb90a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #41 0x0000ffffb90aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x0000ffffb90aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x0000ffffb90aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x0000ffffb90aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x0000ffffb90aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x0000ffffb7501b88 __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 0x0000ffffb7501b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x0000ffffb7501b88 void clang::finalize>, 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 0x0000ffffb7501b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x0000ffffb8bc5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #51 0x0000ffffb8b7d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #52 0x0000ffffb8b7d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #53 0x0000ffffb8b7d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #54 0x0000ffffb8c036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #55 0x0000aaaae12c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x0000aaaae12c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x0000aaaae12caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x0000aaaae12c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x0000ffffb010098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #60 0x0000ffffb0100a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #61 0x0000aaaae12c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/string-with-signedness.c.script: line 1: 38438 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-incompatible-library-redeclaration -analyzer-checker=core,unix.cstring,alpha.unix.cstring -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string-with-signedness.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/stream-noopen.c (1151 of 19719) ******************** TEST 'Clang :: Analysis/stream-noopen.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-noopen.c -analyzer-checker=core -analyzer-checker=alpha.unix.Errno -analyzer-checker=alpha.unix.Stream -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-checker=debug.ExprInspection : 'RUN: at line 10'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-noopen.c -analyzer-checker=core -analyzer-checker=alpha.unix.Errno -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-checker=debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-noopen.c -analyzer-checker=core -analyzer-checker=alpha.unix.Errno -analyzer-checker=alpha.unix.Stream -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-checker=debug.ExprInspection 1. parser at end of file #0 0x0000ffff793dad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff793d9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff793db408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff823977e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8136fa68 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x0000ffff8136fa68 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 0x0000ffff8136fa68 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x0000ffff8136fa68 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x0000ffff8136fa68 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x0000ffff8136fa68 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x0000ffff8136fa68 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x0000ffff8136fa68 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x0000ffff8136fa68 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x0000ffff8136fa68 (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 0x0000ffff8136ff84 asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #15 0x0000ffff8136ff84 asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #16 0x0000ffff8136ff84 (anonymous namespace)::RegionStoreManager::Bind(void const*, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x0000ffff81329ec8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #18 0x0000ffff81329ec8 clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:120:0 #19 0x0000ffff81406648 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x0000ffff81406648 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x0000ffff81406648 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:240:0 #22 0x0000ffff81407ffc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #23 0x0000ffff81407ffc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff81407ffc checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:0 #25 0x0000ffff81407ffc void clang::ento::check::BeginFunction::_checkBeginFunction<(anonymous namespace)::ErrnoModeling>(void*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:244:0 #26 0x0000ffff812b5618 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffff812b5618 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #28 0x0000ffff812fadd4 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #29 0x0000ffff812fadd4 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #30 0x0000ffff812fadd4 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #31 0x0000ffff815c52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x0000ffff815c52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x0000ffff815c52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #34 0x0000ffff815c52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #35 0x0000ffff815c52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #36 0x0000ffff815c6278 llvm::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 0x0000ffff815c6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x0000ffff815c6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #39 0x0000ffff815ca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x0000ffff815ca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x0000ffff815ca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x0000ffff815ca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x0000ffff815ca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x0000ffff7fa21b88 __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 0x0000ffff7fa21b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x0000ffff7fa21b88 void clang::finalize>, 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 0x0000ffff7fa21b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x0000ffff810e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #49 0x0000ffff8109d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #50 0x0000ffff8109d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #51 0x0000ffff8109d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #52 0x0000ffff811236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #53 0x0000aaaabae459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000aaaabae494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000aaaabae4aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000aaaabae41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x0000ffff7862098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #58 0x0000ffff78620a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #59 0x0000aaaabae420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-noopen.c.script: line 2: 38428 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-noopen.c -analyzer-checker=core -analyzer-checker=alpha.unix.Errno -analyzer-checker=alpha.unix.Stream -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-checker=debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/stream-errno.c (1152 of 19719) ******************** TEST 'Clang :: Analysis/stream-errno.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream,alpha.unix.Errno,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-errno.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream,alpha.unix.Errno,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-errno.c 1. parser at end of file #0 0x0000ffffb407ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb4079180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb407b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbd0397e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbc00fa68 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x0000ffffbc00fa68 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 0x0000ffffbc00fa68 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x0000ffffbc00fa68 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x0000ffffbc00fa68 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x0000ffffbc00fa68 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x0000ffffbc00fa68 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x0000ffffbc00fa68 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x0000ffffbc00fa68 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x0000ffffbc00fa68 (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 0x0000ffffbc00ff84 asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #15 0x0000ffffbc00ff84 asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #16 0x0000ffffbc00ff84 (anonymous namespace)::RegionStoreManager::Bind(void const*, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x0000ffffbbfc9ec8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #18 0x0000ffffbbfc9ec8 clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:120:0 #19 0x0000ffffbc0a6648 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x0000ffffbc0a6648 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x0000ffffbc0a6648 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:240:0 #22 0x0000ffffbc0a8208 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #23 0x0000ffffbc0a8208 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffffbc0a8208 checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:177:0 #25 0x0000ffffbc0a8208 void clang::ento::check::BeginFunction::_checkBeginFunction<(anonymous namespace)::ErrnoModeling>(void*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:244:0 #26 0x0000ffffbbf55618 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffffbbf55618 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #28 0x0000ffffbbf9add4 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #29 0x0000ffffbbf9add4 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #30 0x0000ffffbbf9add4 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #31 0x0000ffffbc2652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x0000ffffbc2652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x0000ffffbc2652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #34 0x0000ffffbc2652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #35 0x0000ffffbc2652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #36 0x0000ffffbc266278 llvm::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 0x0000ffffbc266278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x0000ffffbc266278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #39 0x0000ffffbc26a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x0000ffffbc26a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x0000ffffbc26a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x0000ffffbc26a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x0000ffffbc26a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x0000ffffba6c1b88 __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 0x0000ffffba6c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x0000ffffba6c1b88 void clang::finalize>, 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 0x0000ffffba6c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x0000ffffbbd85600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #49 0x0000ffffbbd3d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #50 0x0000ffffbbd3d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #51 0x0000ffffbbd3d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #52 0x0000ffffbbdc36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #53 0x0000aaaad15d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000aaaad15d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000aaaad15daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000aaaad15d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x0000ffffb32c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #58 0x0000ffffb32c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #59 0x0000aaaad15d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-errno.c.script: line 1: 38425 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream,alpha.unix.Errno,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-errno.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/stream-error.c (1153 of 19719) ******************** TEST 'Clang :: Analysis/stream-error.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-error.c -analyzer-checker=core -analyzer-checker=alpha.unix.Stream -analyzer-checker=debug.StreamTester -analyzer-checker=debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-error.c -analyzer-checker=core -analyzer-checker=alpha.unix.Stream -analyzer-checker=debug.StreamTester -analyzer-checker=debug.ExprInspection 1. parser at end of file 2. While analyzing stack: #0 Calling error_indeterminate_feof2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-error.c:259:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-error.c:259:13: Error evaluating statement #0 0x0000ffff808aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff808a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff808ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff898687e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff88b60e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff88b60e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff88b60e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff88b60e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff88b60e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff88b60e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff88b60e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff88b60e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8880e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8880e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8880e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8880e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8880eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8880eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8880eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8880eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff88821aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff88821aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff88821aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff88822ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff88822ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff88822ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff888224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff888224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff888224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8882eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8882eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8882eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff88838484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff88838484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff88838484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8879c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8879c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8879c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8879c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff88a141ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x0000ffff88a141ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x0000ffff88a141ac (anonymous namespace)::StreamChecker::evalFopen((anonymous namespace)::FnDescription const*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:545:0 #42 0x0000ffff889f5ff8 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #43 0x0000ffff889f5ff8 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:23 #44 0x0000ffff889f5ff8 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::StreamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #45 0x0000ffff8878719c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #46 0x0000ffff887e6bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #47 0x0000ffff887e6bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #48 0x0000ffff887e6bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #49 0x0000ffff887e6bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #50 0x0000ffff887e74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #51 0x0000ffff887c9250 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #52 0x0000ffff887c9250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #53 0x0000ffff887ca2b8 clang::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 0x0000ffff887ca5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff887ca7cc clang::ento::CoreEngine::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 0x0000ffff887cab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffff887cab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffff887cab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffff887cab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffff887cab14 clang::ento::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 0x0000ffff88a952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffff88a952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffff88a952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffff88a952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffff88a952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffff88a96278 llvm::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 0x0000ffff88a96278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffff88a96278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffff88a9a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffff88a9a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffff88a9a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffff88a9a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffff88a9a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffff86ef1b88 __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 0x0000ffff86ef1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffff86ef1b88 void clang::finalize>, 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 0x0000ffff86ef1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffff885b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffff8856d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffff8856d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffff8856d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffff885f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaae19159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaae19194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaae191aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaae1911fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffff7faf098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffff7faf0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaae19120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-error.c.script: line 1: 38424 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-error.c -analyzer-checker=core -analyzer-checker=alpha.unix.Stream -analyzer-checker=debug.StreamTester -analyzer-checker=debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/string.cpp (1154 of 19719) ******************** TEST 'Clang :: Analysis/string.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.cpp 1. parser at end of file #0 0x0000ffff7841ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff78419180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7841b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff813dc7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff806d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff806d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff806d0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff806d0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff806d0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff806d0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff806d0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff806d0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8037e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8037e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8037e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8037e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8037eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8037eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8037eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8037eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff80391aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff80391aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff80391aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff80392ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff80392ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff80392ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff803924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff803924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff803924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8039eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8039eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8039eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff803a8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff803a8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff803a8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8030c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8030c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8030c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8030c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8030cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8030cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8030cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff802e0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff802e0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff802e0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8031ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8031ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8031ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff8033ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8033ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8033ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff806052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff806052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff806052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff806052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff806052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff80606278 llvm::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 0x0000ffff80606278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff80606278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8060a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8060a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8060a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8060a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8060a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff7ea61b88 __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 0x0000ffff7ea61b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff7ea61b88 void clang::finalize>, 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 0x0000ffff7ea61b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff80125600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff800dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff800dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff800dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff801636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaabcb959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaabcb994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaabcb9aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaabcb91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff7766098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff77660a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaabcb920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/string.cpp.script: line 1: 38461 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/stream.cpp (1155 of 19719) ******************** TEST 'Clang :: Analysis/stream.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f2() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.cpp:21:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.cpp:21:13: Error evaluating statement #0 0x0000ffff8ed1ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8ed19180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8ed1b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff97cdf7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff96fd0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff96fd0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff96fd0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff96fd0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff96fd0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff96fd0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff96fd0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff96fd0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff96c7e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff96c7e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff96c7e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff96c7e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff96c7eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff96c7eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff96c7eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff96c7eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff96c91aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff96c91aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff96c91aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff96c92ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff96c92ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff96c92ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff96c924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff96c924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff96c924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff96c9eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff96c9eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff96c9eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff96ca8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff96ca8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff96ca8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff96c0c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff96c0c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff96c0c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff96c0c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff96e841ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x0000ffff96e841ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x0000ffff96e841ac (anonymous namespace)::StreamChecker::evalFopen((anonymous namespace)::FnDescription const*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:545:0 #42 0x0000ffff96e65ff8 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #43 0x0000ffff96e65ff8 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:23 #44 0x0000ffff96e65ff8 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::StreamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #45 0x0000ffff96bf719c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #46 0x0000ffff96c56bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #47 0x0000ffff96c56bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #48 0x0000ffff96c56bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #49 0x0000ffff96c56bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #50 0x0000ffff96c574f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #51 0x0000ffff96c39250 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #52 0x0000ffff96c39250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #53 0x0000ffff96c3a2b8 clang::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 0x0000ffff96c3a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff96c3a7cc clang::ento::CoreEngine::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 0x0000ffff96c3ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffff96c3ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffff96c3ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffff96c3ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffff96c3ab14 clang::ento::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 0x0000ffff96f052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffff96f052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffff96f052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffff96f052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffff96f052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffff96f06278 llvm::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 0x0000ffff96f06278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffff96f06278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffff96f0a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffff96f0a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffff96f0a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffff96f0a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffff96f0a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffff95361b88 __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 0x0000ffff95361b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffff95361b88 void clang::finalize>, 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 0x0000ffff95361b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffff96a25600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffff969dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffff969dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffff969dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffff96a636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaacc5c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaacc5c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaacc5caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaacc5c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffff8df6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffff8df60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaacc5c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream.cpp.script: line 1: 38435 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/stream.c (1156 of 19719) ******************** TEST 'Clang :: Analysis/stream.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.c 1. parser at end of file 2. While analyzing stack: #0 Calling check_leak_noreturn_2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.c:260:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.c:260:14: Error evaluating statement #0 0x0000ffff95c1ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff95c19180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff95c1b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9ebd17e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9ded0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9ded0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9ded0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9ded0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9ded0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9ded0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9ded0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9ded0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9db7e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9db7e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9db7e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9db7e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9db7eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9db7eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9db7eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9db7eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9db91aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9db91aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9db91aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9db92ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9db92ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9db92ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9db924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9db924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9db924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9db9eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9db9eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9db9eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9dba8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9dba8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9dba8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9db0c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9db0c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9db0c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9db0c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9dd841ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x0000ffff9dd841ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x0000ffff9dd841ac (anonymous namespace)::StreamChecker::evalFopen((anonymous namespace)::FnDescription const*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:545:0 #42 0x0000ffff9dd65ff8 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #43 0x0000ffff9dd65ff8 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:23 #44 0x0000ffff9dd65ff8 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::StreamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #45 0x0000ffff9daf719c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #46 0x0000ffff9db56bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #47 0x0000ffff9db56bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #48 0x0000ffff9db56bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #49 0x0000ffff9db56bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #50 0x0000ffff9db574f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #51 0x0000ffff9db39250 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #52 0x0000ffff9db39250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #53 0x0000ffff9db3a2b8 clang::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 0x0000ffff9db3a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9db3a7cc clang::ento::CoreEngine::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 0x0000ffff9db3ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffff9db3ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffff9db3ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffff9db3ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffff9db3ab14 clang::ento::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 0x0000ffff9de052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffff9de052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffff9de052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffff9de052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffff9de052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffff9de06278 llvm::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 0x0000ffff9de06278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffff9de06278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffff9de0a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffff9de0a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffff9de0a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffff9de0a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffff9de0a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffff9c261b88 __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 0x0000ffff9c261b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffff9c261b88 void clang::finalize>, 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 0x0000ffff9c261b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffff9d925600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffff9d8dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffff9d8dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffff9d8dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffff9d9636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaad72459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaad72494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaad724aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaad7241fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffff94e6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffff94e60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaad72420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream.c.script: line 1: 38434 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/stream-note.c (1157 of 19719) ******************** TEST 'Clang :: Analysis/stream-note.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-note.c : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream,alpha.unix.StdCLibraryFunctions -analyzer-output text -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify=expected,stdargs /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-note.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-note.c 1. parser at end of file 2. While analyzing stack: #0 Calling check_eof_notes_feof_or_no_error 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-note.c:147:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-note.c:147:7: Error evaluating statement #0 0x0000ffffa29fad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa29f9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa29fb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffab9b97e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffaacb0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaacb0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaacb0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaacb0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaacb0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaacb0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaacb0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaacb0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaa95e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaa95e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaa95e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaa95e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaa95eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaa95eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaa95eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaa95eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaa971aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaa971aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaa971aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffaa972ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaa972ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaa972ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffaa9724c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaa9724c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaa9724c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaa97eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaa97eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaa97eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaa988484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaa988484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaa988484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaa8ec9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaa8ec9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaa8ec9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaa8ec9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffaab641ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x0000ffffaab641ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x0000ffffaab641ac (anonymous namespace)::StreamChecker::evalFopen((anonymous namespace)::FnDescription const*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:545:0 #42 0x0000ffffaab45ff8 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #43 0x0000ffffaab45ff8 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:23 #44 0x0000ffffaab45ff8 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::StreamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #45 0x0000ffffaa8d719c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #46 0x0000ffffaa936bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #47 0x0000ffffaa936bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #48 0x0000ffffaa936bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #49 0x0000ffffaa936bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #50 0x0000ffffaa9374f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #51 0x0000ffffaa919250 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #52 0x0000ffffaa919250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #53 0x0000ffffaa91a2b8 clang::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 0x0000ffffaa91a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffaa91a7cc clang::ento::CoreEngine::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 0x0000ffffaa91ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffffaa91ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffffaa91ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffffaa91ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffffaa91ab14 clang::ento::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 0x0000ffffaabe52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffffaabe52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffffaabe52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffffaabe52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffffaabe52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffffaabe6278 llvm::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 0x0000ffffaabe6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffffaabe6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffffaabea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffffaabea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffffaabea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffffaabea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffffaabea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffffa9041b88 __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 0x0000ffffa9041b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffffa9041b88 void clang::finalize>, 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 0x0000ffffa9041b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffffaa705600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffffaa6bd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffffaa6bd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffffaa6bd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffffaa7436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaac3f959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaac3f994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaac3f9aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaac3f91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffffa1c4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffffa1c40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaac3f920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-note.c.script: line 2: 38429 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-note.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp (1159 of 19719) ******************** TEST 'Clang :: Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp -analyzer-checker=core,cplusplus,alpha.cplusplus.STLAlgorithmModeling,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config alpha.cplusplus.STLAlgorithmModeling:AggressiveStdFindModeling=true -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp -analyzer-checker=core,cplusplus,alpha.cplusplus.STLAlgorithmModeling,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config alpha.cplusplus.STLAlgorithmModeling:AggressiveStdFindModeling=true -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_search_n4(std::vector, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp:601:39: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp:601:39: Error evaluating statement #0 0x0000ffff88a3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff88a39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff88a3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff919fe7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff90977cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff90977cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff90977cb0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff90977cb0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff90977cb0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff90977cb0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff90977cb0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff90977cb0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff90977cb0 (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 0x0000ffff90977d8c (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffff909cb478 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffff909cb478 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffff909cacb4 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1270:0 #17 0x0000ffff909cacb4 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:0 #18 0x0000ffff90dd82f4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffff90dd82f4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffff90dd82f4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffff909b27b4 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffff909b27b4 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffff909b1d88 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #24 0x0000ffff909b1e8c clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #25 0x0000ffff909b2ecc clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:26:17 #26 0x0000ffff909b24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff909b24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff909b24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff909beb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff909beb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff909beb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff909c8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff909c8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff909c8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9092c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9092c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9092c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9092c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9092cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9092cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9092cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff90900400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff90900400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff90900400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff90ab3b04 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #46 0x0000ffff90ab3b04 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #47 0x0000ffff90ab3b04 clang::ento::iterator::assumeNoOverflow(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, long) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Iterator.cpp:291:0 #48 0x0000ffff90a30008 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffff90a30008 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff90a30008 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:0 #51 0x0000ffff90a30008 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:0 #52 0x0000ffff90a30008 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:0 #53 0x0000ffff90a30008 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #54 0x0000ffff909167b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x0000ffff909167b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x0000ffff909167b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #57 0x0000ffff909167b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #58 0x0000ffff909167b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #59 0x0000ffff90976c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #60 0x0000ffff90976c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #61 0x0000ffff90976c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #62 0x0000ffff90976c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #63 0x0000ffff90976c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #64 0x0000ffff90976c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #65 0x0000ffff909774f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #66 0x0000ffff90959250 clang::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 0x0000ffff90959250 clang::ento::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 0x0000ffff9095a2b8 clang::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 0x0000ffff9095a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9095a7cc clang::ento::CoreEngine::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 0x0000ffff9095ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffff9095ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffff9095ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #74 0x0000ffff9095ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #75 0x0000ffff9095ab14 clang::ento::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 0x0000ffff90c252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #77 0x0000ffff90c252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #78 0x0000ffff90c252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #79 0x0000ffff90c252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #80 0x0000ffff90c252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #81 0x0000ffff90c26278 llvm::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 0x0000ffff90c26278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x0000ffff90c26278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #84 0x0000ffff90c2a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x0000ffff90c2a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x0000ffff90c2a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x0000ffff90c2a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x0000ffff90c2a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x0000ffff8f081b88 __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 0x0000ffff8f081b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x0000ffff8f081b88 void clang::finalize>, 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 0x0000ffff8f081b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x0000ffff90745600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #94 0x0000ffff906fd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #95 0x0000ffff906fd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #96 0x0000ffff906fd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #97 0x0000ffff907836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #98 0x0000aaaab1d359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x0000aaaab1d394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x0000aaaab1d3aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x0000aaaab1d31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x0000ffff87c8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #103 0x0000ffff87c80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #104 0x0000aaaab1d320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stl-algorithm-modeling-aggressive-std-find-modeling.cpp.script: line 1: 38417 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp -analyzer-checker=core,cplusplus,alpha.cplusplus.STLAlgorithmModeling,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config alpha.cplusplus.STLAlgorithmModeling:AggressiveStdFindModeling=true -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-string.cpp (1161 of 19719) ******************** TEST 'Clang :: Analysis/std-string.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-string.cpp -verify -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-checker=cplusplus.StringChecker -analyzer-config eagerly-assume=false -analyzer-output=text -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-string.cpp -verify -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-checker=cplusplus.StringChecker -analyzer-config eagerly-assume=false -analyzer-output=text 1. parser at end of file 2. While analyzing stack: #0 Calling ctor_no_notetag_if_not_interesting(const char *, const char *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-string.cpp:81:15: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-string.cpp:81:15: Error evaluating statement #0 0x0000ffff89e1ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff89e19180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff89e1b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff92dd47e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff920d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff920d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff920d0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff920d0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff920d0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff920d0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff920d0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff920d0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff91d7e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff91d7e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff91d7e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff91d7e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff91d7eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff91d7eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff91d7eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff91d7eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff91d91aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff91d91aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff91d91aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff91d92ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff91d92ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff91d92ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff91d924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff91d924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff91d924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff91d9eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff91d9eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff91d9eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff91da8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff91da8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff91da8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff91d0c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff91d0c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff91d0c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff91d0c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff921fb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff921fb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff921fb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff91f82e64 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff91f82e64 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff91f82e64 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StringChecker.cpp:77:0 #45 0x0000ffff91f82e64 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::StringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:0 #46 0x0000ffff91cf67b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x0000ffff91cf67b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x0000ffff91cf67b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #49 0x0000ffff91cf67b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #50 0x0000ffff91cf67b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #51 0x0000ffff91d33338 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #52 0x0000ffff91d33338 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #53 0x0000ffff91d33338 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #54 0x0000ffff91d33338 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #55 0x0000ffff91d33338 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #56 0x0000ffff91d33338 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #57 0x0000ffff91d33338 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #58 0x0000ffff91d33338 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #59 0x0000ffff91d33338 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:777:0 #60 0x0000ffff91d3920c clang::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 0x0000ffff91d3920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #62 0x0000ffff91d3a2b8 clang::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 0x0000ffff91d3a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff91d3a7cc clang::ento::CoreEngine::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 0x0000ffff91d3ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffff91d3ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffff91d3ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffff91d3ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffff91d3ab14 clang::ento::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 0x0000ffff920052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffff920052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffff920052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffff920052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffff920052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffff92006278 llvm::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 0x0000ffff92006278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffff92006278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffff9200a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffff9200a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffff9200a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffff9200a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffff9200a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffff90461b88 __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 0x0000ffff90461b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffff90461b88 void clang::finalize>, 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 0x0000ffff90461b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffff91b25600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffff91add524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffff91add524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffff91add524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffff91b636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaae22c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaae22c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaae22caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaae22c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffff8906098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffff89060a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaae22c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-string.cpp.script: line 1: 38414 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-string.cpp -verify -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-checker=cplusplus.StringChecker -analyzer-config eagerly-assume=false -analyzer-output=text -- ******************** Testing: 0 FAIL: Clang :: Analysis/stream-stdlibraryfunctionargs.c (1162 of 19719) ******************** TEST 'Clang :: Analysis/stream-stdlibraryfunctionargs.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify=stream,any /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-stdlibraryfunctionargs.c : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream,debug.ExprInspection -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify=stream,any /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-stdlibraryfunctionargs.c : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify=stdfunc,any /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-stdlibraryfunctionargs.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify=stream,any /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-stdlibraryfunctionargs.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_fileno 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-stdlibraryfunctionargs.c:152:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-stdlibraryfunctionargs.c:152:14: Error evaluating statement #0 0x0000ffff818fad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff818f9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff818fb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8a8b97e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff89bb0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff89bb0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff89bb0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff89bb0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff89bb0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff89bb0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff89bb0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff89bb0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8985e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8985e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8985e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8985e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8985eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8985eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8985eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8985eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff89871aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff89871aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff89871aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff89872ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff89872ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff89872ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff898724c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff898724c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff898724c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8987eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8987eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8987eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff89888484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff89888484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff89888484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff897ec9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff897ec9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff897ec9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff897ec9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff89a641ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x0000ffff89a641ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x0000ffff89a641ac (anonymous namespace)::StreamChecker::evalFopen((anonymous namespace)::FnDescription const*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:545:0 #42 0x0000ffff89a45ff8 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #43 0x0000ffff89a45ff8 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:23 #44 0x0000ffff89a45ff8 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::StreamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #45 0x0000ffff897d719c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #46 0x0000ffff89836bcc llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #47 0x0000ffff89836bcc llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #48 0x0000ffff89836bcc clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #49 0x0000ffff89836bcc clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #50 0x0000ffff898374f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #51 0x0000ffff89819250 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #52 0x0000ffff89819250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #53 0x0000ffff8981a2b8 clang::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 0x0000ffff8981a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8981a7cc clang::ento::CoreEngine::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 0x0000ffff8981ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffff8981ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffff8981ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffff8981ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffff8981ab14 clang::ento::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 0x0000ffff89ae52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffff89ae52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffff89ae52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffff89ae52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffff89ae52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffff89ae6278 llvm::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 0x0000ffff89ae6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffff89ae6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffff89aea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffff89aea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffff89aea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffff89aea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffff89aea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffff87f41b88 __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 0x0000ffff87f41b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffff87f41b88 void clang::finalize>, 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 0x0000ffff87f41b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffff89605600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffff895bd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffff895bd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffff895bd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffff896436cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaaad0a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaaad0a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaaad0aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaaad0a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffff80b4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffff80b40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaaad0a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-stdlibraryfunctionargs.c.script: line 3: 38433 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify=stream,any /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-stdlibraryfunctionargs.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/stl-algorithm-modeling.cpp (1163 of 19719) ******************** TEST 'Clang :: Analysis/stl-algorithm-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling.cpp -analyzer-checker=core,cplusplus,alpha.cplusplus.STLAlgorithmModeling,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling.cpp -analyzer-checker=core,cplusplus,alpha.cplusplus.STLAlgorithmModeling,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_search_n4(std::vector, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling.cpp:549:39: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling.cpp:549:39: Error evaluating statement #0 0x0000ffffb407ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb4079180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb407b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbd0347e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbbfb7cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffbbfb7cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbbfb7cb0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbbfb7cb0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbbfb7cb0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffbbfb7cb0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffbbfb7cb0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffffbbfb7cb0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffffbbfb7cb0 (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 0x0000ffffbbfb7d8c (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffffbc00b478 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffffbc00b478 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffffbc00acb4 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1270:0 #17 0x0000ffffbc00acb4 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:0 #18 0x0000ffffbc4182f4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffffbc4182f4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffffbc4182f4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffffbbff27b4 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffffbbff27b4 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffffbbff1d88 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #24 0x0000ffffbbff1e8c clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #25 0x0000ffffbbff2ecc clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:26:17 #26 0x0000ffffbbff24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbbff24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbbff24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbbffeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbbffeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbbffeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbc008484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbc008484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbc008484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbbf6c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbbf6c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbbf6c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbbf6c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffbbf6cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbbf6cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbbf6cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffbbf40400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffbbf40400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffbbf40400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffbc0f3b04 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #46 0x0000ffffbc0f3b04 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #47 0x0000ffffbc0f3b04 clang::ento::iterator::assumeNoOverflow(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, long) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Iterator.cpp:291:0 #48 0x0000ffffbc070008 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffffbc070008 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffbc070008 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:0 #51 0x0000ffffbc070008 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:0 #52 0x0000ffffbc070008 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:0 #53 0x0000ffffbc070008 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #54 0x0000ffffbbf567b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x0000ffffbbf567b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x0000ffffbbf567b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #57 0x0000ffffbbf567b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #58 0x0000ffffbbf567b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #59 0x0000ffffbbfb6c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #60 0x0000ffffbbfb6c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #61 0x0000ffffbbfb6c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #62 0x0000ffffbbfb6c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #63 0x0000ffffbbfb6c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #64 0x0000ffffbbfb6c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #65 0x0000ffffbbfb74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #66 0x0000ffffbbf99250 clang::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 0x0000ffffbbf99250 clang::ento::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 0x0000ffffbbf9a2b8 clang::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 0x0000ffffbbf9a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbbf9a7cc clang::ento::CoreEngine::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 0x0000ffffbbf9ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffffbbf9ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffffbbf9ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #74 0x0000ffffbbf9ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #75 0x0000ffffbbf9ab14 clang::ento::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 0x0000ffffbc2652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #77 0x0000ffffbc2652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #78 0x0000ffffbc2652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #79 0x0000ffffbc2652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #80 0x0000ffffbc2652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #81 0x0000ffffbc266278 llvm::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 0x0000ffffbc266278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x0000ffffbc266278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #84 0x0000ffffbc26a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x0000ffffbc26a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x0000ffffbc26a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x0000ffffbc26a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x0000ffffbc26a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x0000ffffba6c1b88 __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 0x0000ffffba6c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x0000ffffba6c1b88 void clang::finalize>, 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 0x0000ffffba6c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x0000ffffbbd85600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #94 0x0000ffffbbd3d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #95 0x0000ffffbbd3d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #96 0x0000ffffbbd3d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #97 0x0000ffffbbdc36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #98 0x0000aaaad89f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x0000aaaad89f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x0000aaaad89faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x0000aaaad89f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x0000ffffb32c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #103 0x0000ffffb32c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #104 0x0000aaaad89f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stl-algorithm-modeling.cpp.script: line 1: 38418 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling.cpp -analyzer-checker=core,cplusplus,alpha.cplusplus.STLAlgorithmModeling,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/structured_bindings.cpp (1168 of 19719) ******************** TEST 'Clang :: Analysis/structured_bindings.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/structured_bindings.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/structured_bindings.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling bar() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/structured_bindings.cpp:24:18: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/structured_bindings.cpp:24:18: Error evaluating statement #0 0x0000ffff9e71ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9e719180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9e71b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa76d57e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa6625734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa6625734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa6625734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa6625734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa6625734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa6625734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa6625734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffa6625734 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 0x0000ffffa6656660 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffffa6656804 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffffa6656804 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffffa6656804 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffffa6633514 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffffa663920c clang::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 0x0000ffffa663920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffffa663a2b8 clang::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 0x0000ffffa663a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa663a7cc clang::ento::CoreEngine::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 0x0000ffffa663ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffffa663ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffffa663ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffffa663ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffffa663ab14 clang::ento::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 0x0000ffffa69052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffffa69052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffffa69052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffffa69052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffffa69052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffffa6906278 llvm::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 0x0000ffffa6906278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffffa6906278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffffa690a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffa690a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffa690a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffffa690a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffffa690a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffffa4d61b88 __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 0x0000ffffa4d61b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffffa4d61b88 void clang::finalize>, 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 0x0000ffffa4d61b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffffa6425600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffffa63dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffffa63dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffffa63dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffffa64636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaadfcb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaadfcb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaadfcbaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaadfcb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffff9d96098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffff9d960a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaadfcb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/structured_bindings.cpp.script: line 1: 38464 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/structured_bindings.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/symbol-reaper-lambda.cpp (1169 of 19719) ******************** TEST 'Clang :: Analysis/symbol-reaper-lambda.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper-lambda.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper-lambda.cpp 1. parser at end of file #0 0x0000ffffb3dcad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb3dc9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb3dcb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbcd817e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbbcd9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffbbcd9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbbcd9f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbbcd9f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbbcd9f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffbbcd9f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffbbcd9f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffbbcd9f54 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 0x0000ffffbbcda878 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 0x0000ffffbbcea954 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 0x0000ffffbbceab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffbbceab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffbbceab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffbbceab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffbbceab14 clang::ento::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 0x0000ffffbbfb52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffbbfb52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffbbfb52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffbbfb52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffbbfb52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffbbfb6278 llvm::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 0x0000ffffbbfb6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffbbfb6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffbbfba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffbbfba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffbbfba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffbbfba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffbbfba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffba411b88 __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 0x0000ffffba411b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffba411b88 void clang::finalize>, 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 0x0000ffffba411b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffbbad5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffbba8d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffbba8d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffbba8d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffbbb136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaab5fd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaab5fd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaab5fdaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaab5fd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffb301098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffb3010a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaab5fd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-reaper-lambda.cpp.script: line 1: 38497 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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-float-cast.c (1170 of 19719) ******************** TEST 'Clang :: Analysis/svalbuilder-float-cast.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker debug.ExprInspection -Wno-deprecated-non-prototype -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-float-cast.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker debug.ExprInspection -Wno-deprecated-non-prototype -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-float-cast.c -analyzer-config support-symbolic-integer-casts=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker debug.ExprInspection -Wno-deprecated-non-prototype -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-float-cast.c 1. parser at end of file 2. While analyzing stack: #0 Calling SymbolCast_of_float_type_aux at line 28 #1 Calling SymbolCast_of_float_type 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-float-cast.c:20:3: Error evaluating statement #0 0x0000ffffa3ebad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa3eb9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa3ebb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000fffface757e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffabee9f3c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffabee9f3c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffabee9f3c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffabee9f3c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffabee9f3c llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffabee9f3c 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 0x0000ffffabee9f3c get<(anonymous namespace)::DenotedSymbols> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffabee9f3c (anonymous namespace)::ExprInspectionChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:406:0 #12 0x0000ffffabdaaae4 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 0x0000ffffabdc52e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffabdc52e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffabdc52e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffabdc52e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffabdc52e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffabdc52e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffabdc52e8 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 0x0000ffffabdda244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffabdda244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffabdda244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffabdda244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffabdda244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffabdda244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffabdda244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffabdda244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffabdda244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffabdda5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffabdda7cc clang::ento::CoreEngine::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 0x0000ffffabddab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffabddab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffabddab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffabddab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffabddab14 clang::ento::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 0x0000ffffac0a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffac0a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffac0a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffac0a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffac0a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffac0a6278 llvm::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 0x0000ffffac0a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffac0a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffac0aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffac0aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffac0aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffac0aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffac0aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffaa501b88 __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 0x0000ffffaa501b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffaa501b88 void clang::finalize>, 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 0x0000ffffaa501b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffabbc5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffabb7d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffabb7d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffabb7d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffabc036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaacb3c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaacb3c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaacb3caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaacb3c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffa310098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffa3100a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaacb3c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-float-cast.c.script: line 2: 38474 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker debug.ExprInspection -Wno-deprecated-non-prototype -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-float-cast.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/svalbuilder-rearrange-comparisons.cpp (1171 of 19719) ******************** TEST 'Clang :: Analysis/svalbuilder-rearrange-comparisons.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config support-symbolic-integer-casts=false -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-rearrange-comparisons.cpp : 'RUN: at line 8'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config support-symbolic-integer-casts=true -DSUPPORT_SYMBOLIC_INTEGER_CASTS -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-rearrange-comparisons.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config support-symbolic-integer-casts=false -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-rearrange-comparisons.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling fu() at line 1023 #1 Calling unsigned_concrete_int_no_crash() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-rearrange-comparisons.cpp:1018:3 : Error evaluating statement #0 0x0000ffffa8ccad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa8cc9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa8ccb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb1c857e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb0c2a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb0c2a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb0c2a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb0c2a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffb0c2a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffb0c2a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffb0bd53bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffb0bd53bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffb0bd53bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffb0bea244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffb0bea244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffb0bea244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffb0bea244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffb0bea244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffb0bea244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffb0bea244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffb0bea244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffb0bea244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffb0bea5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb0bea6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffb0bea98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffb0beab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffb0beab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffb0beab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffb0beab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffb0beab14 clang::ento::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 0x0000ffffb0eb52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb0eb52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb0eb52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffb0eb52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffb0eb52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffb0eb6278 llvm::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 0x0000ffffb0eb6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffb0eb6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffb0eba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffb0eba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffb0eba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffb0eba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffb0eba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffaf311b88 __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 0x0000ffffaf311b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffaf311b88 void clang::finalize>, 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 0x0000ffffaf311b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffb09d5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffb098d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffb098d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffb098d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffb0a136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaabacf59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaabacf94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaabacfaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaabacf1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffa7f1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffa7f10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaabacf20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-rearrange-comparisons.cpp.script: line 2: 38478 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config support-symbolic-integer-casts=false -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-rearrange-comparisons.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/symbol-reaper.c (1172 of 19719) ******************** TEST 'Clang :: Analysis/symbol-reaper.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_double_dereference_of_implicit_value 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.c:148:3: Error evaluating statement #0 0x0000ffff971cad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff971c9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff971cb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa01827e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9f1f9d10 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9f1f9d10 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9f1f9d10 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9f1f9d10 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9f1f9d10 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x0000ffff9f1f9d10 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 0x0000ffff9f1f9d10 get<(anonymous namespace)::MarkedSymbols> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9f1f9d10 (anonymous namespace)::ExprInspectionChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:394:0 #12 0x0000ffff9f0baae4 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 0x0000ffff9f0d52e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff9f0d52e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff9f0d52e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff9f0d52e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff9f0d52e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff9f0d52e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff9f0d52e8 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 0x0000ffff9f0ea244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff9f0ea244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff9f0ea244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff9f0ea244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff9f0ea244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff9f0ea244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff9f0ea244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff9f0ea244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff9f0ea244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffff9f0ea5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9f0ea7cc clang::ento::CoreEngine::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 0x0000ffff9f0eab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff9f0eab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff9f0eab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff9f0eab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff9f0eab14 clang::ento::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 0x0000ffff9f3b52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff9f3b52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff9f3b52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff9f3b52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff9f3b52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff9f3b6278 llvm::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 0x0000ffff9f3b6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff9f3b6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff9f3ba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff9f3ba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff9f3ba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff9f3ba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff9f3ba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff9d811b88 __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 0x0000ffff9d811b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff9d811b88 void clang::finalize>, 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 0x0000ffff9d811b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff9eed5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff9ee8d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff9ee8d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff9ee8d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff9ef136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaaab8d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaaab8d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaaab8daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaaab8d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff9641098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff96410a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaaab8d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-reaper.c.script: line 1: 38498 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/svalbuilder-casts.cpp (1173 of 19719) ******************** TEST 'Clang :: Analysis/svalbuilder-casts.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-casts.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config support-symbolic-integer-casts=true -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux-gnu -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-casts.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config support-symbolic-integer-casts=true -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux-gnu -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test1(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-casts.cpp:32:3 : Error evaluating branch #0 0x0000ffff9c99ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9c999180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9c99b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa59597e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa4c50e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa4c50e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa4c50e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa4c50e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa4c50e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa4c50e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa4c50e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa4c50e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa48fe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa48fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa48fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa48fe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa48feef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa48feef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa48feef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa48feef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa4911aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa4911aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa4911aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa4912ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa4912ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa4912ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa49124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa49124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa49124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa491eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa491eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa491eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa4928484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa4928484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa4928484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa488c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa488c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa488c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa488c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa4d7b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa4d7b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa4d7b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa48a2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa48a2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa48a2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa48a2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa48a2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa48a2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa48a2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa48a2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa48a2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa48a2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa48a3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa48bab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa48bab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa48bab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa48bab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa48bab14 clang::ento::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 0x0000ffffa4b852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa4b852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa4b852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa4b852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa4b852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa4b86278 llvm::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 0x0000ffffa4b86278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa4b86278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa4b8a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa4b8a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa4b8a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa4b8a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa4b8a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa2fe1b88 __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 0x0000ffffa2fe1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa2fe1b88 void clang::finalize>, 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 0x0000ffffa2fe1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa46a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa465d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa465d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa465d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa46e36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab5a059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab5a094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab5a0aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab5a01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9bbe098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9bbe0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab5a020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-casts.cpp.script: line 1: 38471 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-casts.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config support-symbolic-integer-casts=true -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux-gnu -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/svalbuilder-simplify-in-evalbinop.cpp (1174 of 19719) ******************** TEST 'Clang :: Analysis/svalbuilder-simplify-in-evalbinop.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-in-evalbinop.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-in-evalbinop.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_evalBinOp_simplifies_rhs(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-in-evalbinop.cpp:24:7: Error evaluating branch #0 0x0000ffff7e19ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7e199180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7e19b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff871527e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff86450e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff86450e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff86450e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff86450e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff86450e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff86450e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff86450e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff86450e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff860fe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff860fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff860fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff860fe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff860feef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff860feef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff860feef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff860feef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff86111aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff86111aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff86111aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff86112ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff86112ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff86112ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff861124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff861124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff861124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8611eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8611eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8611eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff86128484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff86128484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff86128484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8608c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8608c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8608c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8608c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8657b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8657b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8657b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff860a2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff860a2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff860a2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff860a2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff860a2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff860a2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff860a2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff860a2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff860a2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff860a2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff860a3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff860bab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff860bab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff860bab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff860bab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff860bab14 clang::ento::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 0x0000ffff863852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff863852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff863852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff863852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff863852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff86386278 llvm::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 0x0000ffff86386278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff86386278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8638a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8638a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8638a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8638a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8638a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff847e1b88 __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 0x0000ffff847e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff847e1b88 void clang::finalize>, 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 0x0000ffff847e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff85ea5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff85e5d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff85e5d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff85e5d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff85ee36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab33b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab33b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab33baac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab33b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7d3e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7d3e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab33b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-simplify-in-evalbinop.cpp.script: line 1: 38482 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-in-evalbinop.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/svalbuilder-simplify-compound-svals.cpp (1175 of 19719) ******************** TEST 'Clang :: Analysis/svalbuilder-simplify-compound-svals.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-compound-svals.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-compound-svals.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling recurring_symbol(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-compound-svals.cpp:72:7: Error evaluating branch #0 0x0000ffff76cead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff76ce9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff76ceb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff7fca67e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff7ec4e560 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff7ec4e560 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff7ec4e560 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff7ec4e560 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff7ec4e560 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff7ec4e560 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff7ec4e560 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff7ec4e560 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:0 #12 0x0000ffff7ec4e560 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:0 #13 0x0000ffff7ec4e560 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:0 #14 0x0000ffff7ec4e560 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:0 #15 0x0000ffff7ec4e560 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:0 #16 0x0000ffff7ec4e560 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #17 0x0000ffff7ec4e560 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #18 0x0000ffff7ec4e560 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #19 0x0000ffff7ec4e560 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #20 0x0000ffff7ec4e560 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #21 0x0000ffff7ec4e560 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #22 0x0000ffff7ec4ec90 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #23 0x0000ffff7ec4ec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffff7ec4ec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff7ec4ec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #26 0x0000ffff7ec62c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7ec62c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7ec62c4c 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 0x0000ffff7ec624c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff7ec624c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff7ec624c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #32 0x0000ffff7ec6eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #33 0x0000ffff7ec6eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #34 0x0000ffff7ec6eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #35 0x0000ffff7ec78484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #36 0x0000ffff7ec78484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #37 0x0000ffff7ec78484 clang::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 0x0000ffff7ebdc9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #39 0x0000ffff7ebdc9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #40 0x0000ffff7ebdc9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #41 0x0000ffff7ebdc9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #42 0x0000ffff7f0cb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #43 0x0000ffff7f0cb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #44 0x0000ffff7f0cb004 clang::ento::ProgramState::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 0x0000ffff7ebf2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #46 0x0000ffff7ebf2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #47 0x0000ffff7ebf2bc8 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 0x0000ffff7ebf2bc8 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 0x0000ffff7ebf2bc8 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 0x0000ffff7ebf2bc8 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 0x0000ffff7ebf2bc8 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 0x0000ffff7ebf2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #53 0x0000ffff7ebf2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #54 0x0000ffff7ebf2bc8 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 0x0000ffff7ebf3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #56 0x0000ffff7ec0ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffff7ec0ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffff7ec0ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffff7ec0ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffff7ec0ab14 clang::ento::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 0x0000ffff7eed52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffff7eed52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffff7eed52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffff7eed52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffff7eed52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffff7eed6278 llvm::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 0x0000ffff7eed6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffff7eed6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffff7eeda900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffff7eeda900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffff7eeda900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffff7eeda900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffff7eeda900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffff7d331b88 __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 0x0000ffff7d331b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffff7d331b88 void clang::finalize>, 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 0x0000ffff7d331b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffff7e9f5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffff7e9ad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffff7e9ad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffff7e9ad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffff7ea336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaadfc859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaadfc894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaadfc8aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaadfc81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffff75f3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffff75f30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaadfc820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-simplify-compound-svals.cpp.script: line 1: 38486 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-compound-svals.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/symbol-reaper.cpp (1176 of 19719) ******************** TEST 'Clang :: Analysis/symbol-reaper.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_dead_region_with_live_subregion_in_environment::test_B(B) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.cpp:48:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.cpp:48:7: Error evaluating statement #0 0x0000ffff797aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff797a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff797ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff827607e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff81a60e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff81a60e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff81a60e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff81a60e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff81a60e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff81a60e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff81a60e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff81a60e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8170e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8170e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8170e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8170e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8170eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8170eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8170eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8170eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff81721aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff81721aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff81721aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff81722ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff81722ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff81722ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff817224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff817224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff817224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8172eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8172eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8172eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff81738484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff81738484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff81738484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8169c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8169c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8169c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8169c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff81b8b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff81b8b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff81b8b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff816afd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff816afd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff816afd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff816ca05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff816ca05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff816ca05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff816ca05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff816ca05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff816ca2b8 clang::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 0x0000ffff816ca5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff816ca7cc clang::ento::CoreEngine::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 0x0000ffff816cab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff816cab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff816cab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff816cab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff816cab14 clang::ento::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 0x0000ffff819952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff819952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff819952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff819952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff819952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff81996278 llvm::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 0x0000ffff81996278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff81996278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8199a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8199a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8199a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8199a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8199a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff7fdf1b88 __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 0x0000ffff7fdf1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff7fdf1b88 void clang::finalize>, 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 0x0000ffff7fdf1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff814b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8146d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8146d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8146d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff814f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaadedd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaadedd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaadeddaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaadedd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff789f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff789f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaadedd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-reaper.cpp.script: line 1: 38504 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/svalbuilder-simplify-no-crash.c (1177 of 19719) ******************** TEST 'Clang :: Analysis/svalbuilder-simplify-no-crash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-no-crash.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-no-crash.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify 1. parser at end of file 2. While analyzing stack: #0 Calling crashing 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-no-crash.c:10:10: Error evaluating branch #0 0x0000ffff8071ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff80719180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8071b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff896de7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff889d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff889d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff889d0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff889d0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff889d0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff889d0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff889d0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff889d0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8867e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8867e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8867e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8867e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8867ec90 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8867ec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8867ec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8867ec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff88692c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff88692c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff88692c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff886924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff886924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff886924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffff8869eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffff8869eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffff8869eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffff886a8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffff886a8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff886a8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffff8860c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff8860c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff8860c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffff8860c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffff88afb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff88afb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff88afb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffff88622bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #40 0x0000ffff88622bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #41 0x0000ffff88622bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #42 0x0000ffff88622bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #43 0x0000ffff88622bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #44 0x0000ffff88622bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #45 0x0000ffff88622bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #46 0x0000ffff88622bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #47 0x0000ffff88622bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #48 0x0000ffff88622bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #49 0x0000ffff88623130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #50 0x0000ffff8863ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffff8863ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffff8863ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffff8863ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffff8863ab14 clang::ento::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 0x0000ffff889052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffff889052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffff889052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffff889052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffff889052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffff88906278 llvm::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 0x0000ffff88906278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffff88906278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffff8890a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffff8890a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffff8890a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffff8890a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffff8890a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffff86d61b88 __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 0x0000ffff86d61b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffff86d61b88 void clang::finalize>, 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 0x0000ffff86d61b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffff88425600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffff883dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffff883dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffff883dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffff884636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaaaed159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaaaed194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaaaed1aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaaaed11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff7f96098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff7f960a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaaaed120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-simplify-no-crash.c.script: line 1: 38483 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-no-crash.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/switch-case.c (1178 of 19719) ******************** TEST 'Clang :: Analysis/switch-case.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/switch-case.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/switch-case.c 1. parser at end of file 2. While analyzing stack: #0 Calling testExhaustiveSwitch 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/switch-case.c:225:5: Error evaluating statement #0 0x0000ffffb0b2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb0b29180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb0b2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb9aea7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb8a8a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb8a8a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb8a8a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb8a8a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffb8a8a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffb8a8a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffb8a353bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffb8a353bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffb8a353bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffb8a4a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffb8a4a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffb8a4a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffb8a4a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffb8a4a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffb8a4a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffb8a4a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffb8a4a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffb8a4a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffb8a4a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb8a4a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffb8a4a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffb8a4ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffb8a4ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffb8a4ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffb8a4ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffb8a4ab14 clang::ento::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 0x0000ffffb8d152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb8d152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb8d152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffb8d152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffb8d152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffb8d16278 llvm::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 0x0000ffffb8d16278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffb8d16278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffb8d1a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffb8d1a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffb8d1a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffb8d1a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffb8d1a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffb7171b88 __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 0x0000ffffb7171b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffb7171b88 void clang::finalize>, 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 0x0000ffffb7171b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffb8835600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffb87ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffb87ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffb87ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffb88736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaac74059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaac74094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaac740aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaac7401fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffafd7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffafd70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaac74020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/switch-case.c.script: line 1: 38496 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/switch-case.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/symbol-escape.cpp (1179 of 19719) ******************** TEST 'Clang :: Analysis/symbol-escape.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-escape.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-escape.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling indirect_escape_in_bitwise_op() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-escape.cpp:23:12: Error evaluating New Allocator Call #0 0x0000ffffae80ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffae809180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffae80b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb77c27e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb6ac0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb6ac0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb6ac0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb6ac0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb6ac0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb6ac0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb6ac0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb6ac0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb676e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb676e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb676e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb676e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb676eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb676eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb676eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb676eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb6781aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb6781aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb6781aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb6782ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb6782ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb6782ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb67824c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb67824c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb67824c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb678eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb678eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb678eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb6798484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb6798484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb6798484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb66fc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb66fc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb66fc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb66fc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb66fcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb66fcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb66fcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb6726f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffb6726f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffb6726f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb6726f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffb6726f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffb672735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffb672735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffb672735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffb672735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffb672735c 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 0x0000ffffb672a5dc clang::ento::ExprEngine::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 0x0000ffffb672a6c0 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 0x0000ffffb672a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffb672ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffb672ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffb672ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffb672ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffb672ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffffb69f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffb69f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffb69f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffb69f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffb69f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffb69f6278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffffb69f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffb69f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffb69fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffb69fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffb69fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffb69fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffb69fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffb4e51b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffffb4e51b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffb4e51b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffffb4e51b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffb6515600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffb64cd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffb64cd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffb64cd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffb65536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaab47759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaab47794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaab477aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaab4771fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffffada5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffffada50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaab47720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-escape.cpp.script: line 1: 38495 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-escape.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/symbol-simplification-assertion.c (1180 of 19719) ******************** TEST 'Clang :: Analysis/symbol-simplification-assertion.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-assertion.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=true -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-assertion.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=true -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-assertion.c:18:3 : Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-assertion.c:18:3 : Error evaluating statement #0 0x0000ffff9737ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff97379180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9737b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa033c7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9f2de560 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9f2de560 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9f2de560 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9f2de560 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9f2de560 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9f2de560 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9f2de560 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9f2de560 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:0 #12 0x0000ffff9f2de560 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:0 #13 0x0000ffff9f2de560 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:0 #14 0x0000ffff9f2de560 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:0 #15 0x0000ffff9f2de560 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:0 #16 0x0000ffff9f2de560 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #17 0x0000ffff9f2de560 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #18 0x0000ffff9f2de560 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #19 0x0000ffff9f2de560 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #20 0x0000ffff9f2de560 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #21 0x0000ffff9f2de560 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #22 0x0000ffff9f2dec90 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #23 0x0000ffff9f2dec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffff9f2dec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff9f2dec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #26 0x0000ffff9f2f2c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9f2f2c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9f2f2c4c 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 0x0000ffff9f2f24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff9f2f24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff9f2f24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #32 0x0000ffff9f2feb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #33 0x0000ffff9f2feb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #34 0x0000ffff9f2feb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #35 0x0000ffff9f308484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #36 0x0000ffff9f308484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #37 0x0000ffff9f308484 clang::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 0x0000ffff9f26c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #39 0x0000ffff9f26c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #40 0x0000ffff9f26c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #41 0x0000ffff9f26c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #42 0x0000ffff9f75b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #43 0x0000ffff9f75b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #44 0x0000ffff9f75b004 clang::ento::ProgramState::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 0x0000ffff9f27fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #46 0x0000ffff9f27fd0c 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 0x0000ffff9f27fd0c 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 0x0000ffff9f29a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #49 0x0000ffff9f29a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #50 0x0000ffff9f29a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #51 0x0000ffff9f29a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #52 0x0000ffff9f29a05c clang::ento::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 0x0000ffff9f29a2b8 clang::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 0x0000ffff9f29a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9f29a7cc clang::ento::CoreEngine::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 0x0000ffff9f29ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffff9f29ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffff9f29ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffff9f29ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffff9f29ab14 clang::ento::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 0x0000ffff9f5652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffff9f5652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffff9f5652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffff9f5652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffff9f5652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffff9f566278 llvm::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 0x0000ffff9f566278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffff9f566278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffff9f56a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffff9f56a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffff9f56a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffff9f56a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffff9f56a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffff9d9c1b88 __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 0x0000ffff9d9c1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffff9d9c1b88 void clang::finalize>, 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 0x0000ffff9d9c1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffff9f085600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffff9f03d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffff9f03d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffff9f03d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffff9f0c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaadeee59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaadeee94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaadeeeaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaadeee1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffff965c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffff965c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaadeee20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-assertion.c.script: line 1: 38516 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-assertion.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=true -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/svalbuilder-logic.c (1181 of 19719) ******************** TEST 'Clang :: Analysis/svalbuilder-logic.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-logic.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-logic.c 1. parser at end of file 2. While analyzing stack: #0 Calling pr15863 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-logic.c:15:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-logic.c:15:9: Error evaluating statement #0 0x0000ffff774aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff774a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff774ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff804607e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff7f760e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7f760e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7f760e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7f760e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff7f760e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff7f760e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff7f760e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff7f760e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff7f40e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff7f40e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff7f40e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff7f40e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff7f40eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff7f40eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff7f40eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff7f40eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff7f421aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff7f421aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff7f421aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff7f422ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff7f422ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff7f422ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff7f4224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7f4224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7f4224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff7f42eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff7f42eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff7f42eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff7f438484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff7f438484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff7f438484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff7f39c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff7f39c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff7f39c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff7f39c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff7f88b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff7f88b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff7f88b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff7f3afd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff7f3afd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff7f3afd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff7f3ca05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff7f3ca05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff7f3ca05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff7f3ca05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff7f3ca05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff7f3ca2b8 clang::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 0x0000ffff7f3ca5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff7f3ca7cc clang::ento::CoreEngine::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 0x0000ffff7f3cab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff7f3cab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff7f3cab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff7f3cab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff7f3cab14 clang::ento::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 0x0000ffff7f6952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff7f6952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff7f6952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff7f6952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff7f6952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff7f696278 llvm::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 0x0000ffff7f696278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff7f696278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff7f69a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff7f69a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff7f69a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff7f69a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff7f69a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff7daf1b88 __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 0x0000ffff7daf1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff7daf1b88 void clang::finalize>, 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 0x0000ffff7daf1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff7f1b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff7f16d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff7f16d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff7f16d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff7f1f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaadb0359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaadb0394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaadb03aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaadb031fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff766f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff766f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaadb0320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-logic.c.script: line 1: 38475 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-logic.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/svalbuilder-simplify-intsym.cpp (1182 of 19719) ******************** TEST 'Clang :: Analysis/svalbuilder-simplify-intsym.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-intsym.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-intsym.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_SValBuilder_simplifies_IntSym(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-intsym.cpp:15:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-intsym.cpp:15:7: Error evaluating statement #0 0x0000ffff7a67ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7a679180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7a67b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8363c7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff82930e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff82930e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff82930e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff82930e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff82930e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff82930e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff82930e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff82930e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff825de018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff825de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff825de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff825de018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff825deef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff825deef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff825deef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff825deef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff825f2c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff825f2c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff825f2c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff825f2f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff825f2f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff825f2f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff825f24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff825f24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff825f24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff825feb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff825feb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff825feb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff82608484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff82608484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff82608484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8256c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8256c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8256c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8256c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8268d468 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #40 0x0000ffff8268d468 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #41 0x0000ffff8268d468 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #42 0x0000ffff8268d468 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #43 0x0000ffff8268d468 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #44 0x0000ffff8268d468 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:11 #45 0x0000ffff8268d468 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #46 0x0000ffff82555308 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff82555308 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #48 0x0000ffff8258d0b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffff8258d0b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffff8258d0b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #51 0x0000ffff8258d0b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #52 0x0000ffff8258d0b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #53 0x0000ffff8258d0b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #54 0x0000ffff8258d0b8 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:50:0 #55 0x0000ffff82599f88 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #56 0x0000ffff8259a2b8 clang::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 0x0000ffff8259a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8259a7cc clang::ento::CoreEngine::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 0x0000ffff8259ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8259ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8259ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff8259ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff8259ab14 clang::ento::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 0x0000ffff828652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff828652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff828652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff828652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff828652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff82866278 llvm::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 0x0000ffff82866278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffff82866278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffff8286a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffff8286a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffff8286a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffff8286a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffff8286a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffff80cc1b88 __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 0x0000ffff80cc1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffff80cc1b88 void clang::finalize>, 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 0x0000ffff80cc1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffff82385600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffff8233d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffff8233d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffff8233d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffff823c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaae78a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaae78a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaae78aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaae78a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff798c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff798c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaae78a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-simplify-intsym.cpp.script: line 1: 38484 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-intsym.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/symbol-simplification-bo-div.c (1183 of 19719) ******************** TEST 'Clang :: Analysis/symbol-simplification-bo-div.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-bo-div.c -triple x86_64-pc-linux-gnu -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-bo-div.c -triple x86_64-pc-linux-gnu -verify 1. parser at end of file 2. While analyzing stack: #0 Calling c 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-bo-div.c:11:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-bo-div.c:11:13: Error evaluating statement #0 0x0000ffff85e4ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff85e49180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff85e4b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8ee007e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8e100e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8e100e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8e100e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8e100e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8e100e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8e100e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8e100e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8e100e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8ddae018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8ddae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8ddae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8ddae018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8ddaeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8ddaeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8ddaeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8ddaeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8ddc2c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8ddc2c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8ddc2c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff8ddc2f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8ddc2f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8ddc2f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff8ddc24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8ddc24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8ddc24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8ddceb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8ddceb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8ddceb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8ddd8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8ddd8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8ddd8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8dd3c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8dd3c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8dd3c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8dd3c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8de5d468 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #40 0x0000ffff8de5d468 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #41 0x0000ffff8de5d468 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #42 0x0000ffff8de5d468 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #43 0x0000ffff8de5d468 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #44 0x0000ffff8de5d468 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:11 #45 0x0000ffff8de5d468 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #46 0x0000ffff8dd25308 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff8dd25308 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #48 0x0000ffff8dd5d0b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffff8dd5d0b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffff8dd5d0b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #51 0x0000ffff8dd5d0b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #52 0x0000ffff8dd5d0b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #53 0x0000ffff8dd5d0b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #54 0x0000ffff8dd5d0b8 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:50:0 #55 0x0000ffff8dd69f88 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #56 0x0000ffff8dd6a2b8 clang::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 0x0000ffff8dd6a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8dd6a7cc clang::ento::CoreEngine::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 0x0000ffff8dd6ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8dd6ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8dd6ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff8dd6ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff8dd6ab14 clang::ento::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 0x0000ffff8e0352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff8e0352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff8e0352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff8e0352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff8e0352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff8e036278 llvm::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 0x0000ffff8e036278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffff8e036278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffff8e03a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffff8e03a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffff8e03a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffff8e03a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffff8e03a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffff8c491b88 __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 0x0000ffff8c491b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffff8c491b88 void clang::finalize>, 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 0x0000ffff8c491b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffff8db55600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffff8db0d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffff8db0d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffff8db0d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffff8db936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaadf3059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaadf3094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaadf30aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaadf301fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff8509098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff85090a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaadf3020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-bo-div.c.script: line 1: 38518 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-bo-div.c -triple x86_64-pc-linux-gnu -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/taint-generic.cpp (1188 of 19719) ******************** TEST 'Clang :: Analysis/taint-generic.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint,core,alpha.security.ArrayBoundV2 -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config.yaml -Wno-format-security -verify -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint,core,alpha.security.ArrayBoundV2 -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config.yaml -Wno-format-security -verify -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.cpp 1. parser at end of file #0 0x0000ffffb256ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb2569180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb256b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbb52f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffba479f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffba479f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffba479f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffba479f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffba479f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffba479f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffba479f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffba479f54 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 0x0000ffffba47a878 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 0x0000ffffba48a954 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 0x0000ffffba48ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffba48ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffba48ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffba48ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffba48ab14 clang::ento::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 0x0000ffffba7552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffba7552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffba7552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffba7552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffba7552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffba756278 llvm::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 0x0000ffffba756278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffba756278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffba75a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffba75a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffba75a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffba75a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffba75a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffb8bb1b88 __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 0x0000ffffb8bb1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffb8bb1b88 void clang::finalize>, 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 0x0000ffffb8bb1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffba275600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffba22d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffba22d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffba22d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffba2b36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaab47859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaab47894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaab478aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaab4781fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffb17b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffb17b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaab47820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/taint-generic.cpp.script: line 1: 38549 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint,core,alpha.security.ArrayBoundV2 -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config.yaml -Wno-format-security -verify -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/temp-obj-dtors-option.cpp (1190 of 19719) ******************** TEST 'Clang :: Analysis/temp-obj-dtors-option.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-temp-dtor-inlining=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temp-obj-dtors-option.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-temp-dtor-inlining=true -DINLINE -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temp-obj-dtors-option.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-temp-dtor-inlining=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temp-obj-dtors-option.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temp-obj-dtors-option.cpp:15:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temp-obj-dtors-option.cpp:15:3: Error evaluating statement #0 0x0000ffffb3eaad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb3ea9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb3eab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbce667e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbbdbb9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffbbdbb9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbbdbb9a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbbdbb9a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbbdbb9a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffbbdbb9a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffbbdbb9a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffbbdbb9a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffffbbdbbd94 llvm::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 0x0000ffffbbdbbd94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffbbdbbd94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffbbdbbd94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffffbbdbbd94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffffbbdbc2ac llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffffbbdbc2ac llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffffbbdbc2ac clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:486:0 #20 0x0000ffffbbdc3db0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffffbbdc3db0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffffbbdc3db0 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 0x0000ffffbbdc3db0 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 0x0000ffffbbdc920c clang::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 0x0000ffffbbdc920c clang::ento::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 0x0000ffffbbdca2b8 clang::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 0x0000ffffbbdca5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbbdca7cc clang::ento::CoreEngine::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 0x0000ffffbbdcab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffffbbdcab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffffbbdcab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffffbbdcab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffffbbdcab14 clang::ento::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 0x0000ffffbc0952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffffbc0952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffffbc0952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffffbc0952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffffbc0952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffffbc096278 llvm::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 0x0000ffffbc096278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffffbc096278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffffbc09a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffffbc09a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffffbc09a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffffbc09a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffffbc09a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffffba4f1b88 __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 0x0000ffffba4f1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffffba4f1b88 void clang::finalize>, 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 0x0000ffffba4f1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffffbbbb5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffffbbb6d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffffbbb6d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffffbbb6d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffffbbbf36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaadc5d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaadc5d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaadc5daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaadc5d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffffb30f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffffb30f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaadc5d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/temp-obj-dtors-option.cpp.script: line 2: 38573 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-temp-dtor-inlining=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temp-obj-dtors-option.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-disequality-info.cpp (1191 of 19719) ******************** TEST 'Clang :: Analysis/symbol-simplification-disequality-info.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp:15:12: error: CHECK: expected string not found in input // CHECK: "disequality_info": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :3:367: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:15'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:15'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:15'1 ? possible intended match 4: 1. parser at end of file check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling test(int, int, int, int) check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp:12:7: Error evaluating statement check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp:12:7: Error evaluating statement check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-reassume.cpp (1192 of 19719) ******************** TEST 'Clang :: Analysis/symbol-simplification-reassume.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-reassume.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-reassume.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_reassume_inclusive_range(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-reassume.cpp:30:20: Error evaluating statement #0 0x0000ffffb25aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb25a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb25ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbb56b7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffba50a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffba50a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffba50a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffba50a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffba50a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffba50a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffba4b53bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffba4b53bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffba4b53bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffba4ca244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffba4ca244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffba4ca244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffba4ca244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffba4ca244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffba4ca244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffba4ca244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffba4ca244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffba4ca244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffba4ca5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffba4ca6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffba4ca98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffba4cab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffba4cab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffba4cab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffba4cab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffba4cab14 clang::ento::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 0x0000ffffba7952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffba7952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffba7952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffba7952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffba7952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffba796278 llvm::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 0x0000ffffba796278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffba796278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffba79a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffba79a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffba79a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffba79a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffba79a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffb8bf1b88 __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 0x0000ffffb8bf1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffb8bf1b88 void clang::finalize>, 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 0x0000ffffb8bf1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffba2b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffba26d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffba26d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffba26d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffba2f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaae25159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaae25194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaae251aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaae2511fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffb17f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffb17f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaae25120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-reassume.cpp.script: line 1: 38539 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-reassume.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-fixpoint-one-iteration.cpp (1193 of 19719) ******************** TEST 'Clang :: Analysis/symbol-simplification-fixpoint-one-iteration.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp:15:12: error: CHECK: expected string not found in input // CHECK: "constraints": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :3:251: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:15'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:15'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:15'1 ? possible intended match 4: 1. parser at end of file check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling test(int, int, int) check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp:12:7: Error evaluating statement check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp:12:7: Error evaluating statement check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0. FAIL: Clang :: Analysis/taint-tester.cpp (1194 of 19719) ******************** TEST 'Clang :: Analysis/taint-tester.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint,debug.TaintTest /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-tester.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint,debug.TaintTest /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-tester.cpp -verify 1. parser at end of file #0 0x0000ffff8c29ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8c299180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8c29b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff952547e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff941a9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff941a9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff941a9f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff941a9f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff941a9f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff941a9f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff941a9f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff941a9f54 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 0x0000ffff941aa878 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 0x0000ffff941ba954 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 0x0000ffff941bab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff941bab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff941bab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff941bab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff941bab14 clang::ento::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 0x0000ffff944852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff944852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff944852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff944852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff944852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff94486278 llvm::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 0x0000ffff94486278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff94486278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff9448a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff9448a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff9448a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff9448a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff9448a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff928e1b88 __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 0x0000ffff928e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff928e1b88 void clang::finalize>, 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 0x0000ffff928e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff93fa5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff93f5d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff93f5d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff93f5d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff93fe36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaab7f259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaab7f294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaab7f2aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaab7f21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff8b4e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff8b4e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaab7f220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/taint-tester.cpp.script: line 1: 38559 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint,debug.TaintTest /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-tester.cpp -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/template-param-objects.cpp (1195 of 19719) ******************** TEST 'Clang :: Analysis/template-param-objects.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -std=c++20 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/template-param-objects.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -std=c++20 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/template-param-objects.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling stable_addresses() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/template-param-objects.cpp:29:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/template-param-objects.cpp:29:23: Error evaluating statement #0 0x0000ffff88d9ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff88d99180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff88d9b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff91d5a7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff90ca5734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff90ca5734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff90ca5734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff90ca5734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff90ca5734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff90ca5734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff90ca5734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff90ca5734 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 0x0000ffff90cd6660 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffff90cd6804 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffff90cd6804 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffff90cd6804 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffff90cb3514 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffff90cb920c clang::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 0x0000ffff90cb920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffff90cba2b8 clang::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 0x0000ffff90cba5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff90cba7cc clang::ento::CoreEngine::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 0x0000ffff90cbab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffff90cbab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffff90cbab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffff90cbab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffff90cbab14 clang::ento::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 0x0000ffff90f852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffff90f852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffff90f852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffff90f852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffff90f852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffff90f86278 llvm::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 0x0000ffff90f86278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffff90f86278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffff90f8a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff90f8a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff90f8a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffff90f8a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffff90f8a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffff8f3e1b88 __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 0x0000ffff8f3e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffff8f3e1b88 void clang::finalize>, 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 0x0000ffff8f3e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffff90aa5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffff90a5d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffff90a5d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffff90a5d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffff90ae36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaadf4859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaadf4894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaadf48aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaadf481fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffff87fe098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffff87fe0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaadf4820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/template-param-objects.cpp.script: line 1: 38575 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -std=c++20 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/template-param-objects.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp (1196 of 19719) ******************** TEST 'Clang :: Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_true_range_contradiction(int, unsigned int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp:47:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp:47:9: Error evaluating statement #0 0x0000ffffab1aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffab1a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffab1ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb41697e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb3460e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb3460e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb3460e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb3460e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb3460e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb3460e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb3460e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb3460e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb310e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb310e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb310e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb310e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb310ec90 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb310ec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb310ec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb310ec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffb3122c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb3122c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb3122c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffb31224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb31224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb31224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffffb312eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffffb312eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffffb312eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffffb3138484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffffb3138484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffb3138484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffffb309c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffffb309c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffffb309c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffffb309c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffffb358b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffb358b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffb358b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffffb30afd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffffb30afd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffffb30afd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffffb30ca05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffffb30ca05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffffb30ca05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffffb30ca05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffffb30ca05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffffb30ca2b8 clang::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 0x0000ffffb30ca5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb30ca7cc clang::ento::CoreEngine::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 0x0000ffffb30cab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffffb30cab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffffb30cab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffffb30cab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffffb30cab14 clang::ento::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 0x0000ffffb33952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffffb33952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffffb33952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffffb33952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffffb33952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffffb3396278 llvm::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 0x0000ffffb3396278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffffb3396278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffffb339a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffffb339a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffffb339a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffffb339a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffffb339a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffffb17f1b88 __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 0x0000ffffb17f1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffffb17f1b88 void clang::finalize>, 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 0x0000ffffb17f1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffffb2eb5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffffb2e6d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffffb2e6d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffffb2e6d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffffb2ef36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaacd7459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaacd7494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaacd74aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaacd741fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffffaa3f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffffaa3f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaacd7420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-fixpoint-iteration-unreachable-code.cpp.script: line 1: 38529 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-fixpoint-two-iterations.cpp (1197 of 19719) ******************** TEST 'Clang :: Analysis/symbol-simplification-fixpoint-two-iterations.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp:17:12: error: CHECK: expected string not found in input // CHECK: "constraints": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :3:251: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:17'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:17'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:17'1 ? possible intended match 4: 1. parser at end of file check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling test(int, int, int, int) check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp:12:7: Error evaluating statement check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp:12:7: Error evaluating statement check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0. FAIL: Clang :: Analysis/taint-generic.c (1198 of 19719) ******************** TEST 'Clang :: Analysis/taint-generic.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-format-security -Wno-pointer-to-int-cast -Wno-incompatible-library-redeclaration -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -analyzer-checker=alpha.security.taint -analyzer-checker=core -analyzer-checker=alpha.security.ArrayBoundV2 -analyzer-checker=debug.ExprInspection -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config.yaml : 'RUN: at line 10'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-format-security -Wno-pointer-to-int-cast -Wno-incompatible-library-redeclaration -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -DFILE_IS_STRUCT -analyzer-checker=alpha.security.taint -analyzer-checker=core -analyzer-checker=alpha.security.ArrayBoundV2 -analyzer-checker=debug.ExprInspection -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config.yaml : 'RUN: at line 20'; not /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-pointer-to-int-cast -Wno-incompatible-library-redeclaration -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -analyzer-checker=alpha.security.taint -analyzer-checker=debug.ExprInspection -analyzer-config alpha.security.taint.TaintPropagation:Config=justguessit 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -check-prefix=CHECK-INVALID-FILE : 'RUN: at line 33'; not /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-incompatible-library-redeclaration -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -analyzer-checker=alpha.security.taint -analyzer-checker=debug.ExprInspection -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config-ill-formed.yaml 2>&1 | /usr/bin/FileCheck -DMSG='Invalid argument' /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -check-prefix=CHECK-ILL-FORMED : 'RUN: at line 45'; not /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-incompatible-library-redeclaration -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -analyzer-checker=alpha.security.taint -analyzer-checker=debug.ExprInspection -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config-invalid-arg.yaml 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -check-prefix=CHECK-INVALID-ARG -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-format-security -Wno-pointer-to-int-cast -Wno-incompatible-library-redeclaration -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -analyzer-checker=alpha.security.taint -analyzer-checker=core -analyzer-checker=alpha.security.ArrayBoundV2 -analyzer-checker=debug.ExprInspection -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config.yaml 1. parser at end of file 2. While analyzing stack: #0 Calling testProctitle2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c:1102:15: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c:1102:15: Error evaluating statement #0 0x0000ffff80d1ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff80d19180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff80d1b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff89cd57e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff88fc73b8 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff88fc73b8 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff88fc73b8 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff88fc73b8 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff88fc73b8 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff88fc73b8 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 0x0000ffff88fc73b8 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff88fc73b8 (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 0x0000ffff88bf67b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff88bf67b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff88bf67b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #15 0x0000ffff88bf67b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #16 0x0000ffff88bf67b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #17 0x0000ffff88c56c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #18 0x0000ffff88c56c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #19 0x0000ffff88c56c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #20 0x0000ffff88c56c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #21 0x0000ffff88c56c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #22 0x0000ffff88c56c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #23 0x0000ffff88c574f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #24 0x0000ffff88c39250 clang::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 0x0000ffff88c39250 clang::ento::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 0x0000ffff88c3a2b8 clang::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 0x0000ffff88c3a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff88c3a7cc clang::ento::CoreEngine::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 0x0000ffff88c3ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffff88c3ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffff88c3ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffff88c3ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffff88c3ab14 clang::ento::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 0x0000ffff88f052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffff88f052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffff88f052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffff88f052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffff88f052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffff88f06278 llvm::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 0x0000ffff88f06278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffff88f06278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffff88f0a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffff88f0a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffff88f0a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffff88f0a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffff88f0a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffff87361b88 __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 0x0000ffff87361b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffff87361b88 void clang::finalize>, 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 0x0000ffff87361b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffff88a25600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffff889dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffff889dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffff889dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffff88a636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaace1659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaace1694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaace16aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaace161fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffff7ff6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffff7ff60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaace1620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/taint-generic.c.script: line 5: 38552 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-format-security -Wno-pointer-to-int-cast -Wno-incompatible-library-redeclaration -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -analyzer-checker=alpha.security.taint -analyzer-checker=core -analyzer-checker=alpha.security.ArrayBoundV2 -analyzer-checker=debug.ExprInspection -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config.yaml -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-nonloc-loc.cpp (1199 of 19719) ******************** TEST 'Clang :: Analysis/symbol-simplification-nonloc-loc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-nonloc-loc.cpp -triple x86_64-pc-linux-gnu -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-nonloc-loc.cpp -triple x86_64-pc-linux-gnu -verify 1. parser at end of file 2. While analyzing stack: #0 Calling loc_OP_nonloc(int *, class (lambda at /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-nonloc-loc.cpp:57:20)) at line 57 #1 Calling instantiate_tests_for_loc_OP_nonloc(int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-nonloc-loc.cpp:29:7: Error evaluating branch #0 0x0000ffffb1e5ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb1e59180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb1e5b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbae127e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffba110e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffba110e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffba110e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffba110e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffba110e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffba110e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffba110e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffba110e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb9dbe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb9dbe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb9dbe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb9dbe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb9dbeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb9dbeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb9dbeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb9dbeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb9dd1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb9dd1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb9dd1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb9dd2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb9dd2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb9dd2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb9dd24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb9dd24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb9dd24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb9ddeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb9ddeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb9ddeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb9de8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb9de8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb9de8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb9d4c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb9d4c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb9d4c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb9d4c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffba23b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffba23b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffba23b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb9d62bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb9d62bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb9d62bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb9d62bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb9d62bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb9d62bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb9d62bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb9d62bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb9d62bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb9d62bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb9d63130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb9d7ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb9d7ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb9d7ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb9d7ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb9d7ab14 clang::ento::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 0x0000ffffba0452fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffba0452fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffba0452fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffba0452fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffba0452fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffba046278 llvm::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 0x0000ffffba046278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffba046278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffba04a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffba04a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffba04a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffba04a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffba04a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb84a1b88 __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 0x0000ffffb84a1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb84a1b88 void clang::finalize>, 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 0x0000ffffb84a1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb9b65600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb9b1d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb9b1d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb9b1d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb9ba36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab63f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab63f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab63faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab63f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb10a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb10a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab63f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-nonloc-loc.cpp.script: line 1: 38534 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-nonloc-loc.cpp -triple x86_64-pc-linux-gnu -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/taint-diagnostic-visitor.c (1200 of 19719) ******************** TEST 'Clang :: Analysis/taint-diagnostic-visitor.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=alpha.security.taint,core,alpha.security.ArrayBoundV2 -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-diagnostic-visitor.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=alpha.security.taint,core,alpha.security.ArrayBoundV2 -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-diagnostic-visitor.c 1. parser at end of file 2. While analyzing stack: #0 Calling multipleTaintedArgs 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-diagnostic-visitor.c:110:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-diagnostic-visitor.c:110:3: Error evaluating statement #0 0x0000ffff79c9ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff79c99180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff79c9b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff82c587e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff81f473b8 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff81f473b8 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff81f473b8 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff81f473b8 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff81f473b8 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff81f473b8 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 0x0000ffff81f473b8 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff81f473b8 (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 0x0000ffff81b767b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff81b767b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff81b767b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #15 0x0000ffff81b767b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #16 0x0000ffff81b767b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #17 0x0000ffff81bd6c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #18 0x0000ffff81bd6c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #19 0x0000ffff81bd6c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #20 0x0000ffff81bd6c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #21 0x0000ffff81bd6c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #22 0x0000ffff81bd6c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #23 0x0000ffff81bd74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #24 0x0000ffff81bb9250 clang::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 0x0000ffff81bb9250 clang::ento::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 0x0000ffff81bba2b8 clang::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 0x0000ffff81bba5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff81bba7cc clang::ento::CoreEngine::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 0x0000ffff81bbab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffff81bbab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffff81bbab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffff81bbab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffff81bbab14 clang::ento::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 0x0000ffff81e852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffff81e852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffff81e852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffff81e852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffff81e852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffff81e86278 llvm::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 0x0000ffff81e86278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffff81e86278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffff81e8a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffff81e8a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffff81e8a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffff81e8a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffff81e8a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffff802e1b88 __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 0x0000ffff802e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffff802e1b88 void clang::finalize>, 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 0x0000ffff802e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffff819a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffff8195d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffff8195d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffff8195d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffff819e36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaac07a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaac07a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaac07aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaac07a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffff78ee098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffff78ee0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaac07a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/taint-diagnostic-visitor.c.script: line 1: 38545 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=alpha.security.taint,core,alpha.security.ArrayBoundV2 -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-diagnostic-visitor.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/taint-dumps.c (1201 of 19719) ******************** TEST 'Clang :: Analysis/taint-dumps.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-dumps.c 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-dumps.c -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-dumps.c:8:11: error: CHECK: expected string not found in input // CHECK: Tainted symbols: ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :6:18: note: possible intended match here #0 Calling test_taint_dumps ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-dumps.c -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:8'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:8'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-dumps.c check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: 1. parser at end of file check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling test_taint_dumps check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:8'1 ? possible intended match 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-dumps.c:11:11: Error evaluating statement check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-dumps.c:11:11: Error evaluating statement check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #0 0x0000ffff773bad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #1 0x0000ffff773b9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #2 0x0000ffff773bb408 (/usr/lib64/libLLVM-17.so+0x9cb408) check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0. FAIL: Clang :: Analysis/taint-tester.c (1202 of 19719) ******************** TEST 'Clang :: Analysis/taint-tester.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-int-to-pointer-cast -analyzer-checker=alpha.security.taint,debug.TaintTest /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-tester.c -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-int-to-pointer-cast -analyzer-checker=alpha.security.taint,debug.TaintTest /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-tester.c -verify 1. parser at end of file 2. While analyzing stack: #0 Calling noCrashTest 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-tester.c:196:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-tester.c:196:7: Error evaluating statement #0 0x0000ffff9eb3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9eb39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9eb3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa7afc7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa6df0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa6df0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa6df0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa6df0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa6df0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa6df0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa6df0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa6df0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa6a9e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa6a9e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa6a9e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa6a9e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa6a9eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa6a9eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa6a9eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa6a9eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa6ab1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa6ab1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa6ab1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa6ab2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa6ab2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa6ab2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa6ab24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa6ab24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa6ab24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa6abeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa6abeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa6abeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa6ac8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa6ac8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa6ac8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa6a2c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa6a2c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa6a2c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa6a2c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa6f1b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa6f1b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa6f1b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa6a3fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa6a3fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa6a3fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffa6a5a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffa6a5a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffa6a5a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffa6a5a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffa6a5a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffa6a5a2b8 clang::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 0x0000ffffa6a5a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa6a5a7cc clang::ento::CoreEngine::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 0x0000ffffa6a5ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa6a5ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa6a5ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa6a5ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa6a5ab14 clang::ento::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 0x0000ffffa6d252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa6d252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa6d252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa6d252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa6d252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa6d26278 llvm::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 0x0000ffffa6d26278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa6d26278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa6d2a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa6d2a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa6d2a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa6d2a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa6d2a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa5181b88 __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 0x0000ffffa5181b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa5181b88 void clang::finalize>, 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 0x0000ffffa5181b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa6845600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa67fd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa67fd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa67fd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa68836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad29759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad29794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad297aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad2971fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9dd8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9dd80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad29720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/taint-tester.c.script: line 1: 38554 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-int-to-pointer-cast -analyzer-checker=alpha.security.taint,debug.TaintTest /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-tester.c -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-symplify-results-in-dead-symbol.cpp (1204 of 19719) ******************** TEST 'Clang :: Analysis/symbol-simplification-symplify-results-in-dead-symbol.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-symplify-results-in-dead-symbol.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-symplify-results-in-dead-symbol.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f(unsigned int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-symplify-results-in-dead-symbol.cpp:8:3 : Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-symplify-results-in-dead-symbol.cpp:8:3 : Error evaluating statement #0 0x0000ffffb4ebad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb4eb9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb4ebb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbde777e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbce17bdc retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffbce17bdc retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbce17bdc retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbce17bdc IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbce17bdc ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffbce17bdc MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffbce17bdc get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffbce17bdc (anonymous namespace)::EquivalenceClass::mergeImpl(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, llvm::ImmutableSet>, (anonymous namespace)::EquivalenceClass, llvm::ImmutableSet>) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2361:0 #12 0x0000ffffbce19adc llvm::IntrusiveRefCntPtrInfo>>::release(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:351:0 #13 0x0000ffffbce19adc llvm::IntrusiveRefCntPtr>>::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffbce19adc llvm::IntrusiveRefCntPtr>>::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffbce19adc llvm::ImmutableSet>::~ImmutableSet() /usr/include/llvm/ADT/ImmutableSet.h:957:0 #16 0x0000ffffbce19adc (anonymous namespace)::EquivalenceClass::merge(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, (anonymous namespace)::EquivalenceClass) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2340:0 #17 0x0000ffffbce1e4ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x0000ffffbce1e4ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbce1e4ac merge /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2309:0 #20 0x0000ffffbce1e4ac trackEquality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2160:0 #21 0x0000ffffbce1e4ac assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2238:0 #22 0x0000ffffbce1e4ac assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #23 0x0000ffffbce1e4ac assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #24 0x0000ffffbce1e4ac assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #25 0x0000ffffbce1e4ac assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #26 0x0000ffffbce1e4ac assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #27 0x0000ffffbce1e4ac (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #28 0x0000ffffbce1ec90 llvm::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 0x0000ffffbce1ec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffffbce1ec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffbce1ec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #32 0x0000ffffbce32c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffffbce32c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffffbce32c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #35 0x0000ffffbce324c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbce324c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbce324c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #38 0x0000ffffbce3eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #39 0x0000ffffbce3eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #40 0x0000ffffbce3eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #41 0x0000ffffbce48484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x0000ffffbce48484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x0000ffffbce48484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #44 0x0000ffffbcdac9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #45 0x0000ffffbcdac9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x0000ffffbcdac9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #47 0x0000ffffbcdac9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #48 0x0000ffffbd29b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #49 0x0000ffffbd29b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #50 0x0000ffffbd29b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #51 0x0000ffffbcdbfd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #52 0x0000ffffbcdbfd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #53 0x0000ffffbcdbfd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #54 0x0000ffffbcdda05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #55 0x0000ffffbcdda05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #56 0x0000ffffbcdda05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #57 0x0000ffffbcdda05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #58 0x0000ffffbcdda05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #59 0x0000ffffbcdda2b8 clang::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 0x0000ffffbcdda5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbcdda7cc clang::ento::CoreEngine::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 0x0000ffffbcddab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffbcddab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffbcddab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffbcddab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffbcddab14 clang::ento::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 0x0000ffffbd0a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffbd0a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffbd0a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffbd0a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffbd0a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffbd0a6278 llvm::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 0x0000ffffbd0a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffbd0a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffbd0aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffbd0aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffbd0aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffbd0aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffbd0aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffbb501b88 __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 0x0000ffffbb501b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffbb501b88 void clang::finalize>, 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 0x0000ffffbb501b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffbcbc5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffbcb7d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffbcb7d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffbcb7d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffbcc036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaac94659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaac94694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaac946aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaac9461fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffb410098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffb4100a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaac94620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-symplify-results-in-dead-symbol.cpp.script: line 1: 38540 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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/templates.cpp (1205 of 19719) ******************** TEST 'Clang :: Analysis/templates.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -fblocks -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/templates.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -fblocks -analyzer-config c++-template-inlining=false -DNO_INLINE -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/templates.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -fblocks -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/templates.cpp 1. parser at end of file #0 0x0000ffff9f2ead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9f2e9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9f2eb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa82a97e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa71f9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa71f9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa71f9f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa71f9f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa71f9f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa71f9f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa71f9f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa71f9f54 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 0x0000ffffa71fa878 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 0x0000ffffa720a954 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 0x0000ffffa720ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffa720ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffa720ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffa720ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffa720ab14 clang::ento::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 0x0000ffffa74d52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffa74d52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffa74d52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffa74d52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffa74d52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffa74d6278 llvm::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 0x0000ffffa74d6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffa74d6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffa74da900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffa74da900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffa74da900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffa74da900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffa74da900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffa5931b88 __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 0x0000ffffa5931b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffa5931b88 void clang::finalize>, 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 0x0000ffffa5931b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffa6ff5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffa6fad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffa6fad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffa6fad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffa70336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaad2d159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaad2d194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaad2d1aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaad2d11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff9e53098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff9e530a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaad2d120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/templates.cpp.script: line 2: 38586 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -fblocks -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/templates.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/temporaries-callback-order.cpp (1211 of 19719) ******************** TEST 'Clang :: Analysis/temporaries-callback-order.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:Bind=true -analyzer-config debug.AnalysisOrder:RegionChanges=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp:30:15: error: CHECK-NOT: excluded string found in input // CHECK-NOT: Bind ^ :6:317: note: found here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:Bind=true -analyzer-config debug.AnalysisOrder:RegionChanges=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp ^~~~ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp:31:15: error: CHECK-NOT: excluded string found in input // CHECK-NOT: RegionChanges ^ :6:364: note: found here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:Bind=true -analyzer-config debug.AnalysisOrder:RegionChanges=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp ^~~~~~~~~~~~~ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: Bind 2: RegionChanges 3: RegionChanges 4: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. 5: Stack dump: 6: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:Bind=true -analyzer-config debug.AnalysisOrder:RegionChanges=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp not:30 !~~~ error: no match expected not:31 !~~~~~~~~~~~~ error: no match expected 7: 1. parser at end of file 8: 2. While analyzing stack: 9: #0 Calling Sub::Sub() at line 12 10: #1 Calling testTemporaries() 11: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp:6:8: Error evaluating statement . . . >>>>>> -- ******************** Testing: 0. FAIL: Clang :: Analysis/temporaries.mm (1212 of 19719) ******************** TEST 'Clang :: Analysis/temporaries.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker core,cplusplus -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker core,cplusplus -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.mm 1. parser at end of file 2. While analyzing stack: #0 Calling testNilReceiverCleanup() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.mm:28:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.mm:28:13: Error evaluating statement #0 0x0000ffffa481ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa4819180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa481b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffad7de7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffac72b9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffac72b9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffac72b9a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffac72b9a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffac72b9a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffac72b9a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffac72b9a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffac72b9a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffffac72bd94 llvm::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 0x0000ffffac72bd94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffac72bd94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffac72bd94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffffac72bd94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffffac72c1c8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #18 0x0000ffffac72c1c8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #19 0x0000ffffac72c1c8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x0000ffffac72c1c8 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:507:0 #21 0x0000ffffac72c408 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #22 0x0000ffffac72c408 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #23 0x0000ffffac72c408 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:459:0 #24 0x0000ffffac733db0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #25 0x0000ffffac733db0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #26 0x0000ffffac733db0 clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #27 0x0000ffffac733db0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:665:0 #28 0x0000ffffac73920c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #29 0x0000ffffac73920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #30 0x0000ffffac73a2b8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #31 0x0000ffffac73a5a0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #32 0x0000ffffac73a7cc clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #33 0x0000ffffac73ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x0000ffffac73ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x0000ffffac73ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #36 0x0000ffffac73ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #37 0x0000ffffac73ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #38 0x0000ffffaca052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #39 0x0000ffffaca052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #40 0x0000ffffaca052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #41 0x0000ffffaca052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #42 0x0000ffffaca052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #43 0x0000ffffaca06278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #44 0x0000ffffaca06278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #45 0x0000ffffaca06278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #46 0x0000ffffaca0a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #47 0x0000ffffaca0a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #48 0x0000ffffaca0a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #49 0x0000ffffaca0a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #50 0x0000ffffaca0a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #51 0x0000ffffaae61b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #52 0x0000ffffaae61b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #53 0x0000ffffaae61b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #54 0x0000ffffaae61b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #55 0x0000ffffac525600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #56 0x0000ffffac4dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #57 0x0000ffffac4dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #58 0x0000ffffac4dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #59 0x0000ffffac5636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #60 0x0000aaaab2f859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #61 0x0000aaaab2f894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #62 0x0000aaaab2f8aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #63 0x0000aaaab2f81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #64 0x0000ffffa3a6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #65 0x0000ffffa3a60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #66 0x0000aaaab2f820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/temporaries.mm.script: line 1: 38595 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker core,cplusplus -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.mm -- ******************** Testing: 0. FAIL: Clang :: Analysis/this-pointer.cpp (1213 of 19719) ******************** TEST 'Clang :: Analysis/this-pointer.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config widen-loops=true -analyzer-disable-retry-exhausted -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/this-pointer.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config widen-loops=true -analyzer-disable-retry-exhausted -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/this-pointer.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling this_pointer_after_loop_widen::E::E() at line 84 #1 Calling this_pointer_after_loop_widen::test_chained_method_call() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/this-pointer.cpp:72:13: Error evaluating statement #0 0x0000ffff9746ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff97469180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9746b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa042e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9f3750b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9f3750b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9f3750b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9f3750b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9f3750b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9f3750b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9f3750b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9f3750b8 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 0x0000ffff9f38a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff9f38a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff9f38a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff9f38a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff9f38a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff9f38a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff9f38a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff9f38a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff9f38a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff9f38a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9f38a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff9f38a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff9f38ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff9f38ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff9f38ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff9f38ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff9f38ab14 clang::ento::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 0x0000ffff9f6552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff9f6552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff9f6552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff9f6552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff9f6552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff9f656278 llvm::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 0x0000ffff9f656278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff9f656278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff9f65a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff9f65a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff9f65a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff9f65a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff9f65a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff9dab1b88 __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 0x0000ffff9dab1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff9dab1b88 void clang::finalize>, 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 0x0000ffff9dab1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff9f175600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff9f12d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff9f12d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff9f12d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff9f1b36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaad9af59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaad9af94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaad9afaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaad9af1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff966b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff966b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaad9af20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/this-pointer.cpp.script: line 1: 38612 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config widen-loops=true -analyzer-disable-retry-exhausted -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/this-pointer.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/track-control-dependency-conditions.cpp (1214 of 19719) ******************** TEST 'Clang :: Analysis/track-control-dependency-conditions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp -std=c++17 -verify=expected,tracking -analyzer-config track-conditions=true -analyzer-output=text -analyzer-checker=core : 'RUN: at line 7'; not /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp -analyzer-checker=core -analyzer-config track-conditions=false -analyzer-config track-conditions-debug=true 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp -check-prefix=CHECK-INVALID-DEBUG : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp -std=c++17 -verify=expected,tracking,debug -analyzer-config track-conditions=true -analyzer-config track-conditions-debug=true -analyzer-output=text -analyzer-checker=core : 'RUN: at line 24'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp -std=c++17 -verify -analyzer-output=text -analyzer-config track-conditions=false -analyzer-checker=core -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp -std=c++17 -verify=expected,tracking -analyzer-config track-conditions=true -analyzer-output=text -analyzer-checker=core 1. parser at end of file 2. While analyzing stack: #0 Calling cxx17_ifinit__operator_call_in_condition_point::f(int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp:1025:7: Error evaluating statement #0 0x0000ffffb0faad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb0fa9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb0fab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb9f6b7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb8eb50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb8eb50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb8eb50b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb8eb50b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb8eb50b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb8eb50b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb8eb50b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb8eb50b8 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 0x0000ffffb8eca244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffb8eca244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffb8eca244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffb8eca244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffb8eca244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffb8eca244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffb8eca244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffb8eca244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffb8eca244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffb8eca5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb8eca7cc clang::ento::CoreEngine::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 0x0000ffffb8ecab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffffb8ecab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffffb8ecab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffffb8ecab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffffb8ecab14 clang::ento::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 0x0000ffffb91952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffffb91952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffffb91952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffffb91952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffffb91952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffffb9196278 llvm::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 0x0000ffffb9196278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffffb9196278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffffb919a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffffb919a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffffb919a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffffb919a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffffb919a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffffb75f1b88 __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 0x0000ffffb75f1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffffb75f1b88 void clang::finalize>, 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 0x0000ffffb75f1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffffb8cb5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffffb8c6d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffffb8c6d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffffb8c6d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffffb8cf36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaac95159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaac95194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaac951aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaac9511fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffffb01f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffffb01f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaac95120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/track-control-dependency-conditions.cpp.script: line 4: 38617 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp -std=c++17 -verify=expected,tracking -analyzer-config track-conditions=true -analyzer-output=text -analyzer-checker=core -- ******************** Testing: 0. FAIL: Clang :: Analysis/trivial-copy-struct.cpp (1215 of 19719) ******************** TEST 'Clang :: Analysis/trivial-copy-struct.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/trivial-copy-struct.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/trivial-copy-struct.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling Wrapper::Wrapper() at line 89 #1 Calling nestedLazyCompoundVal(List *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/trivial-copy-struct.cpp:81:8: Error evaluating statement #0 0x0000ffff9fc2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9fc29180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9fc2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa8be17e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa7b350b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa7b350b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa7b350b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa7b350b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa7b350b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa7b350b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa7b350b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa7b350b8 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 0x0000ffffa7b4a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffa7b4a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffa7b4a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffa7b4a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffa7b4a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffa7b4a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffa7b4a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffa7b4a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffa7b4a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffa7b4a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa7b4a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffa7b4a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffa7b4ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffa7b4ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffa7b4ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffa7b4ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffa7b4ab14 clang::ento::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 0x0000ffffa7e152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffa7e152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffa7e152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffa7e152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffa7e152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffa7e16278 llvm::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 0x0000ffffa7e16278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffa7e16278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffa7e1a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffa7e1a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffa7e1a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffa7e1a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffa7e1a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffa6271b88 __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 0x0000ffffa6271b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffa6271b88 void clang::finalize>, 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 0x0000ffffa6271b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffa7935600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffa78ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffa78ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffa78ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffa79736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaabd7e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaabd7e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaabd7eaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaabd7e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff9ee7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff9ee70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaabd7e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/trivial-copy-struct.cpp.script: line 1: 38635 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/trivial-copy-struct.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/test-variably-modified-types.c (1216 of 19719) ******************** TEST 'Clang :: Analysis/test-variably-modified-types.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyze-function=testVariablyModifiedTypes -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-variably-modified-types.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyze-function=testVariablyModifiedTypes -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-variably-modified-types.c 1. parser at end of file 2. While analyzing stack: #0 Calling getArraySize at line 11 #1 Calling testVariablyModifiedTypes 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-variably-modified-types.c:5:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-variably-modified-types.c:5:7: Error evaluating statement #0 0x0000ffffae61ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffae619180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffae61b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb75de7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb68d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb68d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb68d0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb68d0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb68d0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb68d0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb68d0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb68d0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb657e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb657e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb657e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb657e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb657eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb657eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb657eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb657eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb6591aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb6591aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb6591aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb6592ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb6592ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb6592ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb65924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb65924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb65924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb659eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb659eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb659eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb65a8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb65a8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb65a8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb650c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb650c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb650c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb650c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb69fb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb69fb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb69fb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb651fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb651fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb651fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb653a05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb653a05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb653a05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb653a05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb653a05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb653a2b8 clang::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 0x0000ffffb653a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb653a7cc clang::ento::CoreEngine::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 0x0000ffffb653ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb653ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb653ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb653ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb653ab14 clang::ento::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 0x0000ffffb68052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb68052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb68052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb68052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb68052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb6806278 llvm::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 0x0000ffffb6806278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb6806278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb680a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb680a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb680a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb680a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb680a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb4c61b88 __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 0x0000ffffb4c61b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb4c61b88 void clang::finalize>, 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 0x0000ffffb4c61b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb6325600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb62dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb62dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb62dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb63636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad31d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad31d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad31daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad31d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffad86098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffad860a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad31d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/test-variably-modified-types.c.script: line 1: 38609 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyze-function=testVariablyModifiedTypes -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-variably-modified-types.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/temporaries.cpp (1217 of 19719) ******************** TEST 'Clang :: Analysis/temporaries.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,cplusplus -analyzer-checker debug.ExprInspection -Wno-non-pod-varargs -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.cpp -std=c++03 -analyzer-config cfg-temporary-dtors=false : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,cplusplus -analyzer-checker debug.ExprInspection -Wno-non-pod-varargs -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.cpp -std=c++11 -analyzer-config cfg-temporary-dtors=false : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,cplusplus -analyzer-checker debug.ExprInspection -Wno-non-pod-varargs -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.cpp -std=c++11 -analyzer-config cfg-temporary-dtors=true -DTEMPORARY_DTORS : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,cplusplus -analyzer-checker debug.ExprInspection -Wno-non-pod-varargs -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.cpp -std=c++17 -analyzer-config cfg-temporary-dtors=true -DTEMPORARY_DTORS -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,cplusplus -analyzer-checker debug.ExprInspection -Wno-non-pod-varargs -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.cpp -std=c++03 -analyzer-config cfg-temporary-dtors=false 1. parser at end of file 2. While analyzing stack: #0 Calling return_from_top_frame::bar3(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.cpp:1223:10: Error evaluating branch #0 0x0000ffffa351ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa3519180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa351b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffac4d77e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffab7d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffab7d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffab7d0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffab7d0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffab7d0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffab7d0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffab7d0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffab7d0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffab47e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffab47e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffab47e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffab47e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffab47eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffab47eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffab47eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffab47eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffab491aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffab491aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffab491aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffab492ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffab492ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffab492ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffab4924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffab4924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffab4924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffab49eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffab49eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffab49eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffab4a8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffab4a8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffab4a8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffab40c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffab40c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffab40c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffab40c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffab8fb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffab8fb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffab8fb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffab422bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffab422bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffab422bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffab422bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffab422bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffab422bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffab422bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffab422bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffab422bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffab422bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffab423130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffab43ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffab43ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffab43ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffab43ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffab43ab14 clang::ento::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 0x0000ffffab7052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffab7052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffab7052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffab7052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffab7052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffab706278 llvm::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 0x0000ffffab706278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffab706278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffab70a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffab70a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffab70a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffab70a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffab70a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa9b61b88 __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 0x0000ffffa9b61b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa9b61b88 void clang::finalize>, 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 0x0000ffffa9b61b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffab225600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffab1dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffab1dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffab1dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffab2636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaacf3759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaacf3794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaacf37aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaacf371fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa276098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa2760a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaacf3720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/temporaries.cpp.script: line 4: 38593 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,cplusplus -analyzer-checker debug.ExprInspection -Wno-non-pod-varargs -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.cpp -std=c++03 -analyzer-config cfg-temporary-dtors=false -- ******************** Testing: 0. FAIL: Clang :: Analysis/unary-sym-expr-no-crash.c (1218 of 19719) ******************** TEST 'Clang :: Analysis/unary-sym-expr-no-crash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unary-sym-expr-no-crash.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config support-symbolic-integer-casts=false -verify : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unary-sym-expr-no-crash.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config support-symbolic-integer-casts=true -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unary-sym-expr-no-crash.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config support-symbolic-integer-casts=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling crash #0 0x0000ffff7ce3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7ce39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7ce3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff85df77e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff84d9a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff84d9a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff84d9a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff84d9a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff84d9a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff84d9a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff84d453bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff84d453bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff84d453bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff84d70e2c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #14 0x0000ffff84d70e2c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #15 0x0000ffff84d4a3e8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #16 0x0000ffff84d4a3e8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #17 0x0000ffff84d4a3e8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #18 0x0000ffff84d4a3e8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #19 0x0000ffff84d4a878 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #20 0x0000ffff84d5a954 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #21 0x0000ffff84d5ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffff84d5ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffff84d5ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffff84d5ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffff84d5ab14 clang::ento::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 0x0000ffff850252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff850252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff850252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffff850252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffff850252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffff85026278 llvm::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 0x0000ffff85026278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffff85026278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffff8502a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffff8502a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffff8502a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffff8502a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffff8502a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffff83481b88 __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 0x0000ffff83481b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffff83481b88 void clang::finalize>, 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 0x0000ffff83481b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffff84b45600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffff84afd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffff84afd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffff84afd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffff84b836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaadd6b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaadd6b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaadd6baac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaadd6b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffff7c08098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffff7c080a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaadd6b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unary-sym-expr-no-crash.c.script: line 2: 38641 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unary-sym-expr-no-crash.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config support-symbolic-integer-casts=false -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/test-include-cpp.cpp (1219 of 19719) ******************** TEST 'Clang :: Analysis/test-include-cpp.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-include-cpp.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-include-cpp.cpp 1. parser at end of file #0 0x0000ffff9d6dad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9d6d9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9d6db408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa66947e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa5990e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa5990e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa5990e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa5990e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa5990e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa5990e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa5990e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa5990e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa563e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa563e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa563e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa563e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa563eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa563eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa563eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa563eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa5651aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa5651aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa5651aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa5652ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa5652ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa5652ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa56524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa56524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa56524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa565eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa565eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa565eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa5668484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa5668484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa5668484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa55cc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa55cc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa55cc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa55cc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa55ccec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa55ccec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa55ccec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa55a0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa55a0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa55a0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa55dce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa55dce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa55dce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffa55fae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa55fae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa55fae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa58c52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa58c52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa58c52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa58c52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa58c52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa58c6278 llvm::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 0x0000ffffa58c6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa58c6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa58ca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa58ca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa58ca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa58ca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa58ca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa3d21b88 __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 0x0000ffffa3d21b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa3d21b88 void clang::finalize>, 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 0x0000ffffa3d21b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa53e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa539d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa539d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa539d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa54236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac79c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac79c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac79caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac79c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9c92098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff9c920a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac79c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/test-include-cpp.cpp.script: line 1: 38600 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-include-cpp.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/test-objc-non-nil-return-value-checker.m (1220 of 19719) ******************** TEST 'Clang :: Analysis/test-objc-non-nil-return-value-checker.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.NonNilReturnValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-objc-non-nil-return-value-checker.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.NonNilReturnValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-objc-non-nil-return-value-checker.m 1. parser at end of file 2. While analyzing stack: #0 Calling assumeThatNSArrayObjectAtIndexedSubscriptIsNeverNull 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-objc-non-nil-return-value-checker.m:49:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-objc-non-nil-return-value-checker.m:49:23: Error evaluating statement #0 0x0000ffff81ddad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff81dd9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff81ddb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8ad947e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8a090e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8a090e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8a090e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8a090e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8a090e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8a090e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8a090e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8a090e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff89d3e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff89d3e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff89d3e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff89d3e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff89d3eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff89d3eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff89d3eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff89d3eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff89d51aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff89d51aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff89d51aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff89d52ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff89d52ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff89d52ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff89d524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff89d524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff89d524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff89d5eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff89d5eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff89d5eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff89d68484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff89d68484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff89d68484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff89ccc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff89ccc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff89ccc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff89ccc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8a1bb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8a1bb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8a1bb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff89d2eafc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff89d2eafc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff89d2eafc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff89d2eafc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff89d2eafc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff89d2eafc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffff89cf8de8 clang::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 0x0000ffff89cf8de8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffff89cfa2b8 clang::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 0x0000ffff89cfa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff89cfa7cc clang::ento::CoreEngine::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 0x0000ffff89cfab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff89cfab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff89cfab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff89cfab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff89cfab14 clang::ento::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 0x0000ffff89fc52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff89fc52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff89fc52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff89fc52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff89fc52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff89fc6278 llvm::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 0x0000ffff89fc6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff89fc6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff89fca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff89fca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff89fca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff89fca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff89fca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff88421b88 __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 0x0000ffff88421b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff88421b88 void clang::finalize>, 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 0x0000ffff88421b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff89ae5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff89a9d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff89a9d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff89a9d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff89b236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab44a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab44a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab44aaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab44a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8102098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff81020a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab44a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/test-objc-non-nil-return-value-checker.m.script: line 1: 38607 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.NonNilReturnValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-objc-non-nil-return-value-checker.m -- ******************** Testing: 0. FAIL: Clang :: Analysis/test-separate-retaincount.cpp (1221 of 19719) ******************** TEST 'Clang :: Analysis/test-separate-retaincount.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -verify=no-retain-count /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-separate-retaincount.cpp -analyzer-checker=core,osx -analyzer-disable-checker osx.cocoa.RetainCount : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -verify=no-os-object /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-separate-retaincount.cpp -analyzer-checker=core,osx -analyzer-disable-checker osx.OSObjectRetainCount -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -verify=no-retain-count /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-separate-retaincount.cpp -analyzer-checker=core,osx -analyzer-disable-checker osx.cocoa.RetainCount 1. parser at end of file 2. While analyzing stack: #0 Calling osobject_overrelease() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-separate-retaincount.cpp:27:17: Error evaluating New Allocator Call #0 0x0000ffff932cad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff932c9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff932cb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9c2877e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9b580e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9b580e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9b580e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9b580e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9b580e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9b580e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9b580e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9b580e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9b22e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9b22e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9b22e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9b22e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9b22eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9b22eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9b22eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9b22eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9b241aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9b241aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9b241aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9b242ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9b242ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9b242ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9b2424c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9b2424c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9b2424c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9b24eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9b24eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9b24eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9b258484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9b258484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9b258484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9b1bc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9b1bc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9b1bc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9b1bc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9b1bcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9b1bcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9b1bcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9b1e6f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff9b1e6f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff9b1e6f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff9b1e6f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff9b1e6f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff9b1e735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff9b1e735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff9b1e735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff9b1e735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff9b1e735c 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 0x0000ffff9b1ea5dc clang::ento::ExprEngine::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 0x0000ffff9b1ea6c0 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 0x0000ffff9b1ea98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffff9b1eab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffff9b1eab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffff9b1eab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffff9b1eab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffff9b1eab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffff9b4b52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffff9b4b52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffff9b4b52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffff9b4b52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffff9b4b52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffff9b4b6278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffff9b4b6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffff9b4b6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffff9b4ba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffff9b4ba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffff9b4ba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffff9b4ba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffff9b4ba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff99911b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffff99911b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff99911b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffff99911b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffff9afd5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffff9af8d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffff9af8d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffff9af8d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffff9b0136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaade6959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaade6994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaade69aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaade691fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff9251098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff92510a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaade6920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/test-separate-retaincount.cpp.script: line 2: 38606 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -verify=no-retain-count /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-separate-retaincount.cpp -analyzer-checker=core,osx -analyzer-disable-checker osx.cocoa.RetainCount -- ******************** Testing: 0. FAIL: Clang :: Analysis/test-after-div-zero.c (1222 of 19719) ******************** TEST 'Clang :: Analysis/test-after-div-zero.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c99 -Dbool=_Bool -analyzer-checker=core,alpha.core.TestAfterDivZero -analyzer-output=text -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-after-div-zero.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -analyzer-checker=core,alpha.core.TestAfterDivZero -analyzer-output=text -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-after-div-zero.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c99 -Dbool=_Bool -analyzer-checker=core,alpha.core.TestAfterDivZero -analyzer-output=text -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-after-div-zero.c 1. parser at end of file 2. While analyzing stack: #0 Calling ok_inline 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-after-div-zero.c:201:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-after-div-zero.c:201:9: Error evaluating statement #0 0x0000ffff777ead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff777e9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff777eb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff807ae7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff7faa0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7faa0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7faa0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7faa0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff7faa0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff7faa0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff7faa0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff7faa0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff7f74e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff7f74e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff7f74e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff7f74e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff7f74eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff7f74eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff7f74eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff7f74eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff7f762c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff7f762c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff7f762c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff7f762f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff7f762f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff7f762f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff7f7624c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7f7624c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7f7624c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff7f76eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff7f76eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff7f76eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff7f778484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff7f778484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff7f778484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff7f6dc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff7f6dc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff7f6dc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff7f6dc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff7f6dcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff7f6dcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff7f6dcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff7f966ff8 llvm::IntrusiveRefCntPtr::operator bool() const /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:201:43 #43 0x0000ffff7f966ff8 isZero /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp:142:45 #44 0x0000ffff7f966ff8 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp:205:16 #45 0x0000ffff7f966ff8 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::TestAfterDivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #46 0x0000ffff7f6c5308 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff7f6c5308 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #48 0x0000ffff7f6fd0b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffff7f6fd0b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffff7f6fd0b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #51 0x0000ffff7f6fd0b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #52 0x0000ffff7f6fd0b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #53 0x0000ffff7f6fd0b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #54 0x0000ffff7f6fd0b8 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:50:0 #55 0x0000ffff7f709f88 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #56 0x0000ffff7f70a2b8 clang::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 0x0000ffff7f70a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff7f70a7cc clang::ento::CoreEngine::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 0x0000ffff7f70ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff7f70ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff7f70ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff7f70ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff7f70ab14 clang::ento::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 0x0000ffff7f9d52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff7f9d52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff7f9d52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff7f9d52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff7f9d52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff7f9d6278 llvm::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 0x0000ffff7f9d6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffff7f9d6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffff7f9da900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffff7f9da900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffff7f9da900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffff7f9da900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffff7f9da900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffff7de31b88 __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 0x0000ffff7de31b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffff7de31b88 void clang::finalize>, 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 0x0000ffff7de31b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffff7f4f5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffff7f4ad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffff7f4ad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffff7f4ad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffff7f5336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaad4c759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaad4c794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaad4c7aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaad4c71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff76a3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff76a30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaad4c720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/test-after-div-zero.c.script: line 2: 38597 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c99 -Dbool=_Bool -analyzer-checker=core,alpha.core.TestAfterDivZero -analyzer-output=text -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-after-div-zero.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/trustnonnullchecker_test.mm (1223 of 19719) ******************** TEST 'Clang :: Analysis/trustnonnullchecker_test.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyze -analyzer-checker=core,nullability,apiModeling -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/trustnonnullchecker_test.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyze -analyzer-checker=core,nullability,apiModeling -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/trustnonnullchecker_test.mm 1. parser at end of file #0 0x0000ffff7ba4ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7ba49180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7ba4b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff84a047e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff83959f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff83959f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff83959f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff83959f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff83959f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff83959f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff83959f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff83959f54 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 0x0000ffff8395a878 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 0x0000ffff8396a954 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 0x0000ffff8396ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff8396ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff8396ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff8396ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff8396ab14 clang::ento::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 0x0000ffff83c352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff83c352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff83c352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff83c352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff83c352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff83c36278 llvm::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 0x0000ffff83c36278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff83c36278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff83c3a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff83c3a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff83c3a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff83c3a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff83c3a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff82091b88 __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 0x0000ffff82091b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff82091b88 void clang::finalize>, 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 0x0000ffff82091b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff83755600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff8370d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff8370d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff8370d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff837936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaadaf259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaadaf294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaadaf2aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaadaf21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff7ac9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff7ac90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaadaf220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/trustnonnullchecker_test.mm.script: line 1: 38639 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyze -analyzer-checker=core,nullability,apiModeling -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/trustnonnullchecker_test.mm -- ******************** Testing: 0. FAIL: Clang :: Analysis/traversal-algorithm.mm (1224 of 19719) ******************** TEST 'Clang :: Analysis/traversal-algorithm.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.DumpTraversal -analyzer-max-loop 4 -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-algorithm.mm | /usr/bin/FileCheck -check-prefix=DFS /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-algorithm.mm -- Exit Code: 2 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.DumpTraversal -analyzer-max-loop 4 -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-algorithm.mm 1. parser at end of file 2. While analyzing stack: #0 Calling testLoops(id) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-algorithm.mm:27:10: Error evaluating branch #0 0x0000ffff9988ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff99889180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9988b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa28417e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa1b40e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa1b40e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa1b40e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa1b40e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa1b40e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa1b40e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa1b40e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa1b40e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa17ee018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa17ee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa17ee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa17ee018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa17eeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa17eeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa17eeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa17eeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa1801aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa1801aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa1801aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa1802ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa1802ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa1802ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa18024c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa18024c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa18024c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa180eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa180eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa180eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa1818484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa1818484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa1818484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa177c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa177c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa177c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa177c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa1c6b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa1c6b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa1c6b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa1792bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa1792bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa1792bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa1792bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa1792bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa1792bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa1792bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa1792bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa1792bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa1792bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa1793130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa17aab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa17aab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa17aab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa17aab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa17aab14 clang::ento::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 0x0000ffffa1a752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa1a752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa1a752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa1a752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa1a752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa1a76278 llvm::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 0x0000ffffa1a76278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa1a76278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa1a7a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa1a7a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa1a7a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa1a7a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa1a7a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9fed1b88 __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 0x0000ffff9fed1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9fed1b88 void clang::finalize>, 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 0x0000ffff9fed1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa1595600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa154d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa154d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa154d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa15d36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaadbf459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaadbf494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaadbf4aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaadbf41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff98ad098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff98ad0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaadbf420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) FileCheck error: '' is empty. FileCheck command line: /usr/bin/FileCheck -check-prefix=DFS /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-algorithm.mm -- ******************** Testing: 0. FAIL: Clang :: Analysis/traversal-path-unification.c (1225 of 19719) ******************** TEST 'Clang :: Analysis/traversal-path-unification.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.DumpTraversal /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-path-unification.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-path-unification.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.DumpTraversal -DUSE_EXPR /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-path-unification.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-path-unification.c -- Exit Code: 2 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.DumpTraversal /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-path-unification.c 1. parser at end of file 2. While analyzing stack: #0 Calling testRemoveDeadBindings 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-path-unification.c:17:7 : Error evaluating branch #0 0x0000ffff9e38ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9e389180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9e38b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa734f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa6640e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa6640e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa6640e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa6640e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa6640e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa6640e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa6640e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa6640e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa62ee018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa62ee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa62ee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa62ee018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa62eeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa62eeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa62eeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa62eeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa6302c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa6302c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa6302c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa6302f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa6302f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa6302f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffa63024c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa63024c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa63024c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa630eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa630eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa630eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa6318484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa6318484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa6318484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa627c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa627c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa627c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa627c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa676b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa676b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa676b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa6292bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa6292bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa6292bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa6292bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa6292bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa6292bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa6292bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa6292bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa6292bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa6292bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa6293130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa62aab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa62aab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa62aab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa62aab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa62aab14 clang::ento::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 0x0000ffffa65752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa65752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa65752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa65752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa65752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa6576278 llvm::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 0x0000ffffa6576278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa6576278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa657a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa657a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa657a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa657a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa657a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa49d1b88 __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 0x0000ffffa49d1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa49d1b88 void clang::finalize>, 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 0x0000ffffa49d1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa6095600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa604d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa604d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa604d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa60d36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaaee659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaaee694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaaee6aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaaee61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9d5d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9d5d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaaee620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) FileCheck error: '' is empty. FileCheck command line: /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-path-unification.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/track-control-dependency-conditions.m (1226 of 19719) ******************** TEST 'Clang :: Analysis/track-control-dependency-conditions.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,nullability -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,nullability -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.m 1. parser at end of file #0 0x0000ffff8bcaad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8bca9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8bcab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff94c627e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff93f60e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff93f60e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff93f60e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff93f60e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff93f60e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff93f60e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff93f60e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff93f60e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff93c0e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff93c0e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff93c0e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff93c0e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff93c0eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff93c0eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff93c0eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff93c0eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff93c21aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff93c21aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff93c21aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff93c22ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff93c22ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff93c22ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff93c224c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff93c224c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff93c224c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff93c2eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff93c2eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff93c2eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff93c38484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff93c38484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff93c38484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff93b9c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff93b9c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff93b9c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff93b9c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff93b9cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff93b9cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff93b9cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff93b70400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff93b70400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff93b70400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff93bacea8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff93bacea8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff93bacea8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff93bcae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff93bcae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff93bcae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff93e952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff93e952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff93e952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff93e952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff93e952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff93e96278 llvm::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 0x0000ffff93e96278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff93e96278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff93e9a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff93e9a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff93e9a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff93e9a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff93e9a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff922f1b88 __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 0x0000ffff922f1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff922f1b88 void clang::finalize>, 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 0x0000ffff922f1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff939b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9396d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9396d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9396d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff939f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac2e859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac2e894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac2e8aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac2e81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8aef098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff8aef0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac2e820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/track-control-dependency-conditions.m.script: line 1: 38614 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,nullability -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.m -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-structured-binding-struct.cpp (1229 of 19719) ******************** TEST 'Clang :: Analysis/uninit-structured-binding-struct.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-struct.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-struct.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling s3::s3() at line 106 #1 Calling i() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-struct.cpp:84:8: Error evaluating statement #0 0x0000ffffb65bad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb65b9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb65bb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbf5757e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbe4c50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffbe4c50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbe4c50b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbe4c50b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbe4c50b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffbe4c50b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffbe4c50b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffbe4c50b8 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 0x0000ffffbe4da244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffbe4da244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffbe4da244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffbe4da244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffbe4da244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffbe4da244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffbe4da244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffbe4da244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffbe4da244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffbe4da5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbe4da6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffbe4da98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffbe4dab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffbe4dab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffbe4dab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffbe4dab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffbe4dab14 clang::ento::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 0x0000ffffbe7a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffbe7a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffbe7a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffbe7a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffbe7a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffbe7a6278 llvm::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 0x0000ffffbe7a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffbe7a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffbe7aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffbe7aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffbe7aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffbe7aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffbe7aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffbcc01b88 __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 0x0000ffffbcc01b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffbcc01b88 void clang::finalize>, 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 0x0000ffffbcc01b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffbe2c5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffbe27d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffbe27d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffbe27d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffbe3036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaadd1f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaadd1f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaadd1faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaadd1f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffb580098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffb5800a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaadd1f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-structured-binding-struct.cpp.script: line 1: 38685 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-struct.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-ps-rdar6145427.m (1230 of 19719) ******************** TEST 'Clang :: Analysis/uninit-ps-rdar6145427.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-ps-rdar6145427.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-ps-rdar6145427.m 1. parser at end of file 2. While analyzing stack: #0 Calling main 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-ps-rdar6145427.m:34:31: Error evaluating statement #0 0x0000ffff9be3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9be39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9be3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa4df97e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa3d9a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa3d9a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa3d9a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa3d9a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffa3d9a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffa3d9a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffa3d453bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffa3d453bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffa3d453bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffa3d5a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffa3d5a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffa3d5a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffa3d5a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffa3d5a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffa3d5a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffa3d5a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffa3d5a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffa3d5a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffa3d5a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa3d5a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffa3d5a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffa3d5ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffa3d5ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffa3d5ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffa3d5ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffa3d5ab14 clang::ento::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 0x0000ffffa40252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa40252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa40252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffa40252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffa40252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffa4026278 llvm::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 0x0000ffffa4026278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffa4026278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffa402a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffa402a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffa402a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffa402a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffa402a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffa2481b88 __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 0x0000ffffa2481b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffa2481b88 void clang::finalize>, 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 0x0000ffffa2481b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffa3b45600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffa3afd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffa3afd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffa3afd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffa3b836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaae01959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaae01994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaae019aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaae0191fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff9b08098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff9b080a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaae01920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-ps-rdar6145427.m.script: line 1: 38677 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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 (1231 of 19719) ******************** TEST 'Clang :: Analysis/uninit-structured-binding-array.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-array.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-array.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling SUD::SUD() at line 377 #1 Calling non_pod_user_defined_val_syntax_2() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-array.cpp:355:3: Error evaluating statement #0 0x0000ffff864dad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff864d9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff864db408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8f49e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8e3e50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8e3e50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8e3e50b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8e3e50b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8e3e50b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8e3e50b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8e3e50b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8e3e50b8 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 0x0000ffff8e3fa244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff8e3fa244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff8e3fa244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff8e3fa244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff8e3fa244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff8e3fa244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff8e3fa244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff8e3fa244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff8e3fa244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff8e3fa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8e3fa6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff8e3fa98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff8e3fab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff8e3fab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff8e3fab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff8e3fab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff8e3fab14 clang::ento::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 0x0000ffff8e6c52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff8e6c52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff8e6c52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff8e6c52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff8e6c52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff8e6c6278 llvm::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 0x0000ffff8e6c6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff8e6c6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff8e6ca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff8e6ca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff8e6ca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff8e6ca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff8e6ca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff8cb21b88 __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 0x0000ffff8cb21b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff8cb21b88 void clang::finalize>, 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 0x0000ffff8cb21b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff8e1e5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff8e19d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff8e19d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff8e19d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff8e2236cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaacf4f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaacf4f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaacf4faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaacf4f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff8572098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff85720a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaacf4f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-structured-binding-array.cpp.script: line 1: 38681 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-array.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/unary-sym-expr.c (1232 of 19719) ******************** TEST 'Clang :: Analysis/unary-sym-expr.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unary-sym-expr.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unary-sym-expr.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_fp 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unary-sym-expr.c:42:7: Error evaluating branch #0 0x0000ffffa994ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa9949180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa994b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb29027e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb1c00e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb1c00e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb1c00e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb1c00e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb1c00e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb1c00e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb1c00e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb1c00e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb18ae018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb18ae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb18ae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb18ae018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb18aeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb18aeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb18aeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb18aeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb18c1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb18c1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb18c1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb18c2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb18c2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb18c2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb18c24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb18c24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb18c24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb18ceb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb18ceb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb18ceb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb18d8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb18d8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb18d8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb183c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb183c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb183c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb183c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb1d2b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb1d2b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb1d2b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb1852bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb1852bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb1852bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb1852bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb1852bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb1852bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb1852bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb1852bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb1852bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb1852bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb1853130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb186ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb186ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb186ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb186ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb186ab14 clang::ento::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 0x0000ffffb1b352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb1b352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb1b352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb1b352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb1b352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb1b36278 llvm::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 0x0000ffffb1b36278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb1b36278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb1b3a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb1b3a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb1b3a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb1b3a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb1b3a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffaff91b88 __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 0x0000ffffaff91b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffaff91b88 void clang::finalize>, 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 0x0000ffffaff91b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb1655600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb160d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb160d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb160d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb16936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac6be59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac6be94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac6beaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac6be1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa8b9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa8b90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac6be20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unary-sym-expr.c.script: line 1: 38647 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unary-sym-expr.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-vals.c (1233 of 19719) ******************** TEST 'Clang :: Analysis/uninit-vals.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.c 1. parser at end of file 2. While analyzing stack: #0 Calling pr_4630 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.c:107:17: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.c:107:17: Error evaluating statement #0 0x0000ffff7e19ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7e199180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7e19b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff871517e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff860d7cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff860d7cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff860d7cb0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff860d7cb0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff860d7cb0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff860d7cb0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff860d7cb0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff860d7cb0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff860d7cb0 (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 0x0000ffff860d7d8c (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffff860eb9f4 clang::ento::ProgramState::getSVal(clang::ento::Loc, clang::QualType) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:273:0 #15 0x0000ffff8609f964 clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3670:25 #16 0x0000ffff860af470 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x0000ffff860af470 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x0000ffff860af470 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #19 0x0000ffff860b8c34 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #20 0x0000ffff860b8c34 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #21 0x0000ffff860b8c34 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #22 0x0000ffff860ba2b8 clang::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 0x0000ffff860ba5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff860ba7cc clang::ento::CoreEngine::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 0x0000ffff860bab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff860bab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff860bab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff860bab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff860bab14 clang::ento::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 0x0000ffff863852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff863852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff863852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff863852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff863852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff86386278 llvm::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 0x0000ffff86386278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff86386278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff8638a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff8638a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff8638a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff8638a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff8638a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff847e1b88 __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 0x0000ffff847e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff847e1b88 void clang::finalize>, 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 0x0000ffff847e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff85ea5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff85e5d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff85e5d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff85e5d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff85ee36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaad5cc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaad5cc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaad5ccaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaad5cc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff7d3e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff7d3e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaad5cc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-vals.c.script: line 1: 38693 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-bug-first-iteration-init.c (1234 of 19719) ******************** TEST 'Clang :: Analysis/uninit-bug-first-iteration-init.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-bug-first-iteration-init.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-bug-first-iteration-init.c 1. parser at end of file 2. While analyzing stack: #0 Calling bar 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-bug-first-iteration-init.c:26:10: Error evaluating statement #0 0x0000ffff7f4bad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7f4b9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7f4bb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff884757e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8741a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8741a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8741a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8741a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff8741a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff8741a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff873c53bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff873c53bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff873c53bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff873da244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff873da244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff873da244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff873da244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff873da244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff873da244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff873da244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff873da244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff873da244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff873da5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff873da6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff873da98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff873dab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff873dab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff873dab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff873dab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff873dab14 clang::ento::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 0x0000ffff876a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff876a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff876a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff876a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff876a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff876a6278 llvm::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 0x0000ffff876a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff876a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff876aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff876aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff876aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff876aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff876aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff85b01b88 __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 0x0000ffff85b01b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff85b01b88 void clang::finalize>, 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 0x0000ffff85b01b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff871c5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff8717d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff8717d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff8717d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff872036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaabcda59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaabcda94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaabcdaaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaabcda1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff7e70098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff7e700a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaabcda20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-bug-first-iteration-init.c.script: line 1: 38667 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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-structured-binding-tuple.cpp (1235 of 19719) ******************** TEST 'Clang :: Analysis/uninit-structured-binding-tuple.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-ignored-reference-qualifiers -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-tuple.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-ignored-reference-qualifiers -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-tuple.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling syntax_3() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-tuple.cpp:573:8: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-tuple.cpp:573:8: Error evaluating statement #0 0x0000ffffa41aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa41a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa41ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffad1687e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffac0b5734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffac0b5734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffac0b5734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffac0b5734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffac0b5734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffac0b5734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffac0b5734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffac0b5734 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 0x0000ffffac0e6660 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffffac0e6804 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffffac0e6804 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffffac0e6804 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffffac0c3514 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffffac0c920c clang::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 0x0000ffffac0c920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffffac0ca2b8 clang::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 0x0000ffffac0ca5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffac0ca7cc clang::ento::CoreEngine::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 0x0000ffffac0cab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffffac0cab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffffac0cab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffffac0cab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffffac0cab14 clang::ento::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 0x0000ffffac3952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffffac3952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffffac3952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffffac3952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffffac3952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffffac396278 llvm::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 0x0000ffffac396278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffffac396278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffffac39a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffac39a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffac39a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffffac39a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffffac39a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffffaa7f1b88 __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 0x0000ffffaa7f1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffffaa7f1b88 void clang::finalize>, 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 0x0000ffffaa7f1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffffabeb5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffffabe6d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffffabe6d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffffabe6d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffffabef36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaac2bb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaac2bb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaac2bbaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaac2bb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffffa33f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffffa33f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaac2bb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-structured-binding-tuple.cpp.script: line 1: 38687 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-ignored-reference-qualifiers -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-tuple.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-vals.cpp (1236 of 19719) ******************** TEST 'Clang :: Analysis/uninit-vals.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.builtin -verify -DCHECK_FOR_CRASH /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.builtin -verify -DCHECK_FOR_CRASH /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling PerformTrivialCopyForUndefs::C::C() at line 22 #1 Calling PerformTrivialCopyForUndefs::foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.cpp:17:8: Error evaluating statement #0 0x0000ffff81dead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff81de9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff81deb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8ada17e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff89cf50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff89cf50b8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff89cf50b8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff89cf50b8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff89cf50b8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff89cf50b8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff89cf50b8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff89cf50b8 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 0x0000ffff89d0a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff89d0a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff89d0a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff89d0a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff89d0a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff89d0a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff89d0a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff89d0a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff89d0a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff89d0a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff89d0a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff89d0a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff89d0ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff89d0ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff89d0ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff89d0ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff89d0ab14 clang::ento::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 0x0000ffff89fd52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff89fd52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff89fd52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff89fd52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff89fd52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff89fd6278 llvm::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 0x0000ffff89fd6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff89fd6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff89fda900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff89fda900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff89fda900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff89fda900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff89fda900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff88431b88 __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 0x0000ffff88431b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff88431b88 void clang::finalize>, 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 0x0000ffff88431b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff89af5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff89aad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff89aad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff89aad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff89b336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaad1b359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaad1b394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaad1b3aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaad1b31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff8103098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff81030a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaad1b320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-vals.cpp.script: line 2: 38704 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.builtin -verify -DCHECK_FOR_CRASH /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/undef-buffers.c (1239 of 19719) ******************** TEST 'Clang :: Analysis/undef-buffers.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/undef-buffers.c -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=core.uninitialized -analyzer-config unix.DynamicMemoryModeling:Optimistic=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/undef-buffers.c -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=core.uninitialized -analyzer-config unix.DynamicMemoryModeling:Optimistic=true 1. parser at end of file 2. While analyzing stack: #0 Calling heapBased2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/undef-buffers.c:43:15: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/undef-buffers.c:43:15: Error evaluating statement #0 0x0000ffff88e6ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff88e69180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff88e6b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff91e2d7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff911076d0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff911076d0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff911076d0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff911076d0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff911076d0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff911076d0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff911076d0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff911076d0 (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 0x0000ffff90f15990 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff90f15990 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff90f15990 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 0x0000ffff90d295a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff90d295a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff90d295a8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff90d295a8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff90deebf4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff90deebf4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff90deebf4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff90deebf4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff90df8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff90df8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff90df8484 clang::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 0x0000ffff90d5cae8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff90d5cae8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff90d5cae8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff90d5cae8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff9124b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9124b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9124b004 clang::ento::ProgramState::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 0x0000ffff90f21ba0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff90f21ba0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff90f21ba0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff90f21ba0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff90f21ba0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff90f21ba0 (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 0x0000ffff90f21ff0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff90f21ff0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff90f21ff0 (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 0x0000ffff90f2e4d0 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff90f2e4d0 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 0x0000ffff90d467b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff90d467b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff90d467b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff90d467b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff90d467b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff90da6c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff90da6c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff90da6c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff90da6c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff90da6c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff90da6c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff90da74f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff90d89250 clang::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 0x0000ffff90d89250 clang::ento::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 0x0000ffff90d8a2b8 clang::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 0x0000ffff90d8a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff90d8a7cc clang::ento::CoreEngine::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 0x0000ffff90d8ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff90d8ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff90d8ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff90d8ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff90d8ab14 clang::ento::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 0x0000ffff910552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff910552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff910552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff910552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff910552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff91056278 llvm::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 0x0000ffff91056278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff91056278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff9105a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff9105a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff9105a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff9105a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff9105a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff8f4b1b88 __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 0x0000ffff8f4b1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff8f4b1b88 void clang::finalize>, 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 0x0000ffff8f4b1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff90b75600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff90b2d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff90b2d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff90b2d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff90bb36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaab59559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaab59594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaab595aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaab5951fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff880b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff880b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaab59520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/undef-buffers.c.script: line 1: 38651 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/undef-buffers.c -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=core.uninitialized -analyzer-config unix.DynamicMemoryModeling:Optimistic=true -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-const.cpp (1241 of 19719) ******************** TEST 'Clang :: Analysis/uninit-const.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.cpp -DTEST_INLINABLE_ALLOCATORS -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true 1. parser at end of file 2. While analyzing stack: #0 Calling f8() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.cpp:50:9: Error evaluating New Allocator Call #0 0x0000ffff9916ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff99169180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9916b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa21227e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa1075734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa1075734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa1075734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa1075734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa1075734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa1075734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa1075734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffa1075734 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 0x0000ffffa122f420 std::_Optional_base_impl>::_M_get() /usr/include/c++/12/optional:477:0 #13 0x0000ffffa122f420 std::optional::operator*() && /usr/include/c++/12/optional:978:0 #14 0x0000ffffa122f420 clang::ento::CXXAllocatorCall::getObjectUnderConstruction() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:1056:0 #15 0x0000ffffa122f420 processNewAllocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1618:0 #16 0x0000ffffa122f420 checkNewAllocator /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1629:0 #17 0x0000ffffa122f420 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 #18 0x0000ffffa1045e08 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x0000ffffa1045e08 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x0000ffffa1045e08 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #21 0x0000ffffa1045e08 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:525:0 #22 0x0000ffffa1045e08 expandGraphWithCheckers<(anonymous namespace)::CheckNewAllocatorContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #23 0x0000ffffa1045e08 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:0 #24 0x0000ffffa10870c0 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 #25 0x0000ffffa108735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #26 0x0000ffffa108735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #27 0x0000ffffa108735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #28 0x0000ffffa108735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #29 0x0000ffffa108735c 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 #30 0x0000ffffa108a5dc clang::ento::ExprEngine::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 #31 0x0000ffffa108a7cc clang::ento::CoreEngine::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 0x0000ffffa108ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #33 0x0000ffffa108ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #34 0x0000ffffa108ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #35 0x0000ffffa108ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #36 0x0000ffffa108ab14 clang::ento::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 0x0000ffffa13552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #38 0x0000ffffa13552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #39 0x0000ffffa13552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #40 0x0000ffffa13552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #41 0x0000ffffa13552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #42 0x0000ffffa1356278 llvm::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 0x0000ffffa1356278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #44 0x0000ffffa1356278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #45 0x0000ffffa135a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffffa135a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffffa135a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #48 0x0000ffffa135a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #49 0x0000ffffa135a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #50 0x0000ffff9f7b1b88 __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 0x0000ffff9f7b1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #52 0x0000ffff9f7b1b88 void clang::finalize>, 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 0x0000ffff9f7b1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #54 0x0000ffffa0e75600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #55 0x0000ffffa0e2d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #56 0x0000ffffa0e2d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #57 0x0000ffffa0e2d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #58 0x0000ffffa0eb36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #59 0x0000aaaad10c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #60 0x0000aaaad10c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #61 0x0000aaaad10caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #62 0x0000aaaad10c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #63 0x0000ffff983b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #64 0x0000ffff983b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #65 0x0000aaaad10c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-const.cpp.script: line 2: 38671 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-const.c (1244 of 19719) ******************** TEST 'Clang :: Analysis/uninit-const.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.c -analyzer-checker=core -analyzer-checker=unix.Malloc -analyzer-checker=debug.ExprInspection -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.c -analyzer-checker=core -analyzer-checker=unix.Malloc -analyzer-checker=debug.ExprInspection -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true 1. parser at end of file 2. While analyzing stack: #0 Calling f_malloc_2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.c: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 0x0000ffff98f2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff98f29180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff98f2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa1ee67e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa11c76d0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa11c76d0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa11c76d0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa11c76d0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa11c76d0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa11c76d0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa11c76d0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa11c76d0 (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 0x0000ffffa0fd5990 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffa0fd5990 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffa0fd5990 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 0x0000ffffa0de95a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffa0de95a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffa0de95a8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffa0de95a8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffa0eaebf4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffa0eaebf4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffa0eaebf4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffa0eaebf4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffa0eb8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffa0eb8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffa0eb8484 clang::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 0x0000ffffa0e1c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa0e1c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa0e1c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffa0e1c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffffa130b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa130b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa130b004 clang::ento::ProgramState::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 0x0000ffffa0f3c500 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #34 0x0000ffffa0f3c500 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #35 0x0000ffffa0f3c500 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #36 0x0000ffffa0f3c500 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #37 0x0000ffffa0e06c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #38 0x0000ffffa0e2f570 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 0x0000ffffa0e2f570 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 0x0000ffffa0e34b68 llvm::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 0x0000ffffa0e34b68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #42 0x0000ffffa0e34b68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #43 0x0000ffffa0e34b68 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 0x0000ffffa0e3db34 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffa0e3db34 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffa0e3db34 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:74:0 #47 0x0000ffffa0e49f88 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #48 0x0000ffffa0e4a2b8 clang::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 0x0000ffffa0e4a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa0e4a7cc clang::ento::CoreEngine::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 0x0000ffffa0e4ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #52 0x0000ffffa0e4ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #53 0x0000ffffa0e4ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #54 0x0000ffffa0e4ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #55 0x0000ffffa0e4ab14 clang::ento::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 0x0000ffffa11152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #57 0x0000ffffa11152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #58 0x0000ffffa11152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #59 0x0000ffffa11152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #60 0x0000ffffa11152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #61 0x0000ffffa1116278 llvm::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 0x0000ffffa1116278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x0000ffffa1116278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #64 0x0000ffffa111a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x0000ffffa111a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x0000ffffa111a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x0000ffffa111a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x0000ffffa111a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x0000ffff9f571b88 __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 0x0000ffff9f571b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x0000ffff9f571b88 void clang::finalize>, 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 0x0000ffff9f571b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x0000ffffa0c35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #74 0x0000ffffa0bed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #75 0x0000ffffa0bed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #76 0x0000ffffa0bed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #77 0x0000ffffa0c736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #78 0x0000aaaac30f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x0000aaaac30f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x0000aaaac30faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x0000aaaac30f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x0000ffff9817098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #83 0x0000ffff98170a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #84 0x0000aaaac30f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-const.c.script: line 1: 38668 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.c -analyzer-checker=core -analyzer-checker=unix.Malloc -analyzer-checker=debug.ExprInspection -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-vals.m (1245 of 19719) ******************** TEST 'Clang :: Analysis/uninit-vals.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.m 1. parser at end of file 2. While analyzing stack: #0 Calling testCopySmallStructIntoArgument 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.m:342:17: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.m:342:17: Error evaluating statement #0 0x0000ffff8ad0ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8ad09180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8ad0b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff93cc07e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff92c47cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff92c47cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff92c47cb0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff92c47cb0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff92c47cb0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff92c47cb0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff92c47cb0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff92c47cb0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff92c47cb0 (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 0x0000ffff92c47d8c (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffff92c5b9f4 clang::ento::ProgramState::getSVal(clang::ento::Loc, clang::QualType) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:273:0 #15 0x0000ffff92c0f964 clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3670:25 #16 0x0000ffff92c1f470 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x0000ffff92c1f470 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x0000ffff92c1f470 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #19 0x0000ffff92c28c34 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #20 0x0000ffff92c28c34 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #21 0x0000ffff92c28c34 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #22 0x0000ffff92c2a2b8 clang::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 0x0000ffff92c2a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff92c2a7cc clang::ento::CoreEngine::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 0x0000ffff92c2ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff92c2ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff92c2ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff92c2ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff92c2ab14 clang::ento::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 0x0000ffff92ef52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff92ef52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff92ef52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff92ef52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff92ef52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff92ef6278 llvm::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 0x0000ffff92ef6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff92ef6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff92efa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff92efa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff92efa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff92efa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff92efa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff91351b88 __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 0x0000ffff91351b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff91351b88 void clang::finalize>, 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 0x0000ffff91351b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff92a15600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff929cd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff929cd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff929cd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff92a536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaacfaf59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaacfaf94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaacfafaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaacfaf1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff89f5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff89f50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaacfaf20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-vals.m.script: line 1: 38708 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.m -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-val-const-likeness.c (1246 of 19719) ******************** TEST 'Clang :: Analysis/uninit-val-const-likeness.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-val-const-likeness.c -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-val-const-likeness.c -verify 1. parser at end of file 2. While analyzing stack: #0 Calling create4 at line 69 #1 Calling work4 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-val-const-likeness.c:63:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-val-const-likeness.c:63:23: Error evaluating statement #0 0x0000ffffaa77ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffaa779180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffaa77b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb37307e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb2a30e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb2a30e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb2a30e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb2a30e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb2a30e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb2a30e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb2a30e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb2a30e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb26de018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb26de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb26de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb26de018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb26deef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb26deef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb26deef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb26deef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb26f1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb26f1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb26f1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb26f2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb26f2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb26f2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb26f24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb26f24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb26f24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb26feb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb26feb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb26feb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb2708484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb2708484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb2708484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb266c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb266c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb266c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb266c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb2b5b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb2b5b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb2b5b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb278c500 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb278c500 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb278c500 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffb278c500 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffb2656c48 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffb267f570 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffb267f570 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffb267f7ac llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffffb267f7ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffb267f7ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffb267f7ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffb268f470 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffb268f470 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffb268f470 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffb2698c34 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffb2698c34 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffb2698c34 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffb269a2b8 clang::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 0x0000ffffb269a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb269a7cc clang::ento::CoreEngine::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 0x0000ffffb269ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffb269ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffb269ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffb269ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffb269ab14 clang::ento::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 0x0000ffffb29652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffb29652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffb29652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffb29652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffb29652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffb2966278 llvm::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 0x0000ffffb2966278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffb2966278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffb296a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffb296a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffb296a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffb296a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffb296a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffb0dc1b88 __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 0x0000ffffb0dc1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffb0dc1b88 void clang::finalize>, 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 0x0000ffffb0dc1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffb2485600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffb243d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffb243d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffb243d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffb24c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaab40159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaab40194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaab401aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaab4011fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffa99c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffa99c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaab40120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-val-const-likeness.c.script: line 1: 38684 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-val-const-likeness.c -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-exhaustive-switch-bug.c (1247 of 19719) ******************** TEST 'Clang :: Analysis/uninit-exhaustive-switch-bug.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-exhaustive-switch-bug.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-exhaustive-switch-bug.c 1. parser at end of file #0 0x0000ffff7f04ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7f049180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7f04b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff880047e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff87300e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff87300e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff87300e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff87300e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff87300e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff87300e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff87300e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff87300e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff86fae018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff86fae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff86fae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff86fae018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff86fb0038 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff86fb0038 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff86fb0038 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff86fb0038 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffff86fc2188 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff86fc2188 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff86fc2188 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffff86fc26e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff86fc26e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff86fc26e4 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffff86f3d018 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff86f3d018 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff86f3d018 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffff86f3d018 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffff86f534e8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff86f534e8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff86f534e8 clang::ento::ProgramState::assumeInclusiveRange(clang::ento::DefinedOrUnknownSVal, llvm::APSInt const&, llvm::APSInt const&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:746:43 #33 0x0000ffff86f534e8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #34 0x0000ffff86f5aebc clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #35 0x0000ffff86f6ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff86f6ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff86f6ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff86f6ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff86f6ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffff872352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff872352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff872352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff872352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff872352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff87236278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffff87236278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff87236278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff8723a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff8723a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff8723a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff8723a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff8723a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff85691b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffff85691b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff85691b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffff85691b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff86d55600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff86d0d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff86d0d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff86d0d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff86d936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaae5c459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaae5c494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaae5c4aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaae5c41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff7e29098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff7e290a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaae5c420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-exhaustive-switch-bug.c.script: line 1: 38676 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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/unified-sources/source1.cpp (1249 of 19719) ******************** TEST 'Clang :: Analysis/unified-sources/source1.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/source1.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/source1.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testContainerMethodInHeaderFile(ContainerInHeaderFile) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/source1.cpp:14:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/source1.cpp:14:10: Error evaluating statement #0 0x0000ffffb14cad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb14c9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb14cb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffba4877e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb9780e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb9780e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb9780e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb9780e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb9780e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb9780e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb9780e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb9780e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb942e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb942e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb942e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb942e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb942eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb942eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb942eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb942eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb9442c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb9442c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb9442c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffb9442f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb9442f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb9442f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffb94424c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb94424c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb94424c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb944eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb944eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb944eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb9458484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb9458484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb9458484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb93bc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb93bc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb93bc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb93bc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb94dd468 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #40 0x0000ffffb94dd468 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #41 0x0000ffffb94dd468 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #42 0x0000ffffb94dd468 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #43 0x0000ffffb94dd468 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #44 0x0000ffffb94dd468 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:11 #45 0x0000ffffb94dd468 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #46 0x0000ffffb93a5308 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffb93a5308 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #48 0x0000ffffb93dd0b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffffb93dd0b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffffb93dd0b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #51 0x0000ffffb93dd0b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #52 0x0000ffffb93dd0b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #53 0x0000ffffb93dd0b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #54 0x0000ffffb93dd0b8 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:50:0 #55 0x0000ffffb93e9f88 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #56 0x0000ffffb93ea2b8 clang::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 0x0000ffffb93ea5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb93ea7cc clang::ento::CoreEngine::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 0x0000ffffb93eab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb93eab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb93eab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffb93eab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffb93eab14 clang::ento::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 0x0000ffffb96b52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffb96b52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffb96b52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffb96b52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffb96b52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffb96b6278 llvm::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 0x0000ffffb96b6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffb96b6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffb96ba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffb96ba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffb96ba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffb96ba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffb96ba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffb7b11b88 __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 0x0000ffffb7b11b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffb7b11b88 void clang::finalize>, 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 0x0000ffffb7b11b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffb91d5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffb918d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffb918d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffb918d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffb92136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaac73f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaac73f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaac73faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaac73f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffffb071098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffb0710a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaac73f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/unified-sources/Output/source1.cpp.script: line 1: 38662 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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/unified-sources/UnifiedSource-1.cpp (1250 of 19719) ******************** TEST 'Clang :: Analysis/unified-sources/UnifiedSource-1.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/UnifiedSource-1.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/UnifiedSource-1.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testContainerMethodInHeaderFile(ContainerInHeaderFile) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/source1.cpp:14:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/source1.cpp:14:10: Error evaluating statement #0 0x0000ffff9140ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff91409180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9140b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9a3c07e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff996c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff996c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff996c0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff996c0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff996c0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff996c0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff996c0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff996c0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9936e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9936e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9936e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9936e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9936eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9936eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9936eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9936eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff99382c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff99382c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff99382c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff99382f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff99382f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff99382f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff993824c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff993824c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff993824c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9938eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9938eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9938eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff99398484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff99398484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff99398484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff992fc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff992fc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff992fc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff992fc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9941d468 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #40 0x0000ffff9941d468 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #41 0x0000ffff9941d468 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #42 0x0000ffff9941d468 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #43 0x0000ffff9941d468 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #44 0x0000ffff9941d468 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:11 #45 0x0000ffff9941d468 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #46 0x0000ffff992e5308 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff992e5308 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #48 0x0000ffff9931d0b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffff9931d0b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffff9931d0b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #51 0x0000ffff9931d0b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #52 0x0000ffff9931d0b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #53 0x0000ffff9931d0b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #54 0x0000ffff9931d0b8 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:50:0 #55 0x0000ffff99329f88 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #56 0x0000ffff9932a2b8 clang::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 0x0000ffff9932a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9932a7cc clang::ento::CoreEngine::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 0x0000ffff9932ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9932ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9932ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff9932ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff9932ab14 clang::ento::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 0x0000ffff995f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff995f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff995f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff995f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff995f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff995f6278 llvm::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 0x0000ffff995f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffff995f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffff995fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffff995fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffff995fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffff995fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffff995fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffff97a51b88 __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 0x0000ffff97a51b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffff97a51b88 void clang::finalize>, 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 0x0000ffff97a51b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffff99115600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffff990cd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffff990cd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffff990cd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffff991536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaaea4259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaaea4294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaaea42aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaaea421fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff9065098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff90650a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaaea4220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/unified-sources/Output/UnifiedSource-1.cpp.script: line 1: 38656 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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/unions.cpp (1356 of 19719) ******************** TEST 'Clang :: Analysis/unions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,unix.Malloc,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unions.cpp -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,unix.Malloc,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unions.cpp -analyzer-config eagerly-assume=false -verify 1. parser at end of file #0 0x0000ffff94aead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff94ae9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff94aeb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9daab7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9c9f9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9c9f9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9c9f9f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9c9f9f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9c9f9f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9c9f9f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9c9f9f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9c9f9f54 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 0x0000ffff9c9fa878 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 0x0000ffff9ca0a954 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 0x0000ffff9ca0ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff9ca0ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff9ca0ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff9ca0ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff9ca0ab14 clang::ento::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 0x0000ffff9ccd52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff9ccd52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff9ccd52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff9ccd52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff9ccd52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff9ccd6278 llvm::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 0x0000ffff9ccd6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff9ccd6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff9ccda900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff9ccda900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff9ccda900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff9ccda900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff9ccda900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff9b131b88 __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 0x0000ffff9b131b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff9b131b88 void clang::finalize>, 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 0x0000ffff9b131b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff9c7f5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff9c7ad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff9c7ad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff9c7ad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff9c8336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaad58759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaad58794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaad587aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaad5871fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff93d3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff93d30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaad58720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unions.cpp.script: line 1: 38714 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,unix.Malloc,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unions.cpp -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/unix-api.cpp (1363 of 19719) ******************** TEST 'Clang :: Analysis/unix-api.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.API -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-api.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.API -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-api.cpp 1. parser at end of file #0 0x0000ffffadcead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffadce9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffadceb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb6cae7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb5bf9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb5bf9f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb5bf9f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb5bf9f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb5bf9f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb5bf9f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb5bf9f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb5bf9f54 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 0x0000ffffb5bfa878 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 0x0000ffffb5c0a954 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 0x0000ffffb5c0ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffb5c0ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffb5c0ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffb5c0ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffb5c0ab14 clang::ento::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 0x0000ffffb5ed52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb5ed52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb5ed52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffb5ed52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffb5ed52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffb5ed6278 llvm::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 0x0000ffffb5ed6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffb5ed6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffb5eda900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffb5eda900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffb5eda900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffb5eda900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffb5eda900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffb4331b88 __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 0x0000ffffb4331b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffb4331b88 void clang::finalize>, 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 0x0000ffffb4331b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffb59f5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffb59ad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffb59ad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffb59ad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffb5a336cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaac03b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaac03b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaac03baac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaac03b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffacf3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffacf30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaac03b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unix-api.cpp.script: line 1: 38717 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.API -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-api.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/unix-api.c (1364 of 19719) ******************** TEST 'Clang :: Analysis/unix-api.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.API -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-api.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.API -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-api.c 1. parser at end of file 2. While analyzing stack: #0 Calling open_6 #0 0x0000ffff9b5aad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9b5a9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9b5ab408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa456e7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa350a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa350a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa350a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa350a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffa350a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffa350a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffa34b53bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffa34b53bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffa34b53bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffa34e0e2c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #14 0x0000ffffa34e0e2c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #15 0x0000ffffa34ba3e8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #16 0x0000ffffa34ba3e8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #17 0x0000ffffa34ba3e8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #18 0x0000ffffa34ba3e8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #19 0x0000ffffa34ba878 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #20 0x0000ffffa34ca954 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #21 0x0000ffffa34cab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffffa34cab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffffa34cab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffffa34cab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffffa34cab14 clang::ento::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 0x0000ffffa37952fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa37952fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa37952fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffffa37952fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffffa37952fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffffa3796278 llvm::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 0x0000ffffa3796278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffffa3796278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffffa379a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffffa379a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffffa379a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffffa379a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffffa379a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffffa1bf1b88 __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 0x0000ffffa1bf1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffffa1bf1b88 void clang::finalize>, 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 0x0000ffffa1bf1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffffa32b5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffffa326d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffffa326d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffffa326d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffffa32f36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaab3db59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaab3db94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaab3dbaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaab3db1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffff9a7f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffff9a7f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaab3db20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unix-api.c.script: line 1: 38718 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.API -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-api.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/unix-fns.c (1366 of 19719) ******************** TEST 'Clang :: Analysis/unix-fns.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,unix.API,osx.API,optin.portability /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-fns.c -analyzer-output=plist -analyzer-config faux-bodies=true -fblocks -verify -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unix-fns.c.tmp.plist : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling anonymous code at line Invoking block defined at line 223 #1 Calling dispatch_sync at line 223 #2 Calling test_dispatch_sync 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-fns.c:225:8: Error evaluating statement #0 0x0000ffffa084ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa0849180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa084b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa98077e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa87aa104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa87aa104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa87aa104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa87aa104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffa87aa104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffa87aa104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffa87553bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffa87553bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffa87553bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffa876a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffa876a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffa876a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffa876a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffa876a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffa876a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffa876a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffa876a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffa876a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffa876a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa876a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffa876a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffa876ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffa876ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffa876ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffa876ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffa876ab14 clang::ento::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 0x0000ffffa8a352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa8a352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa8a352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffa8a352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffa8a352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffa8a36278 llvm::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 0x0000ffffa8a36278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffa8a36278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffa8a3a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffa8a3a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffa8a3a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffa8a3a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffa8a3a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffa6e91b88 __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 0x0000ffffa6e91b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffa6e91b88 void clang::finalize>, 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 0x0000ffffa6e91b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffa8555600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffa850d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffa850d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffa850d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffa85936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaacbfc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaacbfc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaacbfcaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaacbfc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff9fa9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff9fa90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaacbfc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unix-fns.c.script: line 5: 38720 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,unix.API,osx.API,optin.portability /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-fns.c -analyzer-output=plist -analyzer-config faux-bodies=true -fblocks -verify -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unix-fns.c.tmp.plist -- ******************** Testing: 0. FAIL: Clang :: Analysis/unions-region.m (1367 of 19719) ******************** TEST 'Clang :: Analysis/unions-region.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unions-region.m -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unions-region.m -verify 1. parser at end of file 2. While analyzing stack: #0 Calling testA 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unions-region.m:25:7: Error evaluating branch #0 0x0000ffffb61bad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb61b9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb61bb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbf1777e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbe470e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbe470e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbe470e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbe470e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbe470e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbe470e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbe470e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbe470e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbe11e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbe11e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbe11e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbe11e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbe11eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbe11eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbe11eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbe11eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbe132c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbe132c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbe132c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffbe132f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbe132f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbe132f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffbe1324c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbe1324c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbe1324c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbe13eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbe13eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbe13eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbe148484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbe148484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbe148484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbe0ac9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbe0ac9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbe0ac9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbe0ac9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbe59b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbe59b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbe59b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbe0c2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffbe0c2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffbe0c2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffbe0c2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffbe0c2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffbe0c2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffbe0c2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffbe0c2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffbe0c2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffbe0c2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffbe0c3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffbe0dab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffbe0dab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffbe0dab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffbe0dab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffbe0dab14 clang::ento::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 0x0000ffffbe3a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffbe3a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffbe3a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffbe3a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffbe3a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffbe3a6278 llvm::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 0x0000ffffbe3a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffbe3a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffbe3aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffbe3aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffbe3aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffbe3aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffbe3aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffbc801b88 __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 0x0000ffffbc801b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffbc801b88 void clang::finalize>, 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 0x0000ffffbc801b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffbdec5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffbde7d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffbde7d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffbde7d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffbdf036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaacc5959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaacc5994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaacc59aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaacc591fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb540098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb5400a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaacc5920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unions-region.m.script: line 1: 38711 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unions-region.m -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/valist-as-lazycompound.c (1368 of 19719) ******************** TEST 'Clang :: Analysis/valist-as-lazycompound.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple gcc-linaro-arm-linux-gnueabihf -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-as-lazycompound.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple gcc-linaro-arm-linux-gnueabihf -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-as-lazycompound.c 1. parser at end of file 2. While analyzing stack: #0 Calling _dprintf 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-as-lazycompound.c:19:9: Error evaluating statement #0 0x0000ffff7ae3ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7ae39180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7ae3b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff83dfe7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff82fc4a10 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff82fc4a10 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff82fc4a10 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff82fc4a10 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff82fc4a10 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x0000ffff82fc4a10 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 0x0000ffff82fc4a10 get<(anonymous namespace)::InitializedVALists> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff82fc4a10 (anonymous namespace)::ValistChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ValistChecker.cpp:206:72 #12 0x0000ffff82d2aae4 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 0x0000ffff82d452e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff82d452e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff82d452e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff82d452e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff82d452e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff82d452e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff82d452e8 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 0x0000ffff82d5a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff82d5a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff82d5a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff82d5a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff82d5a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff82d5a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff82d5a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff82d5a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff82d5a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffff82d5a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff82d5a7cc clang::ento::CoreEngine::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 0x0000ffff82d5ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff82d5ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff82d5ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff82d5ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff82d5ab14 clang::ento::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 0x0000ffff830252fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff830252fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff830252fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff830252fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff830252fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff83026278 llvm::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 0x0000ffff83026278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff83026278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff8302a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff8302a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff8302a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff8302a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff8302a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff81481b88 __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 0x0000ffff81481b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff81481b88 void clang::finalize>, 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 0x0000ffff81481b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff82b45600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff82afd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff82afd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff82afd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff82b836cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaab9cc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaab9cc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaab9ccaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaab9cc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff7a08098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff7a080a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaab9cc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/valist-as-lazycompound.c.script: line 1: 38730 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple gcc-linaro-arm-linux-gnueabihf -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-as-lazycompound.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/valist-uninitialized-no-undef.c (1369 of 19719) ******************** TEST 'Clang :: Analysis/valist-uninitialized-no-undef.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized-no-undef.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized-no-undef.c 1. parser at end of file 2. While analyzing stack: #0 Calling call_vsprintf_bad 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized-no-undef.c:45:3 : Error evaluating statement #0 0x0000ffffb62bad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb62b9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb62bb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbf2737e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbe444a10 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffbe444a10 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbe444a10 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbe444a10 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbe444a10 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x0000ffffbe444a10 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 0x0000ffffbe444a10 get<(anonymous namespace)::InitializedVALists> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffbe444a10 (anonymous namespace)::ValistChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ValistChecker.cpp:206:72 #12 0x0000ffffbe1aaae4 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 0x0000ffffbe1c52e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffbe1c52e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffbe1c52e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffbe1c52e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffbe1c52e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffbe1c52e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffbe1c52e8 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 0x0000ffffbe1da244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffbe1da244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffbe1da244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffbe1da244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffbe1da244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffbe1da244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffbe1da244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffbe1da244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffbe1da244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffbe1da5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbe1da7cc clang::ento::CoreEngine::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 0x0000ffffbe1dab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffbe1dab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffbe1dab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffbe1dab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffbe1dab14 clang::ento::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 0x0000ffffbe4a52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffbe4a52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffbe4a52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffbe4a52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffbe4a52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffbe4a6278 llvm::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 0x0000ffffbe4a6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffbe4a6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffbe4aa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffbe4aa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffbe4aa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffbe4aa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffbe4aa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffbc901b88 __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 0x0000ffffbc901b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffbc901b88 void clang::finalize>, 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 0x0000ffffbc901b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffbdfc5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffbdf7d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffbdf7d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffbdf7d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffbe0036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaabad559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaabad594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaabad5aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaabad51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffb550098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffb5500a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaabad520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/valist-uninitialized-no-undef.c.script: line 1: 38731 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized-no-undef.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/unreachable-code-path.c (1371 of 19719) ******************** TEST 'Clang :: Analysis/unreachable-code-path.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,deadcode.DeadStores,alpha.deadcode.UnreachableCode -verify -Wno-unused-value /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unreachable-code-path.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,deadcode.DeadStores,alpha.deadcode.UnreachableCode -verify -Wno-unused-value /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unreachable-code-path.c 1. parser at end of file #0 0x0000ffffb1dcad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb1dc9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb1dcb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbad817e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb9d07cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffb9d07cb0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb9d07cb0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb9d07cb0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb9d07cb0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb9d07cb0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb9d07cb0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffffb9d07cb0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffffb9d07cb0 (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 0x0000ffffb9d07d8c (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffffb9d4ef58 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::VisitSymbolData(clang::ento::SymbolData const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1259:54 #15 0x0000ffffba1682f4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #16 0x0000ffffba1682f4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #17 0x0000ffffba1682f4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #18 0x0000ffffb9d427b4 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #19 0x0000ffffb9d427b4 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #20 0x0000ffffb9d41d88 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #21 0x0000ffffb9d41e8c clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #22 0x0000ffffb9d41fcc clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:105:17 #23 0x0000ffffb9d426e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb9d426e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb9d426e4 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffffb9cbd018 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb9cbd018 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb9cbd018 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffffb9cbd018 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffffb9cd34e8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb9cd34e8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb9cd34e8 clang::ento::ProgramState::assumeInclusiveRange(clang::ento::DefinedOrUnknownSVal, llvm::APSInt const&, llvm::APSInt const&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:746:43 #33 0x0000ffffb9cd34e8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #34 0x0000ffffb9cdaebc clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #35 0x0000ffffb9ceab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffb9ceab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffb9ceab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffb9ceab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffb9ceab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffffb9fb52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffb9fb52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffb9fb52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffb9fb52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffb9fb52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffb9fb6278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffffb9fb6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffb9fb6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffb9fba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffb9fba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffb9fba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffb9fba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffb9fba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffb8411b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffffb8411b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffb8411b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffffb8411b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffb9ad5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffb9a8d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffb9a8d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffb9a8d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffb9b136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaae93e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaae93e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaae93eaac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaae93e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffffb101098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffffb1010a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaae93e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unreachable-code-path.c.script: line 1: 38724 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,deadcode.DeadStores,alpha.deadcode.UnreachableCode -verify -Wno-unused-value /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unreachable-code-path.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/valist-unterminated.c (1373 of 19719) ******************** TEST 'Clang :: Analysis/valist-unterminated.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple hexagon-unknown-linux -analyzer-checker=core,valist.Unterminated,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-unterminated.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,valist.Unterminated,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-unterminated.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple hexagon-unknown-linux -analyzer-checker=core,valist.Unterminated,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-unterminated.c 1. parser at end of file 2. While analyzing stack: #0 Calling castingOk 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-unterminated.c:153:3 : Error evaluating statement #0 0x0000ffff86d2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff86d29180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff86d2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8fce97e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8eeb4a10 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8eeb4a10 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8eeb4a10 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8eeb4a10 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8eeb4a10 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x0000ffff8eeb4a10 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 0x0000ffff8eeb4a10 get<(anonymous namespace)::InitializedVALists> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8eeb4a10 (anonymous namespace)::ValistChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ValistChecker.cpp:206:72 #12 0x0000ffff8ec1aae4 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 0x0000ffff8ec352e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff8ec352e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff8ec352e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff8ec352e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff8ec352e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff8ec352e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff8ec352e8 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 0x0000ffff8ec4a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff8ec4a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff8ec4a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff8ec4a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff8ec4a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff8ec4a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff8ec4a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff8ec4a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff8ec4a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffff8ec4a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8ec4a7cc clang::ento::CoreEngine::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 0x0000ffff8ec4ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff8ec4ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff8ec4ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff8ec4ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff8ec4ab14 clang::ento::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 0x0000ffff8ef152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff8ef152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff8ef152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff8ef152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff8ef152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff8ef16278 llvm::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 0x0000ffff8ef16278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff8ef16278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff8ef1a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff8ef1a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff8ef1a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff8ef1a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff8ef1a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff8d371b88 __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 0x0000ffff8d371b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff8d371b88 void clang::finalize>, 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 0x0000ffff8d371b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff8ea35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff8e9ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff8e9ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff8e9ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff8ea736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaab88c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaab88c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaab88caac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaab88c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff85f7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff85f70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaab88c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/valist-unterminated.c.script: line 2: 38738 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple hexagon-unknown-linux -analyzer-checker=core,valist.Unterminated,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-unterminated.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/vector.m (1374 of 19719) ******************** TEST 'Clang :: Analysis/vector.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vector.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vector.m 1. parser at end of file 2. While analyzing stack: #0 Calling myfunc 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vector.m:56:16: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vector.m:56:16: Error evaluating statement #0 0x0000ffffa7c6ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa7c69180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa7c6b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb0c2b7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffaff20e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaff20e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaff20e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaff20e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaff20e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaff20e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaff20e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaff20e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffafbce018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffafbce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffafbce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffafbce018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffafbceef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffafbceef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffafbceef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffafbceef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffafbe1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffafbe1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffafbe1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffafbe2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffafbe2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffafbe2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffafbe24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffafbe24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffafbe24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffafbeeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffafbeeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffafbeeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffafbf8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffafbf8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffafbf8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffafb5c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffafb5c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffafb5c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffafb5c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb004b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb004b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb004b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffafbbeafc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffafbbeafc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffafbbeafc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffafbbeafc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffafbbeafc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffafbbeafc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffffafb88de8 clang::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 0x0000ffffafb88de8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffffafb8a2b8 clang::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 0x0000ffffafb8a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffafb8a7cc clang::ento::CoreEngine::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 0x0000ffffafb8ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffafb8ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffafb8ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffafb8ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffafb8ab14 clang::ento::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 0x0000ffffafe552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffafe552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffafe552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffafe552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffafe552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffafe56278 llvm::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 0x0000ffffafe56278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffafe56278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffafe5a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffafe5a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffafe5a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffafe5a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffafe5a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffae2b1b88 __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 0x0000ffffae2b1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffae2b1b88 void clang::finalize>, 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 0x0000ffffae2b1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffaf975600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffaf92d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffaf92d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffaf92d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffaf9b36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab46359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab46394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab463aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab4631fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa6eb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa6eb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab46320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/vector.m.script: line 1: 38744 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vector.m -- ******************** Testing: 0. FAIL: Clang :: Analysis/use-after-move.cpp (1375 of 19719) ******************** TEST 'Clang :: Analysis/use-after-move.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=unexplored_first_queue -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,peaceful,non-aggressive : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=dfs -DDFS -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,peaceful,non-aggressive : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=unexplored_first_queue -analyzer-config cplusplus.Move:WarnOn=KnownsOnly -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,non-aggressive : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=dfs -DDFS -analyzer-config cplusplus.Move:WarnOn=KnownsOnly -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,non-aggressive : 'RUN: at line 23'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=unexplored_first_queue -analyzer-config cplusplus.Move:WarnOn=All -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,peaceful,aggressive : 'RUN: at line 29'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=dfs -DDFS -analyzer-config cplusplus.Move:WarnOn=All -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,peaceful,aggressive : 'RUN: at line 36'; not /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -analyzer-checker=core -analyzer-checker=cplusplus.Move -analyzer-config cplusplus.Move:WarnOn="a bunch of things" 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -check-prefix=CHECK-MOVE-INVALID-VALUE : 'RUN: at line 48'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=dfs -DDFS -analyzer-config cplusplus.Move:WarnOn=All -DAGGRESSIVE_DFS -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,peaceful,aggressive /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=unexplored_first_queue -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,peaceful,non-aggressive 1. parser at end of file #0 0x0000ffffb09bad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb09b9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb09bb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb99787e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb8c70e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb8c70e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb8c70e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb8c70e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb8c70e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb8c70e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb8c70e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb8c70e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb891e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb891e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb891e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb891e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb891eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb891eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb891eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb891eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb8931aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb8931aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb8931aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb8932ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb8932ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb8932ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb89324c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb89324c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb89324c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb893eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb893eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb893eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb8948484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb8948484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb8948484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb88ac9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb88ac9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb88ac9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb88ac9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb88acec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb88acec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb88acec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb8880400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb8880400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb8880400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb88bce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb88bce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb88bce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffb88dae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb88dae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb88dae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb8ba52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb8ba52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb8ba52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb8ba52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb8ba52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb8ba6278 llvm::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 0x0000ffffb8ba6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb8ba6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb8baa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb8baa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb8baa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb8baa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb8baa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb7001b88 __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 0x0000ffffb7001b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb7001b88 void clang::finalize>, 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 0x0000ffffb7001b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb86c5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb867d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb867d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb867d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb87036cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaaade659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaaade694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaaade6aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaaade61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffafc0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffafc00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaaade620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/use-after-move.cpp.script: line 8: 38733 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=unexplored_first_queue -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,peaceful,non-aggressive -- ******************** Testing: 0. FAIL: Clang :: Analysis/valist-uninitialized.c (1376 of 19719) ******************** TEST 'Clang :: Analysis/valist-uninitialized.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple hexagon-unknown-linux -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized.c -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-disable-checker=core.CallAndMessage -analyzer-output=text : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized.c -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-disable-checker=core.CallAndMessage -analyzer-output=text : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized.c -analyzer-checker=core,valist.Uninitialized -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple hexagon-unknown-linux -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized.c -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-disable-checker=core.CallAndMessage -analyzer-output=text 1. parser at end of file 2. While analyzing stack: #0 Calling va_copy_test 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized.c:187:3 : Error evaluating statement #0 0x0000ffff99d6ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff99d69180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff99d6b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa2d227e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa1ef4a10 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa1ef4a10 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa1ef4a10 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa1ef4a10 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa1ef4a10 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x0000ffffa1ef4a10 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 0x0000ffffa1ef4a10 get<(anonymous namespace)::InitializedVALists> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa1ef4a10 (anonymous namespace)::ValistChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ValistChecker.cpp:206:72 #12 0x0000ffffa1c5aae4 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 0x0000ffffa1c752e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffa1c752e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffa1c752e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffa1c752e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffa1c752e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffa1c752e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffa1c752e8 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 0x0000ffffa1c8a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffa1c8a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffa1c8a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffa1c8a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffa1c8a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffa1c8a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffa1c8a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffa1c8a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffa1c8a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffa1c8a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa1c8a7cc clang::ento::CoreEngine::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 0x0000ffffa1c8ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffa1c8ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffa1c8ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffa1c8ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffa1c8ab14 clang::ento::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 0x0000ffffa1f552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffa1f552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffa1f552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffa1f552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffa1f552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffa1f56278 llvm::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 0x0000ffffa1f56278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffa1f56278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffa1f5a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffa1f5a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffa1f5a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffa1f5a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffa1f5a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffa03b1b88 __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 0x0000ffffa03b1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffa03b1b88 void clang::finalize>, 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 0x0000ffffa03b1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffa1a75600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffa1a2d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffa1a2d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffa1a2d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffa1ab36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaaadb259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaaadb294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaaadb2aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaaadb21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff98fb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff98fb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaaadb220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/valist-uninitialized.c.script: line 3: 38739 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple hexagon-unknown-linux -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized.c -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-disable-checker=core.CallAndMessage -analyzer-output=text -- ******************** Testing: 0. FAIL: Clang :: Analysis/vfork.c (1377 of 19719) ******************** TEST 'Clang :: Analysis/vfork.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,security.insecureAPI.vfork,unix.Vfork -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vfork.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,security.insecureAPI.vfork,unix.Vfork -verify -x c++ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vfork.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,security.insecureAPI.vfork,unix.Vfork -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vfork.c 1. parser at end of file 2. While analyzing stack: #0 Calling f5 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vfork.c:131:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vfork.c:131:7: Error evaluating statement #0 0x0000ffff8b61ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8b619180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8b61b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff945d07e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff938d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff938d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff938d0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff938d0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff938d0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff938d0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff938d0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff938d0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9357e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9357e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9357e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9357e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9357eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9357eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9357eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9357eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff93592c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff93592c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff93592c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff93592f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff93592f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff93592f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff935924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff935924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff935924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9359eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9359eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9359eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff935a8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff935a8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff935a8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9350c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9350c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9350c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9350c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff939fb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff939fb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff939fb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff937a3834 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #43 0x0000ffff937a3834 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #44 0x0000ffff937a3834 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #45 0x0000ffff937a3834 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #46 0x0000ffff937a3834 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #47 0x0000ffff937a3834 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VforkChecker.cpp:178:11 #48 0x0000ffff937a3834 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::VforkChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:46 #49 0x0000ffff934f67b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x0000ffff934f67b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x0000ffff934f67b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #52 0x0000ffff934f67b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #53 0x0000ffff934f67b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #54 0x0000ffff93556c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #55 0x0000ffff93556c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #56 0x0000ffff93556c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #57 0x0000ffff93556c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #58 0x0000ffff93556c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #59 0x0000ffff93556c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #60 0x0000ffff935574f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #61 0x0000ffff93539250 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #62 0x0000ffff93539250 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #63 0x0000ffff9353a2b8 clang::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 0x0000ffff9353a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9353a7cc clang::ento::CoreEngine::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 0x0000ffff9353ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9353ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9353ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #69 0x0000ffff9353ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #70 0x0000ffff9353ab14 clang::ento::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 0x0000ffff938052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #72 0x0000ffff938052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #73 0x0000ffff938052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #74 0x0000ffff938052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #75 0x0000ffff938052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #76 0x0000ffff93806278 llvm::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 0x0000ffff93806278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #78 0x0000ffff93806278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #79 0x0000ffff9380a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #80 0x0000ffff9380a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #81 0x0000ffff9380a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #82 0x0000ffff9380a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #83 0x0000ffff9380a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #84 0x0000ffff91c61b88 __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 0x0000ffff91c61b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #86 0x0000ffff91c61b88 void clang::finalize>, 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 0x0000ffff91c61b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #88 0x0000ffff93325600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #89 0x0000ffff932dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #90 0x0000ffff932dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #91 0x0000ffff932dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #92 0x0000ffff933636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #93 0x0000aaaab3d459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #94 0x0000aaaab3d494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #95 0x0000aaaab3d4aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #96 0x0000aaaab3d41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #97 0x0000ffff8a86098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #98 0x0000ffff8a860a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #99 0x0000aaaab3d420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/vfork.c.script: line 2: 38745 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,security.insecureAPI.vfork,unix.Vfork -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vfork.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/virtualcall-plist.cpp (1379 of 19719) ******************** TEST 'Clang :: Analysis/virtualcall-plist.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.tmp.plist -w -verify=pure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-plist.cpp : 'RUN: at line 3'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.tmp.plist | /usr/bin/FileCheck --check-prefixes=PURE /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-plist.cpp : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.tmp.plist -w -verify=impure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-plist.cpp : 'RUN: at line 6'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.tmp.plist | /usr/bin/FileCheck --check-prefixes=IMPURE /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-plist.cpp : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus,optin.cplusplus -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.tmp.plist -w -verify=pure,impure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-plist.cpp : 'RUN: at line 9'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.tmp.plist | /usr/bin/FileCheck --check-prefixes=PURE,IMPURE /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-plist.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.tmp.plist -w -verify=pure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-plist.cpp 1. parser at end of file #0 0x0000ffff8d42ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8d429180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8d42b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff963e97e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff956e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff956e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff956e0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff956e0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff956e0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff956e0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff956e0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff956e0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9538e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9538e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9538e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9538e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9538eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9538eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9538eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9538eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff953a1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff953a1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff953a1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff953a2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff953a2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff953a2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff953a24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff953a24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff953a24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff953aeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff953aeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff953aeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff953b8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff953b8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff953b8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9531c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9531c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9531c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9531c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9531cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9531cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9531cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff952f0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff952f0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff952f0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9532ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9532ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9532ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff9534ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9534ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9534ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff956152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff956152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff956152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff956152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff956152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff95616278 llvm::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 0x0000ffff95616278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff95616278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9561a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9561a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9561a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9561a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9561a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff93a71b88 __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 0x0000ffff93a71b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff93a71b88 void clang::finalize>, 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 0x0000ffff93a71b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff95135600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff950ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff950ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff950ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff951736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac92159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac92194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac921aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac9211fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8c67098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff8c670a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac92120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.script: line 6: 38763 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.tmp.plist -w -verify=pure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-plist.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/variadic-method-types.m (1380 of 19719) ******************** TEST 'Clang :: Analysis/variadic-method-types.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.VariadicMethodTypes -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/variadic-method-types.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.VariadicMethodTypes -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/variadic-method-types.m 1. parser at end of file 2. While analyzing stack: #0 Calling test_rdar9273215 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/variadic-method-types.m:98:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/variadic-method-types.m:98:10: Error evaluating statement #0 0x0000ffff9c20ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9c209180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9c20b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa51c47e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa44c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa44c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa44c0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa44c0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa44c0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa44c0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa44c0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa44c0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa416e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa416e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa416e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa416e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa416eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa416eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa416eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa416eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa4181aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa4181aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa4181aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa4182ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa4182ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa4182ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa41824c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa41824c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa41824c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa418eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa418eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa418eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa4198484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa4198484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa4198484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa40fc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa40fc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa40fc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa40fc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa45eb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa45eb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa45eb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa415eafc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffa415eafc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffa415eafc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffa415eafc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffa415eafc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffa415eafc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffffa4128de8 clang::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 0x0000ffffa4128de8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffffa412a2b8 clang::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 0x0000ffffa412a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa412a7cc clang::ento::CoreEngine::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 0x0000ffffa412ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa412ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa412ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa412ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa412ab14 clang::ento::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 0x0000ffffa43f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa43f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa43f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa43f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa43f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa43f6278 llvm::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 0x0000ffffa43f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa43f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa43fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa43fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa43fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa43fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa43fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa2851b88 __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 0x0000ffffa2851b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa2851b88 void clang::finalize>, 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 0x0000ffffa2851b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa3f15600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa3ecd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa3ecd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa3ecd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa3f536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad01959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad01994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad019aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad0191fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9b45098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9b450a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad01920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/variadic-method-types.m.script: line 1: 38742 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.VariadicMethodTypes -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/variadic-method-types.m -- ******************** Testing: 0. FAIL: Clang :: Analysis/virtualcall-fixits.cpp (1397 of 19719) ******************** TEST 'Clang :: Analysis/virtualcall-fixits.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.VirtualCall -analyzer-config optin.cplusplus.VirtualCall:ShowFixIts=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-fixits.cpp 2>&1 | /usr/bin/FileCheck -check-prefix=TEXT /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-fixits.cpp : 'RUN: at line 5'; "/usr/bin/python3.11" /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/check-analyzer-fixit.py /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-fixits.cpp /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-fixits.cpp.tmp -analyzer-checker=core,optin.cplusplus.VirtualCall -analyzer-config optin.cplusplus.VirtualCall:ShowFixIts=true -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-fixits.cpp.tmp.plist : 'RUN: at line 9'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-fixits.cpp.tmp.plist | /usr/bin/FileCheck -check-prefix=PLIST /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-fixits.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-fixits.cpp:23:10: error: TEXT: expected string not found in input // TEXT: warning: Call to virtual method 'S::foo' during construction ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :1:130: note: possible intended match here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-fixits.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:23'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found check:23'1 ? possible intended match 2: Stack dump: check:23'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.VirtualCall -analyzer-config optin.cplusplus.VirtualCall:ShowFixIts=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-fixits.cpp check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: 1. parser at end of file check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: #0 0x0000ffff971dad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #1 0x0000ffff971d9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0.. FAIL: Clang :: Analysis/zero-size-non-pod-array.cpp (1779 of 19719) ******************** TEST 'Clang :: Analysis/zero-size-non-pod-array.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/zero-size-non-pod-array.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/zero-size-non-pod-array.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/zero-size-non-pod-array.cpp 1. parser at end of file #0 0x0000ffff95a4ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff95a49180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff95a4b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9ea037e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9d959f54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9d959f54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9d959f54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9d959f54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9d959f54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9d959f54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9d959f54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9d959f54 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 0x0000ffff9d95a878 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 0x0000ffff9d96a954 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 0x0000ffff9d96ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff9d96ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff9d96ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff9d96ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff9d96ab14 clang::ento::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 0x0000ffff9dc352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff9dc352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff9dc352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff9dc352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff9dc352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff9dc36278 llvm::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 0x0000ffff9dc36278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff9dc36278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff9dc3a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff9dc3a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff9dc3a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff9dc3a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff9dc3a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff9c091b88 __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 0x0000ffff9c091b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff9c091b88 void clang::finalize>, 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 0x0000ffff9c091b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff9d755600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff9d70d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff9d70d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff9d70d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff9d7936cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaab1a459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaab1a494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaab1a4aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaab1a41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff94c9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff94c90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaab1a420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/zero-size-non-pod-array.cpp.script: line 2: 38793 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/zero-size-non-pod-array.cpp -- ******************** Testing: 0.. FAIL: Clang :: Analysis/zero-operands.c (1785 of 19719) ******************** TEST 'Clang :: Analysis/zero-operands.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/zero-operands.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/zero-operands.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_0_divisible 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/zero-operands.c:44:3: Error evaluating statement #0 0x0000ffff9680ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff96809180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff9680b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9f7cc7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9e76a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9e76a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9e76a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9e76a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff9e76a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff9e76a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff9e7153bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff9e7153bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff9e7153bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff9e72a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff9e72a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff9e72a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff9e72a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff9e72a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff9e72a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff9e72a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff9e72a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff9e72a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff9e72a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9e72a7cc clang::ento::CoreEngine::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 0x0000ffff9e72ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff9e72ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff9e72ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff9e72ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff9e72ab14 clang::ento::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 0x0000ffff9e9f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff9e9f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff9e9f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff9e9f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff9e9f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff9e9f6278 llvm::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 0x0000ffff9e9f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff9e9f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff9e9fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff9e9fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff9e9fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff9e9fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff9e9fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff9ce51b88 __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 0x0000ffff9ce51b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff9ce51b88 void clang::finalize>, 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 0x0000ffff9ce51b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff9e515600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff9e4cd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff9e4cd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff9e4cd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff9e5536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaac35f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaac35f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaac35faac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaac35f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff95a5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff95a50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaac35f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/zero-operands.c.script: line 1: 38795 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/zero-operands.c -- ******************** Testing: 0.. FAIL: Clang :: Analysis/virtualcall.cpp (1794 of 19719) ******************** TEST 'Clang :: Analysis/virtualcall.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.VirtualCall -analyzer-checker=debug.ExprInspection -std=c++11 -verify=impure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.PureVirtualCall -analyzer-checker=debug.ExprInspection -std=c++11 -verify=pure -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall.cpp : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.VirtualCall -analyzer-config optin.cplusplus.VirtualCall:PureOnly=true -analyzer-checker=debug.ExprInspection -std=c++11 -verify=none /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall.cpp : 'RUN: at line 15'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.PureVirtualCall -analyzer-checker=optin.cplusplus.VirtualCall -analyzer-checker=debug.ExprInspection -std=c++11 -verify=pure,impure -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall.cpp : 'RUN: at line 20'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.PureVirtualCall -analyzer-checker=optin.cplusplus.VirtualCall -analyzer-config optin.cplusplus.VirtualCall:PureOnly=true -analyzer-checker=debug.ExprInspection -std=c++11 -verify=pure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.VirtualCall -analyzer-checker=debug.ExprInspection -std=c++11 -verify=impure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall.cpp 1. parser at end of file #0 0x0000ffffa4bcad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa4bc9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa4bcb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffadb8c7e0 (linux-vdso.so.1+0x7e0) #4 0x0000fffface80e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000fffface80e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000fffface80e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000fffface80e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000fffface80e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000fffface80e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000fffface80e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000fffface80e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffacb2e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffacb2e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffacb2e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffacb2e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffacb2eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffacb2eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffacb2eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffacb2eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffacb41aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffacb41aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffacb41aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffacb42ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffacb42ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffacb42ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffacb424c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffacb424c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffacb424c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffacb4eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffacb4eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffacb4eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffacb58484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffacb58484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffacb58484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffacabc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffacabc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffacabc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffacabc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffacabcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffacabcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffacabcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffaca90400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffaca90400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffaca90400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffacacce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffacacce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffacacce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffacaeae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffacaeae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffacaeae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffacdb52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffacdb52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffacdb52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffacdb52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffacdb52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffacdb6278 llvm::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 0x0000ffffacdb6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffacdb6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffacdba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffacdba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffacdba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffacdba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffacdba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffab211b88 __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 0x0000ffffab211b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffab211b88 void clang::finalize>, 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 0x0000ffffab211b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffac8d5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffac88d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffac88d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffac88d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffac9136cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad10459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad10494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad104aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad1041fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa3e1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa3e10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad10420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall.cpp.script: line 5: 38766 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.VirtualCall -analyzer-checker=debug.ExprInspection -std=c++11 -verify=impure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall.cpp -- ******************** Testing: 0.. FAIL: Clang :: Analysis/vla-overflow.c (1795 of 19719) ******************** TEST 'Clang :: Analysis/vla-overflow.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla-overflow.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla-overflow.c 1. parser at end of file 2. While analyzing stack: #0 Calling check_VLA_overflow_sizeof 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla-overflow.c:7:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla-overflow.c:7:7: Error evaluating statement #0 0x0000ffff89f8ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff89f89180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff89f8b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff92f417e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff92240e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff92240e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff92240e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff92240e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff92240e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff92240e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff92240e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff92240e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff91eee018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff91eee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff91eee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff91eee018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff91eeeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff91eeeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff91eeeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff91eeeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff91f01aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff91f01aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff91f01aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff91f02ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff91f02ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff91f02ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff91f024c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff91f024c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff91f024c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff91f0eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff91f0eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff91f0eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff91f18484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff91f18484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff91f18484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff91e7c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff91e7c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff91e7c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff91e7c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9236b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9236b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9236b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff91e8fd0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff91e8fd0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff91e8fd0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff91eaa05c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff91eaa05c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff91eaa05c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff91eaa05c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff91eaa05c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff91eaa2b8 clang::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 0x0000ffff91eaa5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff91eaa7cc clang::ento::CoreEngine::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 0x0000ffff91eaab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff91eaab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff91eaab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff91eaab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff91eaab14 clang::ento::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 0x0000ffff921752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff921752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff921752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff921752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff921752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff92176278 llvm::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 0x0000ffff92176278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff92176278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9217a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9217a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9217a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9217a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9217a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff905d1b88 __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 0x0000ffff905d1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff905d1b88 void clang::finalize>, 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 0x0000ffff905d1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff91c95600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff91c4d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff91c4d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff91c4d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff91cd36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaacdb359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaacdb394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaacdb3aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaacdb31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff891d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff891d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaacdb320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/vla-overflow.c.script: line 1: 38768 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla-overflow.c -- ******************** Testing: 0.. FAIL: Clang :: Analysis/weak-functions.c (1797 of 19719) ******************** TEST 'Clang :: Analysis/weak-functions.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection,unix.Malloc,unix.cstring,alpha.unix.cstring,unix.API,osx.API,osx.cocoa.RetainCount -Wno-null-dereference -Wno-tautological-compare -fblocks -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/weak-functions.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection,unix.Malloc,unix.cstring,alpha.unix.cstring,unix.API,osx.API,osx.cocoa.RetainCount -Wno-null-dereference -Wno-tautological-compare -fblocks -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/weak-functions.c 1. parser at end of file 2. While analyzing stack: #0 Calling CFGetRuleViolation 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/weak-functions.c:118:22: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/weak-functions.c:118:22: Error evaluating statement #0 0x0000ffffa212ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa2129180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffa212b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffab0ed7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffaa3e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaa3e0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaa3e0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaa3e0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaa3e0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaa3e0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaa3e0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaa3e0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaa08e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaa08e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaa08e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaa08e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaa08eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaa08eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaa08eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaa08eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaa0a2c4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaa0a2c4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaa0a2c4c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffaa0a2f20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaa0a2f20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaa0a2f20 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffaa0a24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaa0a24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaa0a24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaa0aeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaa0aeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaa0aeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaa0b8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaa0b8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaa0b8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaa01c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaa01c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaa01c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaa01c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffaa50b004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaa50b004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaa50b004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffaa0f1bf8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffaa0f1bf8 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffaa0f1bf8 checkFunctionPointerCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:390:79 #45 0x0000ffffaa0f1bf8 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:546:37 #46 0x0000ffffaa0f1bf8 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::CallAndMessageChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:45 #47 0x0000ffffaa0067b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x0000ffffaa0067b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x0000ffffaa0067b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #50 0x0000ffffaa0067b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #51 0x0000ffffaa0067b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #52 0x0000ffffaa066b50 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x0000ffffaa066b50 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x0000ffffaa066b50 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #55 0x0000ffffaa066b50 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #56 0x0000ffffaa066b50 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #57 0x0000ffffaa066b50 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #58 0x0000ffffaa066b50 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:683:44 #59 0x0000ffffaa0674f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #60 0x0000ffffaa049250 clang::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 0x0000ffffaa049250 clang::ento::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 0x0000ffffaa04a2b8 clang::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 0x0000ffffaa04a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffaa04a7cc clang::ento::CoreEngine::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 0x0000ffffaa04ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffffaa04ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffffaa04ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffffaa04ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffffaa04ab14 clang::ento::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 0x0000ffffaa3152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffffaa3152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffffaa3152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffffaa3152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffffaa3152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffffaa316278 llvm::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 0x0000ffffaa316278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffffaa316278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffffaa31a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffffaa31a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffffaa31a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffffaa31a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffffaa31a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffffa8771b88 __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 0x0000ffffa8771b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffffa8771b88 void clang::finalize>, 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 0x0000ffffa8771b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffffa9e35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffffa9ded524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffffa9ded524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffffa9ded524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffffa9e736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaac83059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaac83094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaac830aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaac8301fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffffa137098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffffa1370a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaac83020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/weak-functions.c.script: line 1: 38775 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection,unix.Malloc,unix.cstring,alpha.unix.cstring,unix.API,osx.API,osx.cocoa.RetainCount -Wno-null-dereference -Wno-tautological-compare -fblocks -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/weak-functions.c -- ******************** Testing: 0.. FAIL: Clang :: Analysis/vla.c (1799 of 19719) ******************** TEST 'Clang :: Analysis/vla.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla.c 1. parser at end of file 2. While analyzing stack: #0 Calling b 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla.c:149:5: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla.c:149:5: Error evaluating statement #0 0x0000ffffb170ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb1709180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb170b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffba6c37e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb99c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb99c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb99c0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb99c0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb99c0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb99c0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb99c0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb99c0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb966e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb966e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb966e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb966e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb966eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb966eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb966eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb966eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb9681aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb9681aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb9681aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb9682ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb9682ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb9682ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb96824c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb96824c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb96824c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb968eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb968eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb968eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb9698484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb9698484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb9698484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb95fc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb95fc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb95fc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb95fc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb9aeb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb9aeb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb9aeb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb99a340c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffb99a340c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffb99a340c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffb99a340c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffb99a340c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffb99a340c checkVLAIndexSize /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:175:0 #48 0x0000ffffb99a340c (anonymous namespace)::VLASizeChecker::checkVLA(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::VariableArrayType const*, clang::ento::SVal&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:83:0 #49 0x0000ffffb9893af8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #50 0x0000ffffb9893af8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #51 0x0000ffffb9893af8 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:297:44 #52 0x0000ffffb9893af8 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::VLASizeChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #53 0x0000ffffb95e5308 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #54 0x0000ffffb95e5308 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #55 0x0000ffffb961b1cc llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #56 0x0000ffffb961b1cc llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #57 0x0000ffffb961b1cc llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #58 0x0000ffffb961b1cc llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #59 0x0000ffffb961b1cc llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #60 0x0000ffffb961b1cc clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #61 0x0000ffffb961b1cc 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 0x0000ffffb9629bcc clang::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 0x0000ffffb9629bcc clang::ento::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 0x0000ffffb962a2b8 clang::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 0x0000ffffb962a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb962a7cc clang::ento::CoreEngine::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 0x0000ffffb962ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffb962ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffb962ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #70 0x0000ffffb962ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #71 0x0000ffffb962ab14 clang::ento::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 0x0000ffffb98f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #73 0x0000ffffb98f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #74 0x0000ffffb98f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #75 0x0000ffffb98f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #76 0x0000ffffb98f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #77 0x0000ffffb98f6278 llvm::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 0x0000ffffb98f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #79 0x0000ffffb98f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #80 0x0000ffffb98fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #81 0x0000ffffb98fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #82 0x0000ffffb98fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #83 0x0000ffffb98fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #84 0x0000ffffb98fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #85 0x0000ffffb7d51b88 __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 0x0000ffffb7d51b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #87 0x0000ffffb7d51b88 void clang::finalize>, 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 0x0000ffffb7d51b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #89 0x0000ffffb9415600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #90 0x0000ffffb93cd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #91 0x0000ffffb93cd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #92 0x0000ffffb93cd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #93 0x0000ffffb94536cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #94 0x0000aaaab32859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #95 0x0000aaaab32894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #96 0x0000aaaab328aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #97 0x0000aaaab3281fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #98 0x0000ffffb095098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #99 0x0000ffffb0950a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #100 0x0000aaaab32820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/vla.c.script: line 1: 38770 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla.c -- ******************** Testing: 0.. FAIL: Clang :: Analysis/wstring.c (1804 of 19719) ******************** TEST 'Clang :: Analysis/wstring.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/wstring.c -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/wstring.c -DUSE_BUILTINS -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/wstring.c -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false 1. parser at end of file 2. While analyzing stack: #0 Calling wmemcpy_wcslen 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/wstring.c:635:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/wstring.c:635:3: Error evaluating statement #0 0x0000ffff7ff2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7ff29180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff7ff2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff88eeb7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff881c931c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff881c931c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff881c931c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff881c931c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff881c931c llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff881c931c 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 0x0000ffff881c931c get<(anonymous namespace)::CStringLength> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff881c931c (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 0x0000ffff87ede868 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff87ede868 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff87ede868 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 0x0000ffff87de92f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff87de92f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff87de92f4 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff87de92f4 clang::ento::CheckerManager::runCheckersForRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:608:0 #19 0x0000ffff87e79f7c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x0000ffff87e79f7c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x0000ffff87e79f7c clang::ento::ExprEngine::processRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:681:0 #22 0x0000ffff87e79f7c clang::ento::ExprEngine::processRegionChange(llvm::IntrusiveRefCntPtr, clang::ento::MemRegion const*, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:410:0 #23 0x0000ffff87e79f7c clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:123:0 #24 0x0000ffff87e34190 llvm::IntrusiveRefCntPtr::get() const /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:200:27 #25 0x0000ffff87e34190 bool llvm::operator==(llvm::IntrusiveRefCntPtr const&, llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:233:26 #26 0x0000ffff87e34190 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 0x0000ffff87e345e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffff87e345e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffff87e345e4 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 0x0000ffff87e34860 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #31 0x0000ffff87e34860 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #32 0x0000ffff87e34860 clang::ento::ExprEngine::evalBind(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::SVal, clang::ento::SVal, bool, clang::ProgramPoint const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3590:65 #33 0x0000ffff87e3b3d4 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #34 0x0000ffff87e3b3d4 clang::ento::ExprEngine::VisitDeclStmt(clang::DeclStmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:627:0 #35 0x0000ffff87e49bcc clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #36 0x0000ffff87e49bcc clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2239:0 #37 0x0000ffff87e4a2b8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #38 0x0000ffff87e4a5a0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #39 0x0000ffff87e4a7cc clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #40 0x0000ffff87e4ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #41 0x0000ffff87e4ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #42 0x0000ffff87e4ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #43 0x0000ffff87e4ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #44 0x0000ffff87e4ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #45 0x0000ffff881152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #46 0x0000ffff881152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x0000ffff881152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #48 0x0000ffff881152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #49 0x0000ffff881152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #50 0x0000ffff88116278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #51 0x0000ffff88116278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #52 0x0000ffff88116278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #53 0x0000ffff8811a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8811a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8811a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #56 0x0000ffff8811a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #57 0x0000ffff8811a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #58 0x0000ffff86571b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #59 0x0000ffff86571b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #60 0x0000ffff86571b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #61 0x0000ffff86571b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #62 0x0000ffff87c35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #63 0x0000ffff87bed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #64 0x0000ffff87bed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #65 0x0000ffff87bed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #66 0x0000ffff87c736cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #67 0x0000aaaac20b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #68 0x0000aaaac20b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #69 0x0000aaaac20baac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #70 0x0000aaaac20b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #71 0x0000ffff7f17098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #72 0x0000ffff7f170a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #73 0x0000aaaac20b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/wstring.c.script: line 2: 38779 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/wstring.c -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -- ******************** Testing: 0.. FAIL: Clang :: Analysis/z3/apsint.c (1806 of 19719) ******************** TEST 'Clang :: Analysis/z3/apsint.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux-gnu -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/z3/apsint.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux-gnu -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/z3/apsint.c 1. parser at end of file 2. While analyzing stack: #0 Calling c 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/z3/apsint.c:14:9: Error evaluating branch #0 0x0000ffff8d31ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8d319180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8d31b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff962d57e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff955d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff955d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff955d0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff955d0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff955d0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff955d0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff955d0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff955d0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9527e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9527e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9527e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9527e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9527ec90 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9527ec90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9527ec90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9527ec90 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff95291aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff95291aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff95291aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff95292ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff95292ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff95292ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff952924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff952924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff952924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9529eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9529eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9529eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff952a8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff952a8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff952a8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9520c9a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9520c9a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9520c9a8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9520c9a8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff956fb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff956fb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff956fb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff95222bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff95222bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff95222bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff95222bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff95222bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff95222bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff95222bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff95222bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff95222bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff95222bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff95223130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff9523ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9523ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9523ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9523ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9523ab14 clang::ento::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 0x0000ffff955052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff955052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff955052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff955052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff955052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff95506278 llvm::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 0x0000ffff95506278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff95506278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9550a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9550a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9550a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9550a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9550a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff93961b88 __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 0x0000ffff93961b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff93961b88 void clang::finalize>, 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 0x0000ffff93961b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff95025600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff94fdd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff94fdd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff94fdd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff950636cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac05d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac05d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac05daac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac05d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8c56098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8c560a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac05d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/z3/Output/apsint.c.script: line 1: 38783 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux-gnu -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/z3/apsint.c -- ******************** Testing: 0.. 10.. 20.. 30.. 40 FAIL: Clang :: Coverage/html-diagnostics.c (9062 of 19719) ******************** TEST 'Clang :: Coverage/html-diagnostics.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-output=html -analyzer-checker=core -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Coverage/html-diagnostics.c : 'RUN: at line 3'; find /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp -name "*.html" -exec cat "{}" ";" | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Coverage/html-diagnostics.c : 'RUN: at line 5'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-output=html-single-file -analyzer-checker=core -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Coverage/html-diagnostics.c : 'RUN: at line 7'; find /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp -name "*.html" -exec cat "{}" ";" | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Coverage/html-diagnostics.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-output=html -analyzer-checker=core -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Coverage/html-diagnostics.c 1. parser at end of file 2. While analyzing stack: #0 Calling f0 3. /builddir/build/BUILD/clang-17.0.6.src/test/Coverage/html-diagnostics.c:28:8: Error evaluating statement #0 0x0000ffff8147ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff81479180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8147b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8a43d7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff893da104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff893da104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff893da104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff893da104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff893da104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff893da104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff893853bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff893853bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff893853bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8939a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff8939a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff8939a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff8939a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff8939a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff8939a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff8939a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff8939a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff8939a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff8939a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8939a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff8939a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff8939ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff8939ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff8939ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff8939ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff8939ab14 clang::ento::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 0x0000ffff896652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff896652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff896652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff896652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff896652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff89666278 llvm::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 0x0000ffff89666278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff89666278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff8966a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff8966a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff8966a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff8966a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff8966a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff87ac1b88 __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 0x0000ffff87ac1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff87ac1b88 void clang::finalize>, 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 0x0000ffff87ac1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff89185600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff8913d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff8913d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff8913d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff891c36cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaae9b559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaae9b594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaae9b5aac4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaae9b51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff806c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff806c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaae9b520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.script: line 6: 78912 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-output=html -analyzer-checker=core -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Coverage/html-diagnostics.c -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. FAIL: Clang :: Tooling/clang-check-analyze-save-temps.cpp (17832 of 19719) ******************** TEST 'Clang :: Tooling/clang-check-analyze-save-temps.cpp' FAILED ******************** Script: -- : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-check -analyze /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyze-save-temps.cpp -- -save-temps -c -Xclang -verify : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-check -analyze /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyze-save-temps.cpp -- -fsyntax-only -c -fsyntax-only -Xclang -verify 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyze-save-temps.cpp --allow-empty -- Exit Code: 139 Command Output (stderr): -- #0 0x0000ffff902ead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff902e9148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffff902eb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff992af7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff985a0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff985a0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff985a0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff985a0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff985a0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff985a0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff985a0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff985a0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9824e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9824e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9824e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9824e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9824eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9824eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9824eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9824eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff98261aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff98261aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff98261aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff98262ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff98262ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff98262ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff982624c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff982624c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff982624c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9826eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9826eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9826eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff98278484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff98278484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff98278484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff981dc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff981dc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff981dc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff981dc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff986cb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff986cb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff986cb004 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff981f2bc8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff981f2bc8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff981f2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff981f2bc8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff981f2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff981f2bc8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff981f2bc8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff981f2bc8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff981f2bc8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff981f2bc8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff981f3130 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff9820ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9820ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9820ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9820ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9820ab14 clang::ento::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 0x0000ffff984d52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff984d52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff984d52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff984d52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff984d52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff984d6278 llvm::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 0x0000ffff984d6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff984d6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff984da900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff984da900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff984da900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff984da900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff984da900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff96931b88 __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 0x0000ffff96931b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff96931b88 void clang::finalize>, 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 0x0000ffff96931b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff97ff5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff97fad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff97fad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff97fad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9815b3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #80 0x0000ffff9815b3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #81 0x0000ffff9815b3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #82 0x0000ffff9815b3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #83 0x0000ffff98159b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #84 0x0000ffff9815a748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #85 0x0000ffff9815c79c clang::tooling::ClangTool::run(clang::tooling::ToolAction*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:612:7 #86 0x0000aaaad8b61148 main /builddir/build/BUILD/clang-17.0.6.src/tools/clang-check/ClangCheck.cpp:259:18 #87 0x0000ffff8f53098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffff8f530a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaad8b61970 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-check+0x11970) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Tooling/Output/clang-check-analyze-save-temps.cpp.script: line 2: 161405 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-check -analyze /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyze-save-temps.cpp -- -save-temps -c -Xclang -verify -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. FAIL: Clang :: Tooling/clang-check-analyzer.cpp (17834 of 19719) ******************** TEST 'Clang :: Tooling/clang-check-analyzer.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-check -analyze "/builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp" -- -c 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-check -analyze "/builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp" -- -c -flto -Wa,--noexecstack 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-check -analyze "/builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp" -- -c -no-integrated-as -flto=thin 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-check -analyze "/builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp" -- -c -flto=full 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp:6:11: error: CHECK: expected string not found in input // CHECK: Dereference of null pointer ^ :1:1: note: scanning from here #0 0x0000ffffa34cad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) ^ :12:206: note: possible intended match here #11 0x0000ffffab780e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(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 0x0000ffffa34cad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) check:6'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: #1 0x0000ffffa34c9148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3: #2 0x0000ffffa34cb408 (/usr/lib64/libLLVM-17.so+0x9cb408) check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: #3 0x0000ffffac48e7e0 (linux-vdso.so.1+0x7e0) check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: #4 0x0000ffffab780e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #5 0x0000ffffab780e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: #6 0x0000ffffab780e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: #7 0x0000ffffab780e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #8 0x0000ffffab780e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #9 0x0000ffffab780e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #10 0x0000ffffab780e98 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 0x0000ffffab780e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(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 0x0000ffffab42e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14: #13 0x0000ffffab42e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15: #14 0x0000ffffab42e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16: #15 0x0000ffffab42e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17: #16 0x0000ffffab42eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang Tools :: clang-tidy/infrastructure/static-analyzer.cpp (19132 of 19719) ******************** 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 0x0000ffffb30ead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb30e9180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffffb30eb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbc0ac7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbb3876d0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbb3876d0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbb3876d0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbb3876d0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbb3876d0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbb3876d0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbb3876d0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbb3876d0 (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 0x0000ffffbb195990 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffbb195990 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffbb195990 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 0x0000ffffbafa95a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffbafa95a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffbafa95a8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffbafa95a8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffbb06ebf4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffbb06ebf4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffbb06ebf4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffbb06ebf4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffbb078484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffbb078484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffbb078484 clang::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 0x0000ffffbafdcae8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbafdcae8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbafdcae8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffbafdcae8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffbb4cb004 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffbb4cb004 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffbb4cb004 clang::ento::ProgramState::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 0x0000ffffbb1a1ba0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffbb1a1ba0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffbb1a1ba0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffbb1a1ba0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffbb1a1ba0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffbb1a1ba0 (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 0x0000ffffbb1a1ff0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffbb1a1ff0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffbb1a1ff0 (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 0x0000ffffbb1ae4d0 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffbb1ae4d0 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 0x0000ffffbafc67b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffbafc67b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffbafc67b4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffbafc67b4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffbafc67b4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffbb026c68 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffbb026c68 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffbb026c68 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffbb026c68 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffbb026c68 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffbb026c68 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffbb0274f4 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffbb009250 clang::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 0x0000ffffbb009250 clang::ento::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 0x0000ffffbb00a2b8 clang::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 0x0000ffffbb00a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbb00a7cc clang::ento::CoreEngine::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 0x0000ffffbb00ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffbb00ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffbb00ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffbb00ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffbb00ab14 clang::ento::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 0x0000ffffbb2d52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffbb2d52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffbb2d52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffbb2d52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffbb2d52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffbb2d6278 llvm::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 0x0000ffffbb2d6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffbb2d6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffbb2da900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffbb2da900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffbb2da900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffbb2da900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffbb2da900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffbadeaaac clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/MultiplexConsumer.cpp:297:25 #80 0x0000ffffb9731b88 __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 0x0000ffffb9731b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffb9731b88 void clang::finalize>, 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 0x0000ffffb9731b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffbadf5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffbadad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffbadad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffbadad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffbaf5b3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #89 0x0000ffffbaf5b3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #90 0x0000ffffbaf5b3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #91 0x0000ffffbaf5b3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #92 0x0000aaaad60d335c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:6 #93 0x0000aaaad60d335c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:7 #94 0x0000aaaad60d335c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:11 #95 0x0000aaaad60d335c clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef, std::allocator>>, llvm::IntrusiveRefCntPtr, bool, bool, llvm::StringRef)::ActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:564:50 #96 0x0000ffffbaf59b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #97 0x0000ffffbaf5a748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #98 0x0000ffffbaf5c79c clang::tooling::ClangTool::run(clang::tooling::ToolAction*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:612:7 #99 0x0000aaaad60eb27c ~ActionFactory /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:549:9 #100 0x0000aaaad60eb27c clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef, std::allocator>>, llvm::IntrusiveRefCntPtr, bool, bool, llvm::StringRef) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:587:1 #101 0x0000aaaad57e04e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #102 0x0000aaaad57e04e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #103 0x0000aaaad57e04e0 clang::tidy::clangTidyMain(int, char const**) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool/ClangTidyMain.cpp:665:63 #104 0x0000ffffb228098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #105 0x0000ffffb2280a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #106 0x0000aaaad57cef30 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tidy+0x55ef30) FileCheck error: '' is empty. FileCheck command line: FileCheck /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/static-analyzer.cpp -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang Tools :: clang-tidy/infrastructure/temporaries.cpp (19133 of 19719) ******************** 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 0x0000ffff8222ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff82229180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8222b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8b1e97e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8a13b9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff8a13b9a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8a13b9a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8a13b9a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8a13b9a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8a13b9a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8a13b9a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8a13b9a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff8a13bd94 llvm::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 0x0000ffff8a13bd94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff8a13bd94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff8a13bd94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff8a13bd94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff8a13c2ac llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffff8a13c2ac llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffff8a13c2ac clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:486:0 #20 0x0000ffff8a143db0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffff8a143db0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffff8a143db0 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 0x0000ffff8a143db0 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 0x0000ffff8a14920c clang::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 0x0000ffff8a14920c clang::ento::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 0x0000ffff8a14a2b8 clang::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 0x0000ffff8a14a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8a14a7cc clang::ento::CoreEngine::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 0x0000ffff8a14ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffff8a14ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffff8a14ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffff8a14ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffff8a14ab14 clang::ento::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 0x0000ffff8a4152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffff8a4152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffff8a4152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffff8a4152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffff8a4152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffff8a416278 llvm::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 0x0000ffff8a416278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffff8a416278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffff8a41a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffff8a41a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffff8a41a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffff8a41a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffff8a41a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffff89f2aaac clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/MultiplexConsumer.cpp:297:25 #48 0x0000ffff88871b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #49 0x0000ffff88871b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffff88871b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #51 0x0000ffff88871b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffff89f35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffff89eed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffff89eed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffff89eed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffff8a09b3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #57 0x0000ffff8a09b3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #58 0x0000ffff8a09b3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #59 0x0000ffff8a09b3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #60 0x0000aaaacad3335c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:6 #61 0x0000aaaacad3335c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:7 #62 0x0000aaaacad3335c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:11 #63 0x0000aaaacad3335c clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef, std::allocator>>, llvm::IntrusiveRefCntPtr, bool, bool, llvm::StringRef)::ActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:564:50 #64 0x0000ffff8a099b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #65 0x0000ffff8a09a748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #66 0x0000ffff8a09c79c clang::tooling::ClangTool::run(clang::tooling::ToolAction*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:612:7 #67 0x0000aaaacad4b27c ~ActionFactory /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:549:9 #68 0x0000aaaacad4b27c clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef, std::allocator>>, llvm::IntrusiveRefCntPtr, bool, bool, llvm::StringRef) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:587:1 #69 0x0000aaaaca4404e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #70 0x0000aaaaca4404e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #71 0x0000aaaaca4404e0 clang::tidy::clangTidyMain(int, char const**) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool/ClangTidyMain.cpp:665:63 #72 0x0000ffff813c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #73 0x0000ffff813c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #74 0x0000aaaaca42ef30 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tidy+0x55ef30) FileCheck error: '' is empty. FileCheck command line: FileCheck /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/temporaries.cpp -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang Tools :: clang-tidy/infrastructure/static-analyzer-config.cpp (19134 of 19719) ******************** 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 0x0000ffff8dd2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8dd29180 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9180) #2 0x0000ffff8dd2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff96ce27e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff95de7fb0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff95de7fb0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff95de7fb0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff95de7fb0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff95de7fb0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff95de7fb0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff95de7fb0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff95de7fb0 (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 0x0000ffff95c1aae4 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 0x0000ffff95c352e8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff95c352e8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff95c352e8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff95c352e8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff95c352e8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff95c352e8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff95c352e8 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 0x0000ffff95c4a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff95c4a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff95c4a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff95c4a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff95c4a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff95c4a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff95c4a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff95c4a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff95c4a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffff95c4a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff95c4a7cc clang::ento::CoreEngine::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 0x0000ffff95c4ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff95c4ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff95c4ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff95c4ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff95c4ab14 clang::ento::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 0x0000ffff95f152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff95f152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff95f152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff95f152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff95f152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff95f16278 llvm::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 0x0000ffff95f16278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff95f16278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff95f1a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff95f1a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff95f1a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff95f1a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff95f1a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff95a2aaac clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/MultiplexConsumer.cpp:297:25 #50 0x0000ffff94371b88 __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 0x0000ffff94371b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #52 0x0000ffff94371b88 void clang::finalize>, 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 0x0000ffff94371b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #54 0x0000ffff95a35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #55 0x0000ffff959ed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #56 0x0000ffff959ed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #57 0x0000ffff959ed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #58 0x0000ffff95b9b3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #59 0x0000ffff95b9b3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #60 0x0000ffff95b9b3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #61 0x0000ffff95b9b3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #62 0x0000aaaae029335c std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:6 #63 0x0000aaaae029335c std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:7 #64 0x0000aaaae029335c std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:11 #65 0x0000aaaae029335c clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef, std::allocator>>, llvm::IntrusiveRefCntPtr, bool, bool, llvm::StringRef)::ActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:564:50 #66 0x0000ffff95b99b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #67 0x0000ffff95b9a748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #68 0x0000ffff95b9c79c clang::tooling::ClangTool::run(clang::tooling::ToolAction*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:612:7 #69 0x0000aaaae02ab27c ~ActionFactory /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:549:9 #70 0x0000aaaae02ab27c clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef, std::allocator>>, llvm::IntrusiveRefCntPtr, bool, bool, llvm::StringRef) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:587:1 #71 0x0000aaaadf9a04e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #72 0x0000aaaadf9a04e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #73 0x0000aaaadf9a04e0 clang::tidy::clangTidyMain(int, char const**) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool/ClangTidyMain.cpp:665:63 #74 0x0000ffff8cec098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #75 0x0000ffff8cec0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #76 0x0000aaaadf98ef30 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tidy+0x55ef30) FileCheck error: '' is empty. FileCheck command line: FileCheck /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/static-analyzer-config.cpp -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/41/45 (19191 of 19719) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/41/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-41-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=41 /builddir/build/BUILD/clang-17.0.6.src/aarch64-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 (2 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/6, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/6.Test [ OK ] RangeSetCastToTruncationConversionTest/6.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/6 (2 ms total) [----------] 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 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/15 #0 0x0000ffff9439ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff94399148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffff9439b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9d3507e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9c650e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9c650e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9c650e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9c650e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9c650e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9c650e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9c650e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9c650e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9c2fe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9c2fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9c2fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9c2fe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9c2feef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9c2feef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9c2feef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9c2feef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9c311aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9c311aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9c311aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9c312ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9c312ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9c312ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9c3124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9c3124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9c3124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9c31eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9c31eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9c31eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9c328484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9c328484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9c328484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9c28c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9c28c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9c28c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9c28c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9c28cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9c28cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9c28cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9c260400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff9c260400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff9c260400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9c29ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9c29ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9c29ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff9c2bae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9c2bae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9c2bae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff9c5852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff9c5852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff9c5852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff9c5852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff9c5852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff9c586278 llvm::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 0x0000ffff9c586278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff9c586278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9c58a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9c58a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9c58a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9c58a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9c58a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff9a9e1b88 __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 0x0000ffff9a9e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff9a9e1b88 void clang::finalize>, 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 0x0000ffff9a9e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff9c0a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9c05d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9c05d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9c05d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9c20b3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffff9c20b3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffff9c20b3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffff9c20b3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffff9c209b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffff9c20a748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffff9c20accc clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffff9c20b000 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaac35be128 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaac35be128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaac35be128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaac35be128 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaac35e04f8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1104f8) #85 0x0000aaaac35e1a68 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111a68) #86 0x0000aaaac35e2188 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112188) #87 0x0000aaaac35ed648 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d648) #88 0x0000aaaac35ecf08 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf08) #89 0x0000aaaac35d9c28 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109c28) #90 0x0000ffff935e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff935e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaac352ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-41-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/42/45 (19192 of 19719) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/42/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-42-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=42 /builddir/build/BUILD/clang-17.0.6.src/aarch64-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 (4 ms) [----------] 1 test from RangeSetTest/4 (4 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 0x0000ffff9b74ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9b749148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffff9b74b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa47047e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa3a00e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa3a00e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa3a00e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa3a00e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa3a00e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa3a00e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa3a00e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa3a00e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa36ae018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa36ae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa36ae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa36ae018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa36aeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa36aeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa36aeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa36aeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa36c1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa36c1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa36c1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa36c2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa36c2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa36c2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa36c24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa36c24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa36c24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa36ceb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa36ceb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa36ceb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa36d8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa36d8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa36d8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa363c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa363c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa363c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa363c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa363cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa363cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa363cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa3610400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa3610400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa3610400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa364ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa364ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa364ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffa366ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa366ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa366ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa39352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa39352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa39352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa39352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa39352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa3936278 llvm::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 0x0000ffffa3936278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa3936278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa393a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa393a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa393a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa393a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa393a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa1d91b88 __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 0x0000ffffa1d91b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa1d91b88 void clang::finalize>, 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 0x0000ffffa1d91b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa3455600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa340d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa340d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa340d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa35bb3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffffa35bb3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffffa35bb3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffffa35bb3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffffa35b9b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffffa35ba748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffffa35baccc clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffffa35bb000 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaac37be128 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaac37be128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaac37be128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaac37be128 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaac37e04f8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1104f8) #85 0x0000aaaac37e1a68 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111a68) #86 0x0000aaaac37e2188 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112188) #87 0x0000aaaac37ed648 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d648) #88 0x0000aaaac37ecf08 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf08) #89 0x0000aaaac37d9c28 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109c28) #90 0x0000ffff9a99098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff9a990a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaac372ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-42-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/34/45 (19193 of 19719) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/34/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-34-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=34 /builddir/build/BUILD/clang-17.0.6.src/aarch64-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 (4 ms) [----------] 1 test from RangeSetTest/3 (4 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 (3 ms) [ RUN ] SValTests/SValTest.GetSymExprType/5 [ OK ] SValTests/SValTest.GetSymExprType/5 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/8 #0 0x0000ffff9678ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff96789148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffff9678b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9f74d7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9ea40e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9ea40e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9ea40e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9ea40e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9ea40e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9ea40e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9ea40e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9ea40e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9e6ee018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9e6ee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9e6ee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9e6ee018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9e6eeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9e6eeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9e6eeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9e6eeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9e701aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9e701aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9e701aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9e702ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9e702ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9e702ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9e7024c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9e7024c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9e7024c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9e70eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9e70eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9e70eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9e718484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9e718484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9e718484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9e67c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9e67c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9e67c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9e67c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9e67cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9e67cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9e67cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9e650400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff9e650400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff9e650400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9e68ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9e68ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9e68ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff9e6aae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9e6aae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9e6aae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff9e9752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff9e9752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff9e9752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff9e9752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff9e9752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff9e976278 llvm::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 0x0000ffff9e976278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff9e976278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9e97a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9e97a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9e97a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9e97a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9e97a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff9cdd1b88 __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 0x0000ffff9cdd1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff9cdd1b88 void clang::finalize>, 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 0x0000ffff9cdd1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff9e495600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9e44d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9e44d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9e44d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9e5fb3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffff9e5fb3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffff9e5fb3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffff9e5fb3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffff9e5f9b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffff9e5fa748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffff9e5faccc clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffff9e5fb000 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaab94ee128 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaab94ee128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaab94ee128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaab94ee128 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaab95104f8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1104f8) #85 0x0000aaaab9511a68 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111a68) #86 0x0000aaaab9512188 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112188) #87 0x0000aaaab951d648 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d648) #88 0x0000aaaab951cf08 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf08) #89 0x0000aaaab9509c28 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109c28) #90 0x0000ffff959d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff959d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaab945ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-34-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/35/45 (19195 of 19719) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/35/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-35-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=35 /builddir/build/BUILD/clang-17.0.6.src/aarch64-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 (4 ms) [----------] 1 test from RangeSetTest/3 (5 ms total) [----------] 1 test from RangeSetCastToNoopTest/7, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/7.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/7.RangeSetCastToNoopTest (2 ms) [----------] 1 test from RangeSetCastToNoopTest/7 (2 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/0, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/0.Test [ OK ] RangeSetCastToTruncationConversionTest/0.Test (3 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/0 (3 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 (3 ms) [ RUN ] SValTests/SValTest.GetCompoundType/9 #0 0x0000ffff83efad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff83ef9148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffff83efb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8cebc7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8c1b0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8c1b0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8c1b0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8c1b0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8c1b0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8c1b0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8c1b0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8c1b0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8be5e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8be5e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8be5e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8be5e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8be5eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8be5eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8be5eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8be5eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8be71aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8be71aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8be71aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8be72ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8be72ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8be72ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8be724c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8be724c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8be724c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8be7eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8be7eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8be7eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8be88484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8be88484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8be88484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8bdec9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8bdec9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8bdec9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8bdec9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8bdecec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8bdecec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8bdecec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8bdc0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8bdc0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8bdc0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8bdfce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8bdfce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8bdfce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff8be1ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8be1ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8be1ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8c0e52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8c0e52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8c0e52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8c0e52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8c0e52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff8c0e6278 llvm::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 0x0000ffff8c0e6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff8c0e6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8c0ea900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8c0ea900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8c0ea900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8c0ea900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8c0ea900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff8a541b88 __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 0x0000ffff8a541b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff8a541b88 void clang::finalize>, 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 0x0000ffff8a541b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff8bc05600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8bbbd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8bbbd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8bbbd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8bd6b3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffff8bd6b3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffff8bd6b3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffff8bd6b3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffff8bd69b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffff8bd6a748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffff8bd6accc clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffff8bd6b000 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaac03de128 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaac03de128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaac03de128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaac03de128 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaac04004f8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1104f8) #85 0x0000aaaac0401a68 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111a68) #86 0x0000aaaac0402188 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112188) #87 0x0000aaaac040d648 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d648) #88 0x0000aaaac040cf08 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf08) #89 0x0000aaaac03f9c28 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109c28) #90 0x0000ffff8314098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff83140a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaac034ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-35-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/40/45 (19196 of 19719) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/40/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-40-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=40 /builddir/build/BUILD/clang-17.0.6.src/aarch64-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 (2 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/5 (2 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 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/14 #0 0x0000ffff9484ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff94849148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffff9484b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9d8067e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9cb00e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9cb00e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9cb00e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9cb00e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9cb00e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9cb00e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9cb00e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9cb00e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9c7ae018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9c7ae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9c7ae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9c7ae018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9c7aeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9c7aeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9c7aeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9c7aeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9c7c1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9c7c1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9c7c1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9c7c2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9c7c2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9c7c2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9c7c24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9c7c24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9c7c24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9c7ceb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9c7ceb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9c7ceb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9c7d8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9c7d8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9c7d8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9c73c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9c73c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9c73c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9c73c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9c73cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9c73cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9c73cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9c710400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff9c710400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff9c710400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9c74ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9c74ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9c74ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff9c76ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9c76ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9c76ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff9ca352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff9ca352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff9ca352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff9ca352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff9ca352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff9ca36278 llvm::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 0x0000ffff9ca36278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff9ca36278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9ca3a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9ca3a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9ca3a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9ca3a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9ca3a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff9ae91b88 __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 0x0000ffff9ae91b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff9ae91b88 void clang::finalize>, 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 0x0000ffff9ae91b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff9c555600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9c50d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9c50d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9c50d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9c6bb3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffff9c6bb3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffff9c6bb3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffff9c6bb3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffff9c6b9b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffff9c6ba748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffff9c6baccc clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffff9c6bb000 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaacc4ee128 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaacc4ee128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaacc4ee128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaacc4ee128 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaacc5104f8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1104f8) #85 0x0000aaaacc511a68 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111a68) #86 0x0000aaaacc512188 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112188) #87 0x0000aaaacc51d648 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d648) #88 0x0000aaaacc51cf08 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf08) #89 0x0000aaaacc509c28 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109c28) #90 0x0000ffff93a9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff93a90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaacc45ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-40-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/39/45 (19197 of 19719) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/39/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-39-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=39 /builddir/build/BUILD/clang-17.0.6.src/aarch64-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 (4 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 (3 ms) [----------] 1 test from RangeSetCastToPromotionTest/3 (3 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 (3 ms) [ RUN ] SValTests/SValTest.GetCompoundType/13 #0 0x0000ffffafe4ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffafe49148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffffafe4b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb8e0f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb8100e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb8100e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb8100e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb8100e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb8100e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb8100e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb8100e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb8100e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb7dae018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb7dae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb7dae018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb7dae018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb7daeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb7daeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb7daeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb7daeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb7dc1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb7dc1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb7dc1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb7dc2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb7dc2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb7dc2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb7dc24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb7dc24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb7dc24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb7dceb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb7dceb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb7dceb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb7dd8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb7dd8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb7dd8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb7d3c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb7d3c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb7d3c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb7d3c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb7d3cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb7d3cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb7d3cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb7d10400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb7d10400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb7d10400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb7d4ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb7d4ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb7d4ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffb7d6ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb7d6ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb7d6ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb80352fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb80352fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb80352fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb80352fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb80352fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb8036278 llvm::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 0x0000ffffb8036278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb8036278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb803a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb803a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb803a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb803a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb803a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb6491b88 __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 0x0000ffffb6491b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb6491b88 void clang::finalize>, 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 0x0000ffffb6491b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb7b55600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb7b0d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb7b0d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb7b0d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb7cbb3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffffb7cbb3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffffb7cbb3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffffb7cbb3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffffb7cb9b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffffb7cba748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffffb7cbaccc clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffffb7cbb000 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaab471e128 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaab471e128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaab471e128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaab471e128 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaab47404f8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1104f8) #85 0x0000aaaab4741a68 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111a68) #86 0x0000aaaab4742188 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112188) #87 0x0000aaaab474d648 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d648) #88 0x0000aaaab474cf08 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf08) #89 0x0000aaaab4739c28 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109c28) #90 0x0000ffffaf09098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffaf090a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaab468ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-39-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/36/45 (19198 of 19719) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/36/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-36-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=36 /builddir/build/BUILD/clang-17.0.6.src/aarch64-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 (4 ms) [----------] 1 test from RangeSetTest/3 (4 ms total) [----------] 1 test from RangeSetCastToPromotionTest/0, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/0.Test [ OK ] RangeSetCastToPromotionTest/0.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionTest/0 (2 ms total) [----------] 1 test from 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 0x0000ffffa53cad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa53c9148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffffa53cb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffae38f7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffad680e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffad680e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffad680e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffad680e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffad680e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffad680e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffad680e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffad680e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffad32e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffad32e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffad32e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffad32e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffad32eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffad32eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffad32eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffad32eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffad341aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffad341aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffad341aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffad342ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffad342ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffad342ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffad3424c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffad3424c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffad3424c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffad34eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffad34eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffad34eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffad358484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffad358484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffad358484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffad2bc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffad2bc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffad2bc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffad2bc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffad2bcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffad2bcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffad2bcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffad290400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffad290400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffad290400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffad2cce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffad2cce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffad2cce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffad2eae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffad2eae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffad2eae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffad5b52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffad5b52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffad5b52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffad5b52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffad5b52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffad5b6278 llvm::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 0x0000ffffad5b6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffad5b6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffad5ba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffad5ba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffad5ba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffad5ba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffad5ba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffaba11b88 __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 0x0000ffffaba11b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffaba11b88 void clang::finalize>, 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 0x0000ffffaba11b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffad0d5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffad08d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffad08d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffad08d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffad23b3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffffad23b3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffffad23b3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffffad23b3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffffad239b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffffad23a748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffffad23accc clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffffad23b000 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaace78e128 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaace78e128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaace78e128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaace78e128 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaace7b04f8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1104f8) #85 0x0000aaaace7b1a68 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111a68) #86 0x0000aaaace7b2188 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112188) #87 0x0000aaaace7bd648 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d648) #88 0x0000aaaace7bcf08 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf08) #89 0x0000aaaace7a9c28 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109c28) #90 0x0000ffffa461098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffa4610a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaace6fff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-36-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/43/45 (19199 of 19719) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/43/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-43-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=43 /builddir/build/BUILD/clang-17.0.6.src/aarch64-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 (5 ms) [----------] 1 test from RangeSetTest/4 (5 ms total) [----------] 1 test from RangeSetCastToPromotionTest/7, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/7.Test [ OK ] RangeSetCastToPromotionTest/7.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionTest/7 (2 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/8, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/8.Test [ OK ] RangeSetCastToTruncationConversionTest/8.Test (3 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/8 (3 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/11 [ OK ] SValTests/SValTest.GetConstType/11 (3 ms) [ RUN ] SValTests/SValTest.GetSymExprType/14 [ OK ] SValTests/SValTest.GetSymExprType/14 (3 ms) [ RUN ] SValTests/SValTest.GetCompoundType/17 #0 0x0000ffff7a66ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff7a669148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffff7a66b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff836267e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff82920e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff82920e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff82920e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff82920e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff82920e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff82920e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff82920e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff82920e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff825ce018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff825ce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff825ce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff825ce018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff825ceef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff825ceef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff825ceef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff825ceef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff825e1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff825e1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff825e1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff825e2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff825e2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff825e2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff825e24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff825e24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff825e24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff825eeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff825eeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff825eeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff825f8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff825f8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff825f8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8255c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8255c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8255c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8255c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8255cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8255cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8255cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff82530400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff82530400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff82530400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8256ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8256ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8256ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff8258ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8258ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8258ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff828552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff828552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff828552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff828552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff828552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff82856278 llvm::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 0x0000ffff82856278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff82856278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8285a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8285a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8285a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8285a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8285a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff80cb1b88 __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 0x0000ffff80cb1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff80cb1b88 void clang::finalize>, 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 0x0000ffff80cb1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff82375600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8232d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8232d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8232d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff824db3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffff824db3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffff824db3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffff824db3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffff824d9b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffff824da748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffff824daccc clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffff824db000 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaae113e128 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaae113e128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaae113e128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaae113e128 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaae11604f8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1104f8) #85 0x0000aaaae1161a68 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111a68) #86 0x0000aaaae1162188 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112188) #87 0x0000aaaae116d648 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d648) #88 0x0000aaaae116cf08 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf08) #89 0x0000aaaae1159c28 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109c28) #90 0x0000ffff798b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff798b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaae10aff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-43-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/0/45 (19206 of 19719) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/0/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-0-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=0 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 1 of 45. [==========] Running 8 tests from 5 test suites. [----------] Global test environment set-up. [----------] 1 test from TestReturnValueUnderConstructionChecker [ RUN ] TestReturnValueUnderConstructionChecker.ReturnValueUnderConstructionChecker #0 0x0000ffff8ff2ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8ff29148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffff8ff2b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff98ee17e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff97e35734 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff97e35734 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff97e35734 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff97e35734 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff97e35734 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff97e35734 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff97e35734 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff97e35734 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 0x0000ffff97dfe1fc std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffff97dfe1fc std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffff97dfe1fc clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffff97dfe1fc 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 0x0000ffff97dff1fc clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffff97dff1fc 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 0x0000ffff97ec0100 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffff97ec0100 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffff97e7b2a8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffff97e7b2a8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffff97e7b458 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffff97e7b458 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff97e7b458 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffff97e7dee0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffff97e7dee0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffff97e7dee0 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffff97e7e7fc llvm::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 0x0000ffff97e7e7fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff97e7e7fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff97e7e7fc clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffff97e07268 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffff97e433d8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffff97e433d8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffff97e433d8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffff97e433d8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffff97e433d8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffff97e433d8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffff97e433d8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffff97e4920c clang::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 0x0000ffff97e4920c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffff97e4a2b8 clang::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 0x0000ffff97e4a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff97e4a7cc clang::ento::CoreEngine::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 0x0000ffff97e4ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffff97e4ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffff97e4ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffff97e4ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffff97e4ab14 clang::ento::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 0x0000ffff981152fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffff981152fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff981152fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffff981152fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffff981152fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffff98116278 llvm::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 0x0000ffff98116278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffff98116278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffff9811a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffff9811a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffff9811a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffff9811a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffff9811a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffff96571b88 __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 0x0000ffff96571b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffff96571b88 void clang::finalize>, 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 0x0000ffff96571b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffff97c35600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffff97bed524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffff97bed524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffff97bed524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffff97d9b3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #72 0x0000ffff97d9b3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #73 0x0000ffff97d9b3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #74 0x0000ffff97d9b3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #75 0x0000ffff97d99b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #76 0x0000ffff97d9a748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #77 0x0000ffff97d9accc clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #78 0x0000ffff97d9b000 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #79 0x0000ffff97d9b1a0 clang::tooling::runToolOnCode(std::unique_ptr>, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:179:31 #80 0x0000aaaad0e8da0c runCheckerOnCode /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:121:32 #81 0x0000aaaad0e8da0c bool clang::ento::runCheckerOnCode<&clang::ento::(anonymous namespace)::addTestReturnValueUnderConstructionChecker(clang::ento::AnalysisASTConsumer&, clang::AnalyzerOptions&)>(std::__cxx11::basic_string, std::allocator> const&) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:128:34 #82 0x0000aaaad0e8ea88 clang::ento::(anonymous namespace)::TestReturnValueUnderConstructionChecker_ReturnValueUnderConstructionChecker_Test::TestBody() /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/TestReturnValueUnderConstruction.cpp:59:3 #83 0x0000aaaad0ea04f8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1104f8) #84 0x0000aaaad0ea1a68 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111a68) #85 0x0000aaaad0ea2188 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112188) #86 0x0000aaaad0ead648 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d648) #87 0x0000aaaad0eacf08 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf08) #88 0x0000aaaad0e99c28 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109c28) #89 0x0000ffff8f17098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #90 0x0000ffff8f170a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #91 0x0000aaaad0deff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-0-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/25/45 (19208 of 19719) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/25/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-25-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=25 /builddir/build/BUILD/clang-17.0.6.src/aarch64-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 (3 ms) [----------] 1 test from RangeSetTest/7 (3 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 (3 ms) [ RUN ] SValTests/SValTest.GetThisType/2 #0 0x0000ffff8fc9ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8fc99148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffff8fc9b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff98c5a7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff97f50e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff97f50e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff97f50e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff97f50e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff97f50e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff97f50e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff97f50e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff97f50e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff97bfe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff97bfe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff97bfe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff97bfe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff97bfeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff97bfeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff97bfeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff97bfeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff97c11aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff97c11aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff97c11aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff97c12ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff97c12ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff97c12ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff97c124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff97c124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff97c124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff97c1eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff97c1eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff97c1eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff97c28484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff97c28484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff97c28484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff97b8c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff97b8c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff97b8c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff97b8c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff97b8cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff97b8cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff97b8cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff97b60400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff97b60400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff97b60400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff97b9ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff97b9ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff97b9ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff97bbae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff97bbae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff97bbae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff97e852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff97e852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff97e852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff97e852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff97e852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff97e86278 llvm::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 0x0000ffff97e86278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff97e86278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff97e8a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff97e8a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff97e8a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff97e8a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff97e8a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff962e1b88 __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 0x0000ffff962e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff962e1b88 void clang::finalize>, 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 0x0000ffff962e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff979a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9795d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9795d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9795d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff97b0b3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffff97b0b3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffff97b0b3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffff97b0b3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffff97b09b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffff97b0a748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffff97b0accc clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffff97b0b000 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaaad5ee7a8 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaaad5ee7a8 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaaad5ee7a8 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaaad5ee7a8 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 #84 0x0000aaaaad6104f8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1104f8) #85 0x0000aaaaad611a68 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111a68) #86 0x0000aaaaad612188 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112188) #87 0x0000aaaaad61d648 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d648) #88 0x0000aaaaad61cf08 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf08) #89 0x0000aaaaad609c28 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109c28) #90 0x0000ffff8eee098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff8eee0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaaad55ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-25-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/37/45 (19210 of 19719) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/37/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-37-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=37 /builddir/build/BUILD/clang-17.0.6.src/aarch64-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 0x0000ffffb56ead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb56e9148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffffb56eb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbe6aa7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbd64a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbd64a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbd64a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbd64a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffbd64a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffbd64a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffbd5f53bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffbd5f53bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffbd5f53bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffbd60a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffbd60a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffbd60a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffbd60a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffbd60a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffbd60a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffbd60a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffbd60a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffbd60a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffbd60a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbd60a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffbd60a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffbd60ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffbd60ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffbd60ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffbd60ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffbd60ab14 clang::ento::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 0x0000ffffbd8d52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffbd8d52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffbd8d52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffbd8d52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffbd8d52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffbd8d6278 llvm::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 0x0000ffffbd8d6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffbd8d6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffbd8da900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffbd8da900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffbd8da900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffbd8da900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffbd8da900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffbbd31b88 __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 0x0000ffffbbd31b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffbbd31b88 void clang::finalize>, 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 0x0000ffffbbd31b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffbd3f5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffbd3ad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffbd3ad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffbd3ad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffbd55b3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #52 0x0000ffffbd55b3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #53 0x0000ffffbd55b3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #54 0x0000ffffbd55b3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #55 0x0000ffffbd559b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #56 0x0000ffffbd55a748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #57 0x0000ffffbd55accc clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #58 0x0000ffffbd55b000 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #59 0x0000aaaacf74e128 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #60 0x0000aaaacf74e128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #61 0x0000aaaacf74e128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #62 0x0000aaaacf74e128 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #63 0x0000aaaacf7704f8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1104f8) #64 0x0000aaaacf771a68 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111a68) #65 0x0000aaaacf772188 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112188) #66 0x0000aaaacf77d648 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d648) #67 0x0000aaaacf77cf08 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf08) #68 0x0000aaaacf769c28 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109c28) #69 0x0000ffffb493098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #70 0x0000ffffb4930a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #71 0x0000aaaacf6bff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-37-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/32/45 (19216 of 19719) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/32/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-32-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=32 /builddir/build/BUILD/clang-17.0.6.src/aarch64-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 (4 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 (3 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 0x0000ffff7929ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff79299148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffff7929b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8225c7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff811fa104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff811fa104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff811fa104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff811fa104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff811fa104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff811fa104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff811a53bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff811a53bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff811a53bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff811ba244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff811ba244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff811ba244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff811ba244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff811ba244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff811ba244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff811ba244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff811ba244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff811ba244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff811ba5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff811ba6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff811ba98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff811bab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff811bab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff811bab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff811bab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff811bab14 clang::ento::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 0x0000ffff814852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff814852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff814852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff814852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff814852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff81486278 llvm::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 0x0000ffff81486278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff81486278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff8148a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff8148a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff8148a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff8148a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff8148a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff7f8e1b88 __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 0x0000ffff7f8e1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff7f8e1b88 void clang::finalize>, 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 0x0000ffff7f8e1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff80fa5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff80f5d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff80f5d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff80f5d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff8110b3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #52 0x0000ffff8110b3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #53 0x0000ffff8110b3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #54 0x0000ffff8110b3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #55 0x0000ffff81109b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #56 0x0000ffff8110a748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #57 0x0000ffff8110accc clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #58 0x0000ffff8110b000 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #59 0x0000aaaad919e128 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #60 0x0000aaaad919e128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #61 0x0000aaaad919e128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #62 0x0000aaaad919e128 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #63 0x0000aaaad91c04f8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1104f8) #64 0x0000aaaad91c1a68 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111a68) #65 0x0000aaaad91c2188 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112188) #66 0x0000aaaad91cd648 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d648) #67 0x0000aaaad91ccf08 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf08) #68 0x0000aaaad91b9c28 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109c28) #69 0x0000ffff784e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #70 0x0000ffff784e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #71 0x0000aaaad910ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-32-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/26/45 (19219 of 19719) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/26/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-26-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=26 /builddir/build/BUILD/clang-17.0.6.src/aarch64-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 (5 ms) [----------] 1 test from RangeSetTest/2 (5 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 (5 ms) [----------] 1 test from BugReportInterestingness (5 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetLocAsIntType/18 [ OK ] SValTests/SValTest.GetLocAsIntType/18 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/0 #0 0x0000ffff87f0ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff87f09148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffff87f0b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff90ec37e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff901c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff901c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff901c0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff901c0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff901c0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff901c0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff901c0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff901c0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8fe6e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8fe6e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8fe6e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8fe6e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8fe6eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8fe6eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8fe6eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8fe6eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8fe81aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8fe81aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8fe81aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8fe82ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8fe82ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8fe82ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8fe824c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8fe824c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8fe824c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8fe8eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8fe8eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8fe8eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8fe98484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8fe98484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8fe98484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8fdfc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8fdfc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8fdfc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8fdfc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8fdfcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8fdfcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8fdfcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8fdd0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8fdd0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8fdd0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8fe0ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8fe0ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8fe0ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff8fe2ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8fe2ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8fe2ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff900f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff900f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff900f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff900f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff900f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff900f6278 llvm::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 0x0000ffff900f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff900f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff900fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff900fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff900fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff900fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff900fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff8e551b88 __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 0x0000ffff8e551b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff8e551b88 void clang::finalize>, 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 0x0000ffff8e551b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff8fc15600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8fbcd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8fbcd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8fbcd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8fd7b3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffff8fd7b3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffff8fd7b3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffff8fd7b3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffff8fd79b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffff8fd7a748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffff8fd7accc clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffff8fd7b000 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaadd6ae128 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaadd6ae128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaadd6ae128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaadd6ae128 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaadd6d04f8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1104f8) #85 0x0000aaaadd6d1a68 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111a68) #86 0x0000aaaadd6d2188 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112188) #87 0x0000aaaadd6dd648 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d648) #88 0x0000aaaadd6dcf08 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf08) #89 0x0000aaaadd6c9c28 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109c28) #90 0x0000ffff8715098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff87150a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaadd61ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-26-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/24/45 (19220 of 19719) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/24/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-24-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=24 /builddir/build/BUILD/clang-17.0.6.src/aarch64-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 (3 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 (3 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/1 (3 ms total) [----------] 1 test from CallDescription [ RUN ] CallDescription.MatchBuiltins [ OK ] CallDescription.MatchBuiltins (13 ms) [----------] 1 test from CallDescription (13 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetLocAsIntType/16 [ OK ] SValTests/SValTest.GetLocAsIntType/16 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/19 [ OK ] SValTests/SValTest.GetPointerType/19 (3 ms) [ RUN ] SValTests/SValTest.GetThisType/1 #0 0x0000ffff93ddad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff93dd9148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffff93ddb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9cd987e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9c090e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9c090e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9c090e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9c090e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9c090e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9c090e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9c090e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9c090e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9bd3e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9bd3e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9bd3e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9bd3e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9bd3eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9bd3eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9bd3eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9bd3eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9bd51aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9bd51aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9bd51aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9bd52ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9bd52ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9bd52ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9bd524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9bd524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9bd524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9bd5eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9bd5eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9bd5eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9bd68484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9bd68484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9bd68484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9bccc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9bccc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9bccc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9bccc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9bcccec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9bcccec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9bcccec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9bca0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff9bca0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff9bca0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9bcdce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9bcdce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9bcdce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff9bcfae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9bcfae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9bcfae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff9bfc52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff9bfc52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff9bfc52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff9bfc52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff9bfc52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff9bfc6278 llvm::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 0x0000ffff9bfc6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff9bfc6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9bfca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9bfca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9bfca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9bfca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9bfca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff9a421b88 __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 0x0000ffff9a421b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff9a421b88 void clang::finalize>, 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 0x0000ffff9a421b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff9bae5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9ba9d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9ba9d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9ba9d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9bc4b3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffff9bc4b3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffff9bc4b3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffff9bc4b3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffff9bc49b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffff9bc4a748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffff9bc4accc clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffff9bc4b000 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaad31ae7a8 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaad31ae7a8 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaad31ae7a8 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaad31ae7a8 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 #84 0x0000aaaad31d04f8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1104f8) #85 0x0000aaaad31d1a68 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111a68) #86 0x0000aaaad31d2188 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112188) #87 0x0000aaaad31dd648 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d648) #88 0x0000aaaad31dcf08 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf08) #89 0x0000aaaad31c9c28 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109c28) #90 0x0000ffff9302098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff93020a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaad311ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-24-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/28/45 (19222 of 19719) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/28/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-28-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=28 /builddir/build/BUILD/clang-17.0.6.src/aarch64-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 (2 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 (3 ms) [ RUN ] SValTests/SValTest.GetCompoundType/2 #0 0x0000ffffa197ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa1979148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffffa197b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffaa9327e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa9c30e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa9c30e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa9c30e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa9c30e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa9c30e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa9c30e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa9c30e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa9c30e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa98de018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa98de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa98de018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa98de018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa98deef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa98deef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa98deef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa98deef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa98f1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa98f1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa98f1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa98f2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa98f2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa98f2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa98f24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa98f24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa98f24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa98feb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa98feb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa98feb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa9908484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa9908484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa9908484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa986c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa986c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa986c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa986c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa986cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa986cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa986cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa9840400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa9840400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa9840400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa987ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa987ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa987ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffa989ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa989ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa989ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa9b652fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa9b652fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa9b652fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa9b652fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa9b652fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa9b66278 llvm::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 0x0000ffffa9b66278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa9b66278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa9b6a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa9b6a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa9b6a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa9b6a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa9b6a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa7fc1b88 __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 0x0000ffffa7fc1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa7fc1b88 void clang::finalize>, 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 0x0000ffffa7fc1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa9685600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa963d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa963d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa963d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa97eb3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffffa97eb3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffffa97eb3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffffa97eb3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffffa97e9b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffffa97ea748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffffa97eaccc clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffffa97eb000 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaac46ee128 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaac46ee128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaac46ee128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaac46ee128 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaac47104f8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1104f8) #85 0x0000aaaac4711a68 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111a68) #86 0x0000aaaac4712188 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112188) #87 0x0000aaaac471d648 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d648) #88 0x0000aaaac471cf08 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf08) #89 0x0000aaaac4709c28 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109c28) #90 0x0000ffffa0bc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffa0bc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaac465ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-28-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/31/45 (19223 of 19719) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/31/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-31-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=31 /builddir/build/BUILD/clang-17.0.6.src/aarch64-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 (3 ms) [----------] 1 test from RangeSetCastToNoopTest/3 (3 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/8, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/8.Test [ OK ] RangeSetCastToPromotionConversionTest/8.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/8 (2 ms total) [----------] 1 test from 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 0x0000ffff97dead54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff97de9148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffff97deb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa0daf7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9fd4a104 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9fd4a104 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9fd4a104 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9fd4a104 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff9fd4a104 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff9fd4a104 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff9fcf53bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff9fcf53bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff9fcf53bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff9fd0a244 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff9fd0a244 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff9fd0a244 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff9fd0a244 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff9fd0a244 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff9fd0a244 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff9fd0a244 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff9fd0a244 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff9fd0a244 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff9fd0a5a0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9fd0a6c0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff9fd0a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff9fd0ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff9fd0ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff9fd0ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff9fd0ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff9fd0ab14 clang::ento::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 0x0000ffff9ffd52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9ffd52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9ffd52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff9ffd52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff9ffd52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff9ffd6278 llvm::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 0x0000ffff9ffd6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff9ffd6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff9ffda900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff9ffda900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff9ffda900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff9ffda900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff9ffda900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff9e431b88 __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 0x0000ffff9e431b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff9e431b88 void clang::finalize>, 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 0x0000ffff9e431b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff9faf5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff9faad524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff9faad524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff9faad524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff9fc5b3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #52 0x0000ffff9fc5b3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #53 0x0000ffff9fc5b3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #54 0x0000ffff9fc5b3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #55 0x0000ffff9fc59b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #56 0x0000ffff9fc5a748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #57 0x0000ffff9fc5accc clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #58 0x0000ffff9fc5b000 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #59 0x0000aaaacb49e128 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #60 0x0000aaaacb49e128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #61 0x0000aaaacb49e128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #62 0x0000aaaacb49e128 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #63 0x0000aaaacb4c04f8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1104f8) #64 0x0000aaaacb4c1a68 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111a68) #65 0x0000aaaacb4c2188 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112188) #66 0x0000aaaacb4cd648 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d648) #67 0x0000aaaacb4ccf08 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf08) #68 0x0000aaaacb4b9c28 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109c28) #69 0x0000ffff9703098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #70 0x0000ffff97030a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #71 0x0000aaaacb40ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-31-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/27/45 (19225 of 19719) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/27/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-27-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=27 /builddir/build/BUILD/clang-17.0.6.src/aarch64-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 (4 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 (3 ms) [----------] 1 test from RangeSetTest/7 (3 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 (3 ms) [ RUN ] SValTests/SValTest.GetCompoundType/1 #0 0x0000ffff9220ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff92209148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffff9220b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff9b1c77e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff9a4c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9a4c0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9a4c0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9a4c0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9a4c0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9a4c0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9a4c0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9a4c0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9a16e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9a16e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9a16e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9a16e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9a16eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9a16eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9a16eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9a16eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9a181aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9a181aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9a181aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9a182ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9a182ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9a182ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9a1824c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9a1824c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9a1824c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9a18eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9a18eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9a18eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9a198484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9a198484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9a198484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9a0fc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9a0fc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9a0fc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9a0fc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9a0fcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9a0fcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9a0fcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9a0d0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff9a0d0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff9a0d0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9a10ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9a10ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9a10ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff9a12ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9a12ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9a12ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff9a3f52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff9a3f52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff9a3f52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff9a3f52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff9a3f52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff9a3f6278 llvm::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 0x0000ffff9a3f6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff9a3f6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9a3fa900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9a3fa900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9a3fa900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9a3fa900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9a3fa900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff98851b88 __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 0x0000ffff98851b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff98851b88 void clang::finalize>, 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 0x0000ffff98851b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff99f15600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff99ecd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff99ecd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff99ecd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9a07b3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffff9a07b3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffff9a07b3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffff9a07b3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffff9a079b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffff9a07a748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffff9a07accc clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffff9a07b000 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaac2dee128 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaac2dee128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaac2dee128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaac2dee128 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaac2e104f8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1104f8) #85 0x0000aaaac2e11a68 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111a68) #86 0x0000aaaac2e12188 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112188) #87 0x0000aaaac2e1d648 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d648) #88 0x0000aaaac2e1cf08 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf08) #89 0x0000aaaac2e09c28 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109c28) #90 0x0000ffff9145098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff91450a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaac2d5ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-27-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/1/45 (19226 of 19719) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/1/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-1-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=1 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 2 of 45. [==========] Running 8 tests from 5 test suites. [----------] Global test environment set-up. [----------] 1 test from SymbolReaper [ RUN ] SymbolReaper.SuperRegionLiveness [ OK ] SymbolReaper.SuperRegionLiveness (5 ms) [----------] 1 test from SymbolReaper (5 ms total) [----------] 1 test from RangeSetTest/4, where TypeParam = int [ RUN ] RangeSetTest/4.RangeSetAddTest [ OK ] RangeSetTest/4.RangeSetAddTest (3 ms) [----------] 1 test from RangeSetTest/4 (3 ms total) [----------] 1 test from RangeSetCastToPromotionTest/10, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/10.Test [ OK ] RangeSetCastToPromotionTest/10.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionTest/10 (2 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/11, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/11.Test [ OK ] RangeSetCastToTruncationConversionTest/11.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/11 (2 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/14 [ OK ] SValTests/SValTest.GetConstType/14 (3 ms) [ RUN ] SValTests/SValTest.GetSymExprType/17 [ OK ] SValTests/SValTest.GetSymExprType/17 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/20 #0 0x0000ffffb459ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffb4599148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffffb459b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffbd55a7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffbc850e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbc850e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbc850e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbc850e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbc850e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbc850e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbc850e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbc850e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbc4fe018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbc4fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbc4fe018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbc4fe018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbc4feef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbc4feef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbc4feef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbc4feef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbc511aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbc511aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbc511aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbc512ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbc512ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbc512ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbc5124c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbc5124c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbc5124c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbc51eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbc51eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbc51eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbc528484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbc528484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbc528484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbc48c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbc48c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbc48c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbc48c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbc48cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbc48cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbc48cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffbc460400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffbc460400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffbc460400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffbc49ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffbc49ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffbc49ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffbc4bae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffbc4bae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffbc4bae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffbc7852fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffbc7852fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffbc7852fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffbc7852fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffbc7852fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffbc786278 llvm::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 0x0000ffffbc786278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffbc786278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffbc78a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffbc78a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffbc78a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffbc78a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffbc78a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffbabe1b88 __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 0x0000ffffbabe1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffbabe1b88 void clang::finalize>, 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 0x0000ffffbabe1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffbc2a5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffbc25d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffbc25d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffbc25d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffbc40b3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffffbc40b3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffffbc40b3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffffbc40b3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffffbc409b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffffbc40a748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffffbc40accc clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffffbc40b000 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaae8efe128 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaae8efe128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaae8efe128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaae8efe128 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaae8f204f8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1104f8) #85 0x0000aaaae8f21a68 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111a68) #86 0x0000aaaae8f22188 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112188) #87 0x0000aaaae8f2d648 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d648) #88 0x0000aaaae8f2cf08 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf08) #89 0x0000aaaae8f19c28 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109c28) #90 0x0000ffffb37e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffb37e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaae8e6ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-1-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/44/45 (19232 of 19719) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/44/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-44-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=44 /builddir/build/BUILD/clang-17.0.6.src/aarch64-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 (3 ms) [----------] 1 test from RangeSetCastToPromotionTest/8 (3 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 (3 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/12 [ OK ] SValTests/SValTest.GetConstType/12 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/15 [ OK ] SValTests/SValTest.GetSymExprType/15 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/18 #0 0x0000ffffa111ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa1119148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffffa111b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffaa0da7e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa93d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa93d0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa93d0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa93d0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa93d0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa93d0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa93d0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa93d0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa907e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa907e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa907e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa907e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa907eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa907eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa907eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa907eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa9091aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa9091aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa9091aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa9092ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa9092ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa9092ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa90924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa90924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa90924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa909eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa909eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa909eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa90a8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa90a8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa90a8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa900c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa900c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa900c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa900c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa900cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa900cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa900cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa8fe0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa8fe0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa8fe0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa901ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa901ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa901ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffa903ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa903ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa903ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa93052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa93052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa93052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa93052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa93052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa9306278 llvm::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 0x0000ffffa9306278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa9306278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa930a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa930a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa930a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa930a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa930a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa7761b88 __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 0x0000ffffa7761b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa7761b88 void clang::finalize>, 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 0x0000ffffa7761b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa8e25600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa8ddd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa8ddd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa8ddd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa8f8b3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffffa8f8b3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffffa8f8b3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffffa8f8b3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffffa8f89b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffffa8f8a748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffffa8f8accc clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffffa8f8b000 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaada9ce128 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaada9ce128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaada9ce128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaada9ce128 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaada9f04f8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1104f8) #85 0x0000aaaada9f1a68 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111a68) #86 0x0000aaaada9f2188 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112188) #87 0x0000aaaada9fd648 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d648) #88 0x0000aaaada9fcf08 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf08) #89 0x0000aaaada9e9c28 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109c28) #90 0x0000ffffa036098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffa0360a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaada93ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-44-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/29/45 (19233 of 19719) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/29/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-29-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=29 /builddir/build/BUILD/clang-17.0.6.src/aarch64-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 (3 ms) [----------] 1 test from RangeSetCastToNoopTest/1 (3 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 (4 ms) [ RUN ] SValTests/SValTest.GetCompoundType/3 #0 0x0000ffffa908ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffa9089148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffffa908b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb20487e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb1340e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb1340e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb1340e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb1340e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb1340e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb1340e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb1340e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb1340e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb0fee018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb0fee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb0fee018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb0fee018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb0feeef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb0feeef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb0feeef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb0feeef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb1001aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb1001aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb1001aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb1002ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb1002ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb1002ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb10024c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb10024c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb10024c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb100eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb100eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb100eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb1018484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb1018484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb1018484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb0f7c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb0f7c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb0f7c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb0f7c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb0f7cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb0f7cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb0f7cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb0f50400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb0f50400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb0f50400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb0f8ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb0f8ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb0f8ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffb0faae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb0faae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb0faae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb12752fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb12752fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb12752fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb12752fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb12752fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb1276278 llvm::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 0x0000ffffb1276278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb1276278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb127a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb127a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb127a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb127a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb127a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffaf6d1b88 __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 0x0000ffffaf6d1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffaf6d1b88 void clang::finalize>, 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 0x0000ffffaf6d1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb0d95600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb0d4d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb0d4d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb0d4d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb0efb3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffffb0efb3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffffb0efb3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffffb0efb3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffffb0ef9b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffffb0efa748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffffb0efaccc clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffffb0efb000 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaac4f2e128 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaac4f2e128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaac4f2e128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaac4f2e128 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaac4f504f8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1104f8) #85 0x0000aaaac4f51a68 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111a68) #86 0x0000aaaac4f52188 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112188) #87 0x0000aaaac4f5d648 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d648) #88 0x0000aaaac4f5cf08 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf08) #89 0x0000aaaac4f49c28 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109c28) #90 0x0000ffffa82d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffa82d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaac4e9ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-29-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/38/45 (19234 of 19719) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/38/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-38-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=38 /builddir/build/BUILD/clang-17.0.6.src/aarch64-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 (3 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 (4 ms) [ RUN ] SValTests/SValTest.GetSymExprType/9 [ OK ] SValTests/SValTest.GetSymExprType/9 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/12 [ OK ] SValTests/SValTest.GetCompoundType/12 (4 ms) [ RUN ] SValTests/SValTest.GetThisType/15 #0 0x0000ffff8aa1ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff8aa19148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffff8aa1b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff939d37e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff92cd0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff92cd0e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff92cd0e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff92cd0e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff92cd0e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff92cd0e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff92cd0e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff92cd0e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9297e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9297e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9297e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9297e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9297eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9297eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9297eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9297eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff92991aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff92991aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff92991aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff92992ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff92992ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff92992ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff929924c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff929924c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff929924c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9299eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9299eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9299eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff929a8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff929a8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff929a8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9290c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9290c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9290c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9290c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9290cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9290cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9290cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff928e0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff928e0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff928e0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9291ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9291ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9291ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff9293ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9293ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9293ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff92c052fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff92c052fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff92c052fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff92c052fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff92c052fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff92c06278 llvm::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 0x0000ffff92c06278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff92c06278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff92c0a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff92c0a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff92c0a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff92c0a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff92c0a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff91061b88 __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 0x0000ffff91061b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff91061b88 void clang::finalize>, 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 0x0000ffff91061b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff92725600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff926dd524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff926dd524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff926dd524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9288b3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffff9288b3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffff9288b3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffff9288b3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffff92889b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffff9288a748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffff9288accc clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffff9288b000 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaab14fe7a8 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaab14fe7a8 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaab14fe7a8 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaab14fe7a8 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 #84 0x0000aaaab15204f8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1104f8) #85 0x0000aaaab1521a68 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111a68) #86 0x0000aaaab1522188 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112188) #87 0x0000aaaab152d648 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d648) #88 0x0000aaaab152cf08 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf08) #89 0x0000aaaab1519c28 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109c28) #90 0x0000ffff89c6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff89c60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaab146ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-38-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/33/45 (19235 of 19719) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/33/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-33-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=33 /builddir/build/BUILD/clang-17.0.6.src/aarch64-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 (4 ms) [----------] 1 test from RangeSetTest/3 (4 ms total) [----------] 1 test from RangeSetCastToNoopTest/5, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/5.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/5.RangeSetCastToNoopTest (3 ms) [----------] 1 test from RangeSetCastToNoopTest/5 (3 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 #0 0x0000ffff9076ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff90769148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffff9076b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff997277e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff98a20e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff98a20e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff98a20e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff98a20e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff98a20e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff98a20e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff98a20e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff98a20e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff986ce018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff986ce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff986ce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff986ce018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff986ceef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff986ceef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff986ceef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff986ceef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff986e1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff986e1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff986e1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff986e2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff986e2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff986e2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff986e24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff986e24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff986e24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff986eeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff986eeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff986eeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff986f8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff986f8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff986f8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9865c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9865c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9865c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9865c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9865cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9865cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9865cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff98630400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff98630400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff98630400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9866ce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9866ce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9866ce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff9868ae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9868ae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9868ae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff989552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff989552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff989552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff989552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff989552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff98956278 llvm::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 0x0000ffff98956278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff98956278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9895a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9895a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9895a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9895a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9895a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff96db1b88 __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 0x0000ffff96db1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff96db1b88 void clang::finalize>, 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 0x0000ffff96db1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff98475600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9842d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9842d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9842d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff985db3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffff985db3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffff985db3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffff985db3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffff985d9b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffff985da748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffff985daccc clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffff985db000 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaaccbce128 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaaccbce128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaaccbce128 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaaccbce128 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaaccbf04f8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1104f8) #85 0x0000aaaaccbf1a68 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111a68) #86 0x0000aaaaccbf2188 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112188) #87 0x0000aaaaccbfd648 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d648) #88 0x0000aaaaccbfcf08 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf08) #89 0x0000aaaaccbe9c28 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109c28) #90 0x0000ffff8f9b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff8f9b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaaccb3ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-33-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/30/45 (19236 of 19719) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/30/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-30-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=30 /builddir/build/BUILD/clang-17.0.6.src/aarch64-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 (4 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 (3 ms) [----------] 1 test from RangeSetCastToNoopTest/2 (3 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 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/4 [ OK ] SValTests/SValTest.GetCompoundType/4 (3 ms) [ RUN ] SValTests/SValTest.GetThisType/7 #0 0x0000ffffae9cad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffffae9c9148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffffae9cb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffb79847e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffb6c80e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb6c80e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb6c80e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb6c80e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb6c80e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb6c80e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb6c80e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb6c80e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb692e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb692e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb692e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb692e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb692eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb692eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb692eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb692eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb6941aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb6941aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb6941aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb6942ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb6942ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb6942ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb69424c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb69424c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb69424c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb694eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb694eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb694eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb6958484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb6958484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb6958484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb68bc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb68bc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb68bc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb68bc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb68bcec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb68bcec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb68bcec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb6890400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb6890400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb6890400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb68cce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb68cce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb68cce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffb68eae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb68eae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb68eae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb6bb52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb6bb52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb6bb52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb6bb52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb6bb52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb6bb6278 llvm::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 0x0000ffffb6bb6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb6bb6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb6bba900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb6bba900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb6bba900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb6bba900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb6bba900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb5011b88 __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 0x0000ffffb5011b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb5011b88 void clang::finalize>, 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 0x0000ffffb5011b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb66d5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb668d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb668d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb668d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb683b3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffffb683b3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffffb683b3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffffb683b3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffffb6839b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffffb683a748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffffb683accc clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffffb683b000 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaad5ece7a8 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaad5ece7a8 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaad5ece7a8 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaad5ece7a8 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 #84 0x0000aaaad5ef04f8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1104f8) #85 0x0000aaaad5ef1a68 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111a68) #86 0x0000aaaad5ef2188 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112188) #87 0x0000aaaad5efd648 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d648) #88 0x0000aaaad5efcf08 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf08) #89 0x0000aaaad5ee9c28 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109c28) #90 0x0000ffffadc1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffadc10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaad5e3ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-30-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/23/45 (19239 of 19719) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/23/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-23-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=23 /builddir/build/BUILD/clang-17.0.6.src/aarch64-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 (3 ms) [----------] 1 test from RangeSetTest/7 (3 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 (3 ms) [----------] 1 test from CallDescription (3 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetLocAsIntType/15 [ OK ] SValTests/SValTest.GetLocAsIntType/15 (3 ms) [ RUN ] SValTests/SValTest.GetPointerType/18 [ OK ] SValTests/SValTest.GetPointerType/18 (3 ms) [ RUN ] SValTests/SValTest.GetThisType/0 #0 0x0000ffff83edad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff83ed9148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffff83edb408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffff8ce987e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffff8c190e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8c190e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8c190e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8c190e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8c190e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8c190e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8c190e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8c190e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8be3e018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8be3e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8be3e018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8be3e018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8be3eef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8be3eef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8be3eef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8be3eef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8be51aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8be51aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8be51aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8be52ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8be52ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8be52ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8be524c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8be524c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8be524c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8be5eb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8be5eb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8be5eb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8be68484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8be68484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8be68484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8bdcc9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8bdcc9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8bdcc9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8bdcc9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8bdccec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8bdccec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8bdccec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8bda0400 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8bda0400 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8bda0400 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8bddce5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8bddce5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8bddce5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff8bdfae58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8bdfae58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8bdfae58 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8c0c52fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8c0c52fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8c0c52fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8c0c52fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8c0c52fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff8c0c6278 llvm::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 0x0000ffff8c0c6278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff8c0c6278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8c0ca900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8c0ca900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8c0ca900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8c0ca900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8c0ca900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff8a521b88 __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 0x0000ffff8a521b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff8a521b88 void clang::finalize>, 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 0x0000ffff8a521b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff8bbe5600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8bb9d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8bb9d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8bb9d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8bd4b3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffff8bd4b3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffff8bd4b3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffff8bd4b3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffff8bd49b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffff8bd4a748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffff8bd4accc clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffff8bd4b000 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaac888e7a8 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaac888e7a8 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaac888e7a8 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaac888e7a8 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 #84 0x0000aaaac88b04f8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1104f8) #85 0x0000aaaac88b1a68 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111a68) #86 0x0000aaaac88b2188 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112188) #87 0x0000aaaac88bd648 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d648) #88 0x0000aaaac88bcf08 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf08) #89 0x0000aaaac88a9c28 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109c28) #90 0x0000ffff8312098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff83120a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaac87fff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-23-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/9/45 (19263 of 19719) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/9/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-9-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=9 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 10 of 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 (3 ms) [----------] 1 test from RangeSetTest/0 (3 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 0x0000ffff9b36ad54 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9cad54) #1 0x0000ffff9b369148 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9c9148) #2 0x0000ffff9b36b408 (/usr/lib64/libLLVM-17.so+0x9cb408) #3 0x0000ffffa43227e0 (linux-vdso.so.1+0x7e0) #4 0x0000ffffa3620e98 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa3620e98 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa3620e98 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa3620e98 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa3620e98 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa3620e98 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa3620e98 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa3620e98 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa32ce018 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa32ce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa32ce018 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa32ce018 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa32ceef8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa32ceef8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa32ceef8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa32ceef8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa32e1aa0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa32e1aa0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa32e1aa0 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa32e2ff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa32e2ff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa32e2ff0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa32e24c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa32e24c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa32e24c0 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa32eeb80 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa32eeb80 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa32eeb80 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa32f8484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa32f8484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa32f8484 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa325c9fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa325c9fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa325c9fc operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa325c9fc std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa325cec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa325cec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa325cec8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa3286f48 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffa3286f48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffa3286f48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffa3286f48 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffa3286f48 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffa328735c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffa328735c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffa328735c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffa328735c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffa328735c 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 0x0000ffffa328a5dc clang::ento::ExprEngine::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 0x0000ffffa328a6c0 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 0x0000ffffa328a98c clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffa328ab14 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffa328ab14 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffa328ab14 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffa328ab14 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffa328ab14 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffffa35552fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffa35552fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffa35552fc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffa35552fc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffa35552fc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffa3556278 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffffa3556278 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffa3556278 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffa355a900 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffa355a900 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffa355a900 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffa355a900 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffa355a900 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffa19b1b88 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffffa19b1b88 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffa19b1b88 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffffa19b1b88 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffa3075600 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffa302d524 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffa302d524 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffa302d524 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffa31db3f4 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #82 0x0000ffffa31db3f4 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #83 0x0000ffffa31db3f4 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #84 0x0000ffffa31db3f4 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #85 0x0000ffffa31d9b98 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #86 0x0000ffffa31da748 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #87 0x0000ffffa31daccc clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #88 0x0000ffffa31db000 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #89 0x0000ffffa31db1a0 clang::tooling::runToolOnCode(std::unique_ptr>, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:179:31 #90 0x0000aaaac38c0a30 runCheckerOnCode /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:121:32 #91 0x0000aaaac38c0a30 clang::ento::(anonymous namespace)::CXXDeallocatorCall_SimpleDestructor_Test::TestBody() /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CallEventTest.cpp:75:3 #92 0x0000aaaac39404f8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1104f8) #93 0x0000aaaac3941a68 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111a68) #94 0x0000aaaac3942188 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112188) #95 0x0000aaaac394d648 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d648) #96 0x0000aaaac394cf08 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf08) #97 0x0000aaaac3939c28 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109c28) #98 0x0000ffff9a5b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #99 0x0000ffff9a5b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #100 0x0000aaaac388ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-33724-9-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (661): Clang :: Analysis/CFContainers.mm Clang :: Analysis/CFNumber.c Clang :: Analysis/CFRetainRelease_NSAssertionHandler.m Clang :: Analysis/CGColorSpace.c Clang :: Analysis/CheckNSError.m Clang :: Analysis/CheckThatArraySubsciptNodeIsNotCollected.cpp Clang :: Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m Clang :: Analysis/DeallocMissingRelease.m Clang :: Analysis/DeallocUseAfterFreeErrors.m Clang :: Analysis/DeleteWithNonVirtualDtor.cpp Clang :: Analysis/DynamicTypePropagation.m Clang :: Analysis/Issue56873.cpp Clang :: Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp Clang :: Analysis/Malloc+MismatchedDeallocator_intersections.cpp Clang :: Analysis/MemRegion.cpp Clang :: Analysis/MismatchedDeallocator-checker-test.mm Clang :: Analysis/MismatchedDeallocator-path-notes.cpp Clang :: Analysis/MissingDealloc.m Clang :: Analysis/NSContainers.m Clang :: Analysis/NSPanel.m Clang :: Analysis/NSString.m Clang :: Analysis/NSWindow.m Clang :: Analysis/NewDelete+MismatchedDeallocator_intersections.cpp Clang :: Analysis/NewDelete-atomics.cpp Clang :: Analysis/NewDelete-checker-test.cpp Clang :: Analysis/NewDelete-custom.cpp Clang :: Analysis/NewDelete-intersections.mm Clang :: Analysis/NewDelete-path-notes.cpp Clang :: Analysis/NewDelete-sized-deallocation.cpp Clang :: Analysis/NewDelete-variadic.cpp Clang :: Analysis/NewDeleteLeaks-PR18394.cpp Clang :: Analysis/NewDeleteLeaks-PR19102.cpp Clang :: Analysis/NewDeleteLeaks.cpp Clang :: Analysis/NoReturn.m Clang :: Analysis/OSAtomic_mac.cpp Clang :: Analysis/ObjCProperties.m Clang :: Analysis/ObjCRetSigs.m Clang :: Analysis/PR24184.cpp Clang :: Analysis/PR2978.m Clang :: Analysis/PR35418.cpp Clang :: Analysis/PR3991.m Clang :: Analysis/PR46264.cpp Clang :: Analysis/PR47511.cpp Clang :: Analysis/PR49490.cpp Clang :: Analysis/PR49642.c Clang :: Analysis/PR50268.c Clang :: Analysis/PR60412.cpp Clang :: Analysis/SpecialFunctionsCFError.cpp Clang :: Analysis/UserNullabilityAnnotations.m Clang :: Analysis/a_flaky_crash.cpp Clang :: Analysis/additive-folding-range-constraints.c Clang :: Analysis/additive-folding.cpp Clang :: Analysis/additive-op-on-sym-int-expr.c Clang :: Analysis/analysis-after-multiple-dtors.cpp Clang :: Analysis/analyzeOneFunction.m Clang :: Analysis/analyzer-stats.c Clang :: Analysis/array-bound-v2-constraint-check.c Clang :: Analysis/array-init-loop.cpp Clang :: Analysis/array-punned-region.c Clang :: Analysis/array-struct-region.c Clang :: Analysis/array-struct-region.cpp Clang :: Analysis/array-struct.c Clang :: Analysis/assume-controlled-environment.c Clang :: Analysis/atomics.c Clang :: Analysis/autoreleasewritechecker_test.m Clang :: Analysis/base-init.cpp Clang :: Analysis/bitwise-ops-nocrash.c Clang :: Analysis/bitwise-ops.c Clang :: Analysis/block-in-critical-section.cpp Clang :: Analysis/block-in-critical-section.m Clang :: Analysis/blocks-no-inline.c Clang :: Analysis/blocks.m Clang :: Analysis/blocks.mm Clang :: Analysis/bool-assignment.c Clang :: Analysis/bsd-string.c Clang :: Analysis/bstring.c Clang :: Analysis/bstring.cpp Clang :: Analysis/bstring_UninitRead.c Clang :: Analysis/bug_hash_test.cpp Clang :: Analysis/bug_hash_test.m Clang :: Analysis/builtin-functions.cpp Clang :: Analysis/c11lock.c Clang :: Analysis/call-and-message.cpp Clang :: Analysis/call-and-message.m Clang :: Analysis/call-invalidation.cpp Clang :: Analysis/call_once.cpp Clang :: Analysis/cast-to-struct.cpp Clang :: Analysis/cast-value-logic.cpp Clang :: Analysis/cast-value-notes.cpp Clang :: Analysis/cast-value-state-dump.cpp Clang :: Analysis/casts.c Clang :: Analysis/casts.cpp Clang :: Analysis/casts.m Clang :: Analysis/cert/env31-c.c Clang :: Analysis/cert/env34-c-cert-examples.c Clang :: Analysis/cert/env34-c.c Clang :: Analysis/cert/pos34-c-fp-suppression.cpp Clang :: Analysis/cert/pos34-c.cpp Clang :: Analysis/cfref_PR2519.c Clang :: Analysis/cfref_rdar6080742.c Clang :: Analysis/class-object-state-dump.m Clang :: Analysis/comparison-implicit-casts.cpp Clang :: Analysis/complex.c Clang :: Analysis/conditional-operator.cpp Clang :: Analysis/conditional-path-notes.c Clang :: Analysis/const-method-call.cpp Clang :: Analysis/constant-folding-crash.cpp Clang :: Analysis/constant-folding.c Clang :: Analysis/constraint-assignor.c Clang :: Analysis/constraint_manager_conditions.cpp Clang :: Analysis/constraint_manager_negate.c Clang :: Analysis/constraint_manager_negate_difference.c Clang :: Analysis/container-modeling.cpp Clang :: Analysis/conversion-tracking-notes.c Clang :: Analysis/conversion.c Clang :: Analysis/conversion.cpp Clang :: Analysis/copy-elision.cpp Clang :: Analysis/copy-elision.mm Clang :: Analysis/copypaste/asm.cpp Clang :: Analysis/copypaste/attributes.cpp Clang :: Analysis/copypaste/autogenerated_automoc.cpp Clang :: Analysis/copypaste/call.cpp Clang :: Analysis/copypaste/catch.cpp Clang :: Analysis/copypaste/clone-begin-end-different-file.cpp Clang :: Analysis/copypaste/dbus_autogenerated.cpp Clang :: Analysis/copypaste/delete.cpp Clang :: Analysis/copypaste/dependent-exist.cpp Clang :: Analysis/copypaste/expr-types.cpp Clang :: Analysis/copypaste/functions.cpp Clang :: Analysis/copypaste/generic.c Clang :: Analysis/copypaste/labels.cpp Clang :: Analysis/copypaste/lambda.cpp Clang :: Analysis/copypaste/macro-complexity.cpp Clang :: Analysis/copypaste/moc_autogenerated.cpp Clang :: Analysis/copypaste/not-autogenerated.cpp Clang :: Analysis/copypaste/objc-methods.m Clang :: Analysis/copypaste/plist-diagnostics-notes-as-events.cpp Clang :: Analysis/copypaste/plist-diagnostics.cpp Clang :: Analysis/copypaste/sub-sequences.cpp Clang :: Analysis/copypaste/suspicious-clones.cpp Clang :: Analysis/copypaste/text-diagnostics.cpp Clang :: Analysis/copypaste/ui_autogenerated.cpp Clang :: Analysis/coverage.c Clang :: Analysis/cstring-plist.c Clang :: Analysis/cstring-syntax-cxx.cpp Clang :: Analysis/cstring-syntax-weird.c Clang :: Analysis/cstring-syntax-weird2.c Clang :: Analysis/cstring-syntax.c Clang :: Analysis/ctor-array.cpp Clang :: Analysis/ctor-bug-path.cpp Clang :: Analysis/ctor-trivial-copy.cpp Clang :: Analysis/ctor.mm Clang :: Analysis/ctu-implicit.c Clang :: Analysis/ctu-main.c Clang :: Analysis/ctu-main.cpp Clang :: Analysis/ctu-on-demand-parsing.c Clang :: Analysis/ctu-on-demand-parsing.cpp Clang :: Analysis/ctu-onego-indirect.cpp Clang :: Analysis/ctu-onego-small.cpp Clang :: Analysis/ctu-onego-toplevel.cpp Clang :: Analysis/cxx-crashes.cpp Clang :: Analysis/cxx-dynamic-memory-analysis-order.cpp Clang :: Analysis/cxx-for-range.cpp Clang :: Analysis/cxx-inherited-ctor-init-expr.cpp Clang :: Analysis/cxx-inherited-ctor-is-skipped-as-top-level.cpp Clang :: Analysis/cxx-member-initializer-const-field.cpp Clang :: Analysis/cxx-method-names.cpp Clang :: Analysis/cxx-uninitialized-object-inheritance.cpp Clang :: Analysis/cxx-uninitialized-object-no-dereference.cpp Clang :: Analysis/cxx-uninitialized-object-notes-as-warnings.cpp Clang :: Analysis/cxx-uninitialized-object-ptr-ref.cpp Clang :: Analysis/cxx-uninitialized-object-unguarded-access.cpp Clang :: Analysis/cxx-uninitialized-object-unionlike-constructs.cpp Clang :: Analysis/cxx-uninitialized-object.cpp Clang :: Analysis/cxxctr-array-evalcall-analysis-order.cpp Clang :: Analysis/cxxctr-evalcall-analysis-order.cpp Clang :: Analysis/cxxnewexpr-callback.cpp Clang :: Analysis/dead-stores.c Clang :: Analysis/dead-stores.m Clang :: Analysis/debug-container-modeling.cpp Clang :: Analysis/debug-exprinspection-istainted.c Clang :: Analysis/debug-iterator-modeling.cpp Clang :: Analysis/delegates.m Clang :: Analysis/derived-to-base.cpp Clang :: Analysis/diagnostics/deref-track-symbolic-region.c Clang :: Analysis/diagnostics/deref-track-symbolic-region.cpp Clang :: Analysis/diagnostics/dtors.cpp Clang :: Analysis/diagnostics/explicit-suppression.cpp Clang :: Analysis/diagnostics/false-positive-suppression.c Clang :: Analysis/diagnostics/find_last_store.c Clang :: Analysis/diagnostics/implicit-cxx-std-suppression.cpp Clang :: Analysis/diagnostics/initializer.cpp Clang :: Analysis/diagnostics/invalid-srcloc-fix.cpp Clang :: Analysis/diagnostics/macro-null-return-suppression.cpp Clang :: Analysis/diagnostics/macros.cpp Clang :: Analysis/diagnostics/macros.m Clang :: Analysis/diagnostics/no-store-func-path-notes.c Clang :: Analysis/diagnostics/no-store-func-path-notes.cpp Clang :: Analysis/diagnostics/no-store-func-path-notes.m Clang :: Analysis/diagnostics/plist-diagnostics-include-check.cpp Clang :: Analysis/diagnostics/report-issues-within-main-file.cpp Clang :: Analysis/diagnostics/sarif-diagnostics-taint-test.c Clang :: Analysis/diagnostics/sarif-multi-diagnostic-test.c Clang :: Analysis/diagnostics/text-diagnostics.c Clang :: Analysis/diagnostics/track_subexpressions.cpp Clang :: Analysis/diagnostics/undef-value-param.c Clang :: Analysis/diagnostics/undef-value-param.m Clang :: Analysis/dispatch-once.m Clang :: Analysis/div-zero.cpp Clang :: Analysis/division-by-zero-track-zero.c Clang :: Analysis/division-by-zero-track-zero.cpp Clang :: Analysis/division-by-zero.c Clang :: Analysis/double-ranges-bug.c Clang :: Analysis/dtor-array.cpp Clang :: Analysis/dtor-cxx11.cpp Clang :: Analysis/dtor.cpp Clang :: Analysis/dump_egraph.cpp Clang :: Analysis/dynamic-cast.cpp Clang :: Analysis/edges-new.mm Clang :: Analysis/end-function-return-stmt.cpp Clang :: Analysis/engine/replay-without-inlining.c Clang :: Analysis/enum-cast-out-of-range.cpp Clang :: Analysis/enum.cpp Clang :: Analysis/equality_tracking.c Clang :: Analysis/errno-notes.c Clang :: Analysis/errno-options.c Clang :: Analysis/errno-stdlibraryfunctions-notes.c Clang :: Analysis/errno-stdlibraryfunctions.c Clang :: Analysis/errno.c Clang :: Analysis/eval-predefined-exprs.cpp Clang :: Analysis/exceptions.mm Clang :: Analysis/exercise-ps.c Clang :: Analysis/explain-svals.c Clang :: Analysis/explain-svals.cpp Clang :: Analysis/explain-svals.m Clang :: Analysis/exploded-graph-rewriter/dynamic_types.cpp Clang :: Analysis/exploded-graph-rewriter/initializers_under_construction.cpp Clang :: Analysis/exploded-graph-rewriter/objects_under_construction.cpp Clang :: Analysis/exploration_order/noexprcrash.c Clang :: Analysis/exploration_order/prefer_unexplored.cpp Clang :: Analysis/expr-inspection-printState-diseq-info.c Clang :: Analysis/expr-inspection-printState-eq-classes.c Clang :: Analysis/expr-inspection.c Clang :: Analysis/expr-inspection.cpp Clang :: Analysis/fields.c Clang :: Analysis/find-binop-constraints.cpp Clang :: Analysis/flexible-array-member.cpp Clang :: Analysis/flexible-array-members.c Clang :: Analysis/free.c Clang :: Analysis/free.cpp Clang :: Analysis/fuchsia_handle.cpp Clang :: Analysis/fuchsia_lock.c Clang :: Analysis/fuchsia_lock_impl.c Clang :: Analysis/func.c Clang :: Analysis/gcdantipatternchecker_test.m Clang :: Analysis/generics.m Clang :: Analysis/global-region-invalidation-errno.c Clang :: Analysis/global-region-invalidation.c Clang :: Analysis/global_region_invalidation.mm Clang :: Analysis/globals-are-not-always-immutable.c Clang :: Analysis/globals.cpp Clang :: Analysis/gmalloc.c Clang :: Analysis/gtest.cpp Clang :: Analysis/handle_constructors_for_default_arguments.cpp Clang :: Analysis/handle_constructors_with_new_array.cpp Clang :: Analysis/hangs.c Clang :: Analysis/html_diagnostics/control-arrows.cpp Clang :: Analysis/html_diagnostics/relevant_lines/goto.c Clang :: Analysis/html_diagnostics/relevant_lines/macros_same_file.c Clang :: Analysis/html_diagnostics/relevant_lines/multifile.c Clang :: Analysis/html_diagnostics/relevant_lines/multiline_func_def.c Clang :: Analysis/html_diagnostics/relevant_lines/objcmethods.m Clang :: Analysis/html_diagnostics/relevant_lines/simple_conditional.c Clang :: Analysis/html_diagnostics/relevant_lines/switch.c Clang :: Analysis/html_diagnostics/relevant_lines/switch_default.c Clang :: Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp Clang :: Analysis/html_diagnostics/relevant_lines/unused_header.c Clang :: Analysis/identical-expressions.cpp Clang :: Analysis/implicit-ctor-undef-value.cpp Clang :: Analysis/incorrect-checker-names.mm Clang :: Analysis/infeasible-crash.c Clang :: Analysis/infeasible-sink.c Clang :: Analysis/initializer.cpp Clang :: Analysis/inline-not-supported.c Clang :: Analysis/inline-plist.c Clang :: Analysis/inline.cpp Clang :: Analysis/inline3.c Clang :: Analysis/inline4.c Clang :: Analysis/inlining/DynDispatchBifurcate.m Clang :: Analysis/inlining/InlineObjCClassMethod.m Clang :: Analysis/inlining/InlineObjCInstanceMethod.m Clang :: Analysis/inlining/ObjCDynTypePopagation.m Clang :: Analysis/inlining/ObjCImproperDynamictallyDetectableCast.m Clang :: Analysis/inlining/RetainCountExamples.m Clang :: Analysis/inlining/assume-super-init-does-not-return-nil.m Clang :: Analysis/inlining/containers.cpp Clang :: Analysis/inlining/dyn-dispatch-bifurcate.cpp Clang :: Analysis/inlining/false-positive-suppression.c Clang :: Analysis/inlining/false-positive-suppression.cpp Clang :: Analysis/inlining/false-positive-suppression.m Clang :: Analysis/inlining/inline-defensive-checks.c Clang :: Analysis/inlining/inline-defensive-checks.cpp Clang :: Analysis/inlining/inline-defensive-checks.m Clang :: Analysis/inlining/path-notes.c Clang :: Analysis/inlining/path-notes.cpp Clang :: Analysis/inlining/path-notes.m Clang :: Analysis/inlining/placement-new-fp-suppression.cpp Clang :: Analysis/inlining/retain-count-self-init.m Clang :: Analysis/inlining/stl.cpp Clang :: Analysis/inlining/temp-dtors-path-notes.cpp Clang :: Analysis/inlining/test_objc_inlining_option.m Clang :: Analysis/inner-pointer.cpp Clang :: Analysis/invalidated-iterator.cpp Clang :: Analysis/issue-55019.cpp Clang :: Analysis/iterator-modeling.cpp Clang :: Analysis/iterator-range.cpp Clang :: Analysis/ivars.m Clang :: Analysis/keychainAPI-diagnostic-visitor.m Clang :: Analysis/keychainAPI.m Clang :: Analysis/kmalloc-linux.c Clang :: Analysis/lambdas-generalized-capture.cpp Clang :: Analysis/lambdas-modern.cpp Clang :: Analysis/lambdas.cpp Clang :: Analysis/lambdas.mm Clang :: Analysis/left-shift-cxx2a.cpp Clang :: Analysis/lifetime-extended-regions.cpp Clang :: Analysis/lifetime-extension.cpp Clang :: Analysis/lifetime-extension.mm Clang :: Analysis/live-bindings-test.cpp Clang :: Analysis/live-variables.cpp Clang :: Analysis/live-variables.m Clang :: Analysis/llvm-conventions.cpp Clang :: Analysis/localization-aggressive.m Clang :: Analysis/localization.m Clang :: Analysis/logical-ops.c Clang :: Analysis/loop-unrolling.cpp Clang :: Analysis/loop-widening-notes.cpp Clang :: Analysis/loop-widening-preserve-reference-type.cpp Clang :: Analysis/loop-widening.c Clang :: Analysis/loop-widening.cpp Clang :: Analysis/main.c Clang :: Analysis/main.cpp Clang :: Analysis/malloc-annotations.c Clang :: Analysis/malloc-annotations.cpp Clang :: Analysis/malloc-bodyfarms.c Clang :: Analysis/malloc-bodyfarms.cpp Clang :: Analysis/malloc-fnptr-plist.c Clang :: Analysis/malloc-free-after-return.cpp Clang :: Analysis/malloc-interprocedural.c Clang :: Analysis/malloc-overflow2.c Clang :: Analysis/malloc-plist.c Clang :: Analysis/malloc-static-storage.cpp Clang :: Analysis/malloc.c Clang :: Analysis/malloc.cpp Clang :: Analysis/malloc.m Clang :: Analysis/malloc.mm Clang :: Analysis/max-nodes-suppress-on-sink.c Clang :: Analysis/max-nodes-suppress-on-sink.cpp Clang :: Analysis/member-expr.cpp Clang :: Analysis/memory-model.cpp Clang :: Analysis/method-call-intra-p.cpp Clang :: Analysis/method-call-path-notes.cpp Clang :: Analysis/method-call.cpp Clang :: Analysis/mig.mm Clang :: Analysis/misc-ps-64.m Clang :: Analysis/misc-ps-cxx0x.cpp Clang :: Analysis/misc-ps-eager-assume.m Clang :: Analysis/misc-ps-ranges.m Clang :: Analysis/misc-ps-region-store.cpp Clang :: Analysis/misc-ps-region-store.m Clang :: Analysis/misc-ps-region-store.mm Clang :: Analysis/misc-ps.c Clang :: Analysis/misc-ps.m Clang :: Analysis/mismatched-iterator.cpp Clang :: Analysis/missing-bind-temporary.cpp Clang :: Analysis/model-file.cpp Clang :: Analysis/mpichecker.cpp Clang :: Analysis/mpicheckernotes.cpp Clang :: Analysis/mutually_exclusive_null_fp.cpp Clang :: Analysis/new-aligned.cpp Clang :: Analysis/new-ctor-conservative.cpp Clang :: Analysis/new-ctor-inlined.cpp Clang :: Analysis/new-ctor-malloc.cpp Clang :: Analysis/new-ctor-null-throw.cpp Clang :: Analysis/new-ctor-null.cpp Clang :: Analysis/new-ctor-recursive.cpp Clang :: Analysis/new-ctor-symbolic.cpp Clang :: Analysis/new-dynamic-types.cpp Clang :: Analysis/new-with-exceptions.cpp Clang :: Analysis/new.cpp Clang :: Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m Clang :: Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m Clang :: Analysis/no-exit-cfg.c Clang :: Analysis/no-outofbounds.c Clang :: Analysis/no-return.c Clang :: Analysis/no-store-suppression.cpp Clang :: Analysis/no-unreachable-dtors.cpp Clang :: Analysis/non-diagnosable-assumptions.c Clang :: Analysis/nonnull-global-constants.mm Clang :: Analysis/nonnull.cpp Clang :: Analysis/nonnull.m Clang :: Analysis/nonnullparamchecker-crash.cpp Clang :: Analysis/novoidtypecrash.c Clang :: Analysis/null-deref-offsets.c Clang :: Analysis/null-deref-path-notes.cpp Clang :: Analysis/null-deref-path-notes.m Clang :: Analysis/null-deref-ps-region.c Clang :: Analysis/null-deref-ps.c Clang :: Analysis/null-deref-static.m Clang :: Analysis/nullability-arc.mm Clang :: Analysis/nullability-no-arc.mm Clang :: Analysis/nullability-notes.m Clang :: Analysis/nullability.mm Clang :: Analysis/nullability_nullonly.mm Clang :: Analysis/nullptr.cpp Clang :: Analysis/objc-arc.m Clang :: Analysis/objc-boxing.m Clang :: Analysis/objc-for.m Clang :: Analysis/objc-indirect-copy-restore.m Clang :: Analysis/objc-live-crash.mm Clang :: Analysis/objc-message.m Clang :: Analysis/objc-radar17039661.m Clang :: Analysis/objc-subscript.m Clang :: Analysis/objc/direct-ivar-assignment-in-annotated-functions.m Clang :: Analysis/objc_invalidation.m Clang :: Analysis/objcpp-uninitialized-object.mm Clang :: Analysis/operator-calls.cpp Clang :: Analysis/osobject-retain-release.cpp Clang :: Analysis/out-of-bounds-new.cpp Clang :: Analysis/out-of-bounds.c Clang :: Analysis/outofbound.c Clang :: Analysis/override-werror.c Clang :: Analysis/path-notes-impl-param.m Clang :: Analysis/placement-new-user-defined.cpp Clang :: Analysis/placement-new.cpp Clang :: Analysis/plist-diagnostics-template-function.cpp Clang :: Analysis/plist-diagnostics-template-record.cpp Clang :: Analysis/plist-html-macros.c Clang :: Analysis/plist-macros.cpp Clang :: Analysis/plist-output-alternate.m Clang :: Analysis/plist-output.m Clang :: Analysis/pointer-to-member.cpp Clang :: Analysis/pr22954.c Clang :: Analysis/pr37802.cpp Clang :: Analysis/pr4209.m Clang :: Analysis/pr_2542_rdar_6793404.m Clang :: Analysis/pr_4164.c Clang :: Analysis/print-ranges.cpp Clang :: Analysis/properties.m Clang :: Analysis/properties.mm Clang :: Analysis/pthreadlock.c Clang :: Analysis/pthreadlock_state.c Clang :: Analysis/pthreadlock_state_nottracked.c Clang :: Analysis/ptr-arith.c Clang :: Analysis/ptr-arith.cpp Clang :: Analysis/ptr-cmp-const-trunc.cl Clang :: Analysis/ptr-iter.cpp Clang :: Analysis/ptr-sort.cpp Clang :: Analysis/qt_malloc.cpp Clang :: Analysis/range_casts.c Clang :: Analysis/rdar-6442306-1.m Clang :: Analysis/rdar-6540084.m Clang :: Analysis/rdar-6562655.m Clang :: Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m Clang :: Analysis/rdar-7168531.m Clang :: Analysis/redefined_system.c Clang :: Analysis/refcnt_naming.m Clang :: Analysis/reference.cpp Clang :: Analysis/region-1.m Clang :: Analysis/region-store.c Clang :: Analysis/region-store.cpp Clang :: Analysis/region_store_overflow.c Clang :: Analysis/reinterpret-cast-pointer-to-member.cpp Clang :: Analysis/reinterpret-cast.cpp Clang :: Analysis/retain-count-alloc.cpp Clang :: Analysis/retain-release-arc.m Clang :: Analysis/retain-release-cache-out.m Clang :: Analysis/retain-release-cf-audited.m Clang :: Analysis/retain-release-compound-literal.m Clang :: Analysis/retain-release-cpp-classes.cpp Clang :: Analysis/retain-release-inline.m Clang :: Analysis/retain-release-path-notes.m Clang :: Analysis/retain-release-region-store.m Clang :: Analysis/retain-release-safe.c Clang :: Analysis/retain-release.m Clang :: Analysis/retain-release.mm Clang :: Analysis/retaincountchecker-compoundregion.m Clang :: Analysis/return-ptr-range.cpp Clang :: Analysis/return-stmt-merge.cpp Clang :: Analysis/return-value-guaranteed.cpp Clang :: Analysis/returns_nonnull-attribute.cpp Clang :: Analysis/runtime-regression.c Clang :: Analysis/rvo.cpp Clang :: Analysis/scan-build/exclude_directories.test Clang :: Analysis/scan-build/silence-core-checkers.test Clang :: Analysis/self-assign.cpp Clang :: Analysis/self-init.m Clang :: Analysis/shallow-mode.m Clang :: Analysis/silence-checkers-and-packages-core-all.cpp Clang :: Analysis/silence-checkers-and-packages-core-div-by-zero.cpp Clang :: Analysis/silence-checkers.cpp Clang :: Analysis/simple-stream-checks.c Clang :: Analysis/smart-ptr-text-output.cpp Clang :: Analysis/smart-ptr.cpp Clang :: Analysis/solver-sym-simplification-adjustment.c Clang :: Analysis/solver-sym-simplification-concreteint.c Clang :: Analysis/solver-sym-simplification-no-crash.c Clang :: Analysis/solver-sym-simplification-no-crash2.c Clang :: Analysis/solver-sym-simplification-ptr-bool.cl Clang :: Analysis/solver-sym-simplification-with-proper-range-type.c Clang :: Analysis/stack-addr-ps.c Clang :: Analysis/stack-addr-ps.cpp Clang :: Analysis/stack-capture-leak-arc.mm Clang :: Analysis/stack-capture-leak-no-arc.mm Clang :: Analysis/stack-frame-context-revision.cpp Clang :: Analysis/stackaddrleak.c Clang :: Analysis/static_local.m Clang :: Analysis/std-c-library-functions-arg-constraints-note-tags.cpp Clang :: Analysis/std-c-library-functions-arg-constraints-notes.cpp Clang :: Analysis/std-c-library-functions-arg-constraints.c Clang :: Analysis/std-c-library-functions-arg-cstring-dependency.c Clang :: Analysis/std-c-library-functions-eof.c Clang :: Analysis/std-c-library-functions-inlined.c Clang :: Analysis/std-c-library-functions-path-notes.c Clang :: Analysis/std-c-library-functions-vs-stream-checker.c Clang :: Analysis/std-c-library-functions.c Clang :: Analysis/std-c-library-functions.cpp Clang :: Analysis/std-c-library-posix-crash.c Clang :: Analysis/std-string.cpp Clang :: Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp Clang :: Analysis/stl-algorithm-modeling.cpp Clang :: Analysis/stream-errno-note.c Clang :: Analysis/stream-errno.c Clang :: Analysis/stream-error.c Clang :: Analysis/stream-noopen.c Clang :: Analysis/stream-note.c Clang :: Analysis/stream-stdlibraryfunctionargs.c Clang :: Analysis/stream.c Clang :: Analysis/stream.cpp Clang :: Analysis/string-with-signedness.c Clang :: Analysis/string.c Clang :: Analysis/string.cpp Clang :: Analysis/structured_bindings.cpp Clang :: Analysis/svalbuilder-casts.cpp Clang :: Analysis/svalbuilder-float-cast.c Clang :: Analysis/svalbuilder-logic.c Clang :: Analysis/svalbuilder-rearrange-comparisons.cpp Clang :: Analysis/svalbuilder-simplify-compound-svals.cpp Clang :: Analysis/svalbuilder-simplify-in-evalbinop.cpp Clang :: Analysis/svalbuilder-simplify-intsym.cpp Clang :: Analysis/svalbuilder-simplify-no-crash.c Clang :: Analysis/switch-case.c Clang :: Analysis/symbol-escape.cpp Clang :: Analysis/symbol-reaper-lambda.cpp Clang :: Analysis/symbol-reaper.c Clang :: Analysis/symbol-reaper.cpp Clang :: Analysis/symbol-simplification-assertion.c Clang :: Analysis/symbol-simplification-bo-div.c Clang :: Analysis/symbol-simplification-disequality-info.cpp Clang :: Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp Clang :: Analysis/symbol-simplification-fixpoint-one-iteration.cpp Clang :: Analysis/symbol-simplification-fixpoint-two-iterations.cpp Clang :: Analysis/symbol-simplification-nonloc-loc.cpp Clang :: Analysis/symbol-simplification-reassume.cpp Clang :: Analysis/symbol-simplification-symplify-results-in-dead-symbol.cpp Clang :: Analysis/taint-diagnostic-visitor.c Clang :: Analysis/taint-dumps.c Clang :: Analysis/taint-generic.c Clang :: Analysis/taint-generic.cpp Clang :: Analysis/taint-tester.c Clang :: Analysis/taint-tester.cpp Clang :: Analysis/temp-obj-dtors-option.cpp Clang :: Analysis/template-param-objects.cpp Clang :: Analysis/templates.cpp Clang :: Analysis/temporaries-callback-order.cpp Clang :: Analysis/temporaries.cpp Clang :: Analysis/temporaries.mm Clang :: Analysis/test-after-div-zero.c Clang :: Analysis/test-include-cpp.cpp Clang :: Analysis/test-objc-non-nil-return-value-checker.m Clang :: Analysis/test-separate-retaincount.cpp Clang :: Analysis/test-variably-modified-types.c Clang :: Analysis/this-pointer.cpp Clang :: Analysis/track-control-dependency-conditions.cpp Clang :: Analysis/track-control-dependency-conditions.m Clang :: Analysis/traversal-algorithm.mm Clang :: Analysis/traversal-path-unification.c Clang :: Analysis/trivial-copy-struct.cpp Clang :: Analysis/trustnonnullchecker_test.mm Clang :: Analysis/unary-sym-expr-no-crash.c Clang :: Analysis/unary-sym-expr.c Clang :: Analysis/undef-buffers.c Clang :: Analysis/unified-sources/UnifiedSource-1.cpp Clang :: Analysis/unified-sources/source1.cpp Clang :: Analysis/uninit-bug-first-iteration-init.c Clang :: Analysis/uninit-const.c Clang :: Analysis/uninit-const.cpp Clang :: Analysis/uninit-exhaustive-switch-bug.c Clang :: Analysis/uninit-ps-rdar6145427.m Clang :: Analysis/uninit-structured-binding-array.cpp Clang :: Analysis/uninit-structured-binding-struct.cpp Clang :: Analysis/uninit-structured-binding-tuple.cpp Clang :: Analysis/uninit-val-const-likeness.c Clang :: Analysis/uninit-vals.c Clang :: Analysis/uninit-vals.cpp Clang :: Analysis/uninit-vals.m Clang :: Analysis/unions-region.m Clang :: Analysis/unions.cpp Clang :: Analysis/unix-api.c Clang :: Analysis/unix-api.cpp Clang :: Analysis/unix-fns.c Clang :: Analysis/unreachable-code-path.c Clang :: Analysis/use-after-move.cpp Clang :: Analysis/valist-as-lazycompound.c Clang :: Analysis/valist-uninitialized-no-undef.c Clang :: Analysis/valist-uninitialized.c Clang :: Analysis/valist-unterminated.c Clang :: Analysis/variadic-method-types.m Clang :: Analysis/vector.m Clang :: Analysis/vfork.c Clang :: Analysis/virtualcall-fixits.cpp Clang :: Analysis/virtualcall-plist.cpp Clang :: Analysis/virtualcall.cpp Clang :: Analysis/vla-overflow.c Clang :: Analysis/vla.c Clang :: Analysis/weak-functions.c Clang :: Analysis/wstring.c Clang :: Analysis/z3/apsint.c Clang :: Analysis/zero-operands.c Clang :: Analysis/zero-size-non-pod-array.cpp Clang :: 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/1/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: 167.61s Skipped : 37 Unsupported : 162 Passed : 35801 Expectedly Failed: 29 Failed : 661 FAILED: CMakeFiles/check-all /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/CMakeFiles/check-all cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /usr/bin/python3.11 /usr/bin/lit -sv --param USE_Z3_SOLVER=0 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/test /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/test /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/test/../unittests /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/test /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/test /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test ninja: build stopped: subcommand failed. + : + RPM_EC=0 ++ jobs -p + exit 0 Processing files: clang-17.0.6-8.ocs23.aarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.N0z0Ih + umask 022 + cd /builddir/build/BUILD + cd clang-17.0.6.src + LICENSEDIR=/builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/licenses/clang + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/licenses/clang + cp -pr LICENSE.TXT /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/share/licenses/clang + RPM_EC=0 ++ jobs -p + exit 0 warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-17 warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-cl warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-cpp Provides: clang = 17.0.6-8.ocs23 clang(aarch-64) = 17.0.6-8.ocs23 clang(major) = 17 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libLLVM-17.so()(64bit) libLLVM-17.so(LLVM_17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libclang-cpp.so.17()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) rtld(GNU_HASH) Processing files: clang-libs-17.0.6-8.ocs23.aarch64 Provides: clang-libs = 17.0.6-8.ocs23 clang-libs(aarch-64) = 17.0.6-8.ocs23 libclang-cpp.so.17()(64bit) libclang.so.17()(64bit) libclang.so.17(LLVM_13)(64bit) libclang.so.17(LLVM_16)(64bit) libclang.so.17(LLVM_17)(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libLLVM-17.so()(64bit) libLLVM-17.so(LLVM_17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.11)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Recommends: compiler-rt = 17.0.6 libomp = 17.0.6 libomp-devel = 17.0.6 Processing files: clang-devel-17.0.6-8.ocs23.aarch64 Provides: clang-devel = 17.0.6-8.ocs23 clang-devel(aarch-64) = 17.0.6-8.ocs23 cmake(Clang) = 17.0.6 cmake(clang) = 17.0.6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cmake-filesystem(aarch-64) libclang-cpp.so.17()(64bit) libclang.so.17()(64bit) Processing files: clang-resource-filesystem-17.0.6-8.ocs23.aarch64 Provides: clang-resource-filesystem = 17.0.6-8.ocs23 clang-resource-filesystem(aarch-64) = 17.0.6-8.ocs23 clang-resource-filesystem(major) = 17 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: clang-analyzer-17.0.6-8.ocs23.noarch Provides: clang-analyzer = 17.0.6-8.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-8.ocs23.aarch64 warning: absolute symlink: /usr/bin/clang-format-diff -> /usr/share/clang/clang-format-diff.py Provides: clang-tools-extra = 17.0.6-8.ocs23 clang-tools-extra(aarch-64) = 17.0.6-8.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libLLVM-17.so()(64bit) libLLVM-17.so(LLVM_17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libclang-cpp.so.17()(64bit) libclang.so.17()(64bit) libclang.so.17(LLVM_13)(64bit) libclang.so.17(LLVM_16)(64bit) libclang.so.17(LLVM_17)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libm.so.6(GLIBC_2.29)(64bit) libm.so.6(GLIBC_2.38)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.11)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.5.2)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) rtld(GNU_HASH) Processing files: git-clang-format-17.0.6-8.ocs23.aarch64 Provides: git-clang-format = 17.0.6-8.ocs23 git-clang-format(aarch-64) = 17.0.6-8.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-8.ocs23.aarch64 Provides: python-clang = 17.0.6-8.ocs23 python3-clang = 17.0.6-8.ocs23 python3-clang(aarch-64) = 17.0.6-8.ocs23 python3.11-clang = 17.0.6-8.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-8.ocs23 Processing files: clang-debugsource-17.0.6-8.ocs23.aarch64 Provides: clang-debugsource = 17.0.6-8.ocs23 clang-debugsource(aarch-64) = 17.0.6-8.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-8.ocs23.aarch64 warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/debug/usr/bin/clang++-17.0.6-8.ocs23.aarch64.debug and /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/debug/usr/bin/clang-17-17.0.6-8.ocs23.aarch64.debug warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/debug/usr/bin/clang++-17.0.6-8.ocs23.aarch64.debug and /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/debug/usr/bin/clang-cl-17.0.6-8.ocs23.aarch64.debug warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/debug/usr/bin/clang++-17.0.6-8.ocs23.aarch64.debug and /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/debug/usr/bin/clang-cpp-17.0.6-8.ocs23.aarch64.debug Provides: clang-debuginfo = 17.0.6-8.ocs23 clang-debuginfo(aarch-64) = 17.0.6-8.ocs23 debuginfo(build-id) = a18e3728a5da65e2c7850b1c3fae8462e68cf458 debuginfo(build-id) = nilnil Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clang-debugsource(aarch-64) = 17.0.6-8.ocs23 Processing files: clang-libs-debuginfo-17.0.6-8.ocs23.aarch64 Provides: clang-libs-debuginfo = 17.0.6-8.ocs23 clang-libs-debuginfo(aarch-64) = 17.0.6-8.ocs23 debuginfo(build-id) = 78ae29d8108623ba1764a1af5df24f38eba2d630 debuginfo(build-id) = ff2fceff6c4675e915a247f7da096336d7742fa2 libclang-cpp.so.17-17.0.6-8.ocs23.aarch64.debug()(64bit) libclang.so.17.0.6-17.0.6-8.ocs23.aarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clang-debugsource(aarch-64) = 17.0.6-8.ocs23 Processing files: clang-tools-extra-debuginfo-17.0.6-8.ocs23.aarch64 Provides: clang-tools-extra-debuginfo = 17.0.6-8.ocs23 clang-tools-extra-debuginfo(aarch-64) = 17.0.6-8.ocs23 debuginfo(build-id) = 0189b27f21b8c684b7cef42e8e268efe859f5dd0 debuginfo(build-id) = 0317b593f4aab20062fc2a6007ccf38f4d1fe1e1 debuginfo(build-id) = 038c281eae7a080b506c7c19fc83817a27b2e437 debuginfo(build-id) = 0bcd4b0b4f5c2ec53386077c7e88c5903cb3c6c9 debuginfo(build-id) = 14b0de62c68c9e61f7f276a22d429cc55c7357f3 debuginfo(build-id) = 34eb7d46fc17df0f362797280f7acf1df00cc14a debuginfo(build-id) = 4244e3b2e9b9afe2e9d08ba2afadc1b169804dac debuginfo(build-id) = 54e6ca5952b21c7beca6052466fa04cb729f2a62 debuginfo(build-id) = 55b27c19e1cdf6ba5429f43441667fe0d3e54af1 debuginfo(build-id) = 5731628f58a8ec171c6c0576deeec56a1670212a debuginfo(build-id) = 578530d5aac1a38638f9d1ae4a68a451f0be417e debuginfo(build-id) = 585f1251dcc0fa0e92bd383e81153121205b21e8 debuginfo(build-id) = 7118914552c92cc9d5d8727301dfe5c758a5b3b8 debuginfo(build-id) = 881fbb4a8996ccd31c3eb5b95ce1f71011bf24ec debuginfo(build-id) = 946a8e29e10e7af034f7de176543433a3f5409bd debuginfo(build-id) = 95cb714fea98556723cce0e1e3f962d9924e2aea debuginfo(build-id) = 969b144b3bd3184cc5056ace7d71ee4d619d0d48 debuginfo(build-id) = ba326e6bc25dea35f1d687d4f8db3fb72cf297f4 debuginfo(build-id) = bb09da2ec9e84daf4f59456f3a9c5f2564b57a30 debuginfo(build-id) = c2eb3d0b869244853660d1346796556fdfdb56fb debuginfo(build-id) = cff8a86c9be6b1e04ee42e859ad83bf61de5a732 debuginfo(build-id) = d440e3ca89279f1496f0da571330409e8bd52fb9 debuginfo(build-id) = dca11da80113899a49401d1b7746ade78a87cfde debuginfo(build-id) = e5f1eb6af3a95e4ac4c50b43f55326b072eec6be debuginfo(build-id) = eee1e2e487880983415c0b21a20c21b79edf34b0 debuginfo(build-id) = eeee145314e9759d4d43798f5673497b574ec9ed debuginfo(build-id) = f1ac221bf3daf56ff8bf43679cc9d3362c6a593b debuginfo(build-id) = f918db91ca29949c60e4937025833eb7fabc3d24 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clang-debugsource(aarch-64) = 17.0.6-8.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64 Wrote: /builddir/build/RPMS/clang-resource-filesystem-17.0.6-8.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/git-clang-format-17.0.6-8.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/python3-clang-17.0.6-8.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-17.0.6-8.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-analyzer-17.0.6-8.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/clang-devel-17.0.6-8.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-debuginfo-17.0.6-8.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-debugsource-17.0.6-8.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-tools-extra-17.0.6-8.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-libs-17.0.6-8.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-libs-debuginfo-17.0.6-8.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-tools-extra-debuginfo-17.0.6-8.ocs23.aarch64.rpm RPM build warnings: %patchN is deprecated (11 usages found), use %patch N (or %patch -P N) Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-17 Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-cl Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/bin/clang-cpp absolute symlink: /usr/bin/clang-format-diff -> /usr/share/clang/clang-format-diff.py Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/debug/usr/bin/clang++-17.0.6-8.ocs23.aarch64.debug and /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/debug/usr/bin/clang-17-17.0.6-8.ocs23.aarch64.debug Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/debug/usr/bin/clang++-17.0.6-8.ocs23.aarch64.debug and /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/debug/usr/bin/clang-cl-17.0.6-8.ocs23.aarch64.debug Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/debug/usr/bin/clang++-17.0.6-8.ocs23.aarch64.debug and /builddir/build/BUILDROOT/clang-17.0.6-8.ocs23.aarch64/usr/lib/debug/usr/bin/clang-cpp-17.0.6-8.ocs23.aarch64.debug Child return code was: 0